Add power 2 warning

This commit is contained in:
schmelczerandras 2020-10-11 22:55:30 +02:00
parent d15874611d
commit da89087ae6
2 changed files with 8 additions and 13 deletions

View file

@ -1,6 +1,14 @@
export enum WrapOptions {
CLAMP_TO_EDGE = 'CLAMP_TO_EDGE',
/**
* On WebGL it only work with power of 2 texture sizes.
*/
REPEAT = 'REPEAT',
/**
* On WebGL it only work with power of 2 texture sizes.
*/
MIRRORED_REPEAT = 'MIRRORED_REPEAT',
}