- getSampler
The ID of the sampler used by this texture. (required)
- getSource
The ID of the image used by this texture. (required)
- <init>
- setFormat
The texture's format. (optional)
Default: 6408
Valid values: [6406, 6407, 6408, 6409, 6410]
- setInternalFormat
The texture's internal format. (optional)
Default: 6408
Valid values: [6406, 6407, 6408, 6409, 6410]
- setSampler
The ID of the sampler used by this texture. (required)
- setSource
The ID of the image used by this texture. (required)
- setTarget
The target that the WebGL texture should be bound to. (optional)
Default: 3553
Valid values: [3553]
- setType
Texel datatype. (optional)
Default: 5121
Valid values: [5121, 33635, 32819, 32820]