Creates a two-dimensional texture.
The parameters of the texture.
Private
formatThe format of the texel data.
Readonly
glThe rendering context of this texture.
Private
heightThe height of this texture.
Private
internalThe format of the color components in this texture.
Private
lodThe level of detail of this texture.
Protected
needsWhether this texture needs to be updated.
Private
pixelsThe pixel source for this texture.
Readonly
targetThe target binding point of this texture.
Readonly
textureThe WebGL API interface of this texture.
Private
typeThe data type of the components in this texture.
Private
widthThe width of this texture.
The format of the texel data.
The height of this texture.
The format of the color components in this texture.
The level of detail of this texture.
The magnification filter for this texture.
The minification filter for this texture.
The pixel source for this texture.
The data type of the components in this texture.
The width of this texture.
The wrapping function of this texture in the S direction.
The wrapping function of this texture in the T direction.
Protected
updateGenerated using TypeDoc
A two-dimensional texture.