Skip to content

Types

UpdateTextureOptions ​

Defined in: updateTexture.js:4

Options for updateTexture.

Properties ​

PropertyTypeDescription
flipY?booleanFlip on upload. Defaults to false.
format?numberThe texture format. Defaults to gl.RGBA.
height?numberWith typed array data: height in pixels.
internalFormat?numberPicked for gl.FLOAT and gl.HALF_FLOAT. Defaults to format.
level?numberThe mip level to upload to. Defaults to 0.
type?numberThe type of each component. Defaults to gl.UNSIGNED_BYTE.
width?numberWith typed array data: width in pixels.