WebGLTextureFormat

View source

Represents a WebGL texture format configuration.

Constructor


constructor ( internalFormat: number , format: number , dataType: number )

View source

Creates a WebGLTextureFormat instance.

Parameters

Name Description Default
internalFormat

The internal format of the texture.

—
format

The format of the pixel data.

—
dataType

The data type of the pixel data.

—

Properties