Add power 2 warning

This commit is contained in:
schmelczerandras 2020-10-11 22:55:30 +02:00
commit da89087ae6

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',
}