API / geotoolkit / webgl / Texture / Texture
Type Aliases
Type Aliases
Ƭ Attributes: Object
The attributes
| Name | Type | Description |
|---|---|---|
flipy | boolean | whether to flip the texture along the vertical axis |
format | number | GLenum | define the format of texel data |
id | number | texture id |
image | HTMLImageElement | HTMLCanvasElement | ArrayBufferView | pixel source for texture |
magfilter | number | GLenum | define how the texture is sampled when a texel covers more than a pixel |
minfilter | number | GLenum | define how the texture is sampled when a texel covers less than a pixel |
name | string | texture name |
type | number | GLenum | define the data type of texel data |
wraps | number | GLenum | define how the texture is wrapped horizontally in UV mapping |
wrapt | number | GLenum | define how the texture is wrapped vertically in UV mapping |
Ƭ GLenum: number
Ƭ Options: Object
The options for texture
| Name | Type | Description |
|---|---|---|
flipy? | boolean | whether to flip the texture along the vertical axis |
format? | number | GLenum | define the format of texel data |
image? | HTMLImageElement | HTMLCanvasElement | ArrayBufferView | pixel source for texture |
magfilter? | number | GLenum | define how the texture is sampled when a texel covers more than a pixel |
minfilter? | number | GLenum | define how the texture is sampled when a texel covers less than a pixel |
name? | string | texture name |
type? | number | GLenum | define the data type of texel data |
wraps? | number | GLenum | define how the texture is wrapped horizontally in UV mapping |
wrapt? | number | GLenum | define how the texture is wrapped vertically in UV mapping |