Interface Texture2DParameters

Parameters for 2D textures.

Hierarchy

  • Texture2DParameters

Properties

format?: TextureFormat

The format of the texel data of the texture.

gl: WebGL2RenderingContext

The rendering context of the texture.

height?: number

The height of the texture.

internalFormat?: TextureFormat

The format of the color components in the texture.

lod?: number

The level of detail of the texture.

magFilter?: TextureFilter

The magnification filter for the texture.

minFilter?: TextureFilter

The minification filter for the texture.

The pixel source for the texture.

target?: TextureTarget

The target of the texture.

The data type of the components in this texture.

width?: number

The width of the texture.

wrapSFunction?: TextureWrapFunction

The wrapping function of the texture in the S direction.

wrapTFunction?: TextureWrapFunction

The wrapping function of the texture in the T direction.

Generated using TypeDoc