Type alias TextureType

TextureType: "TEXTURE_2D" | "TEXTURE_CUBE_MAP" | "TEXTURE_3D" | "TEXTURE_2D_ARRAY"

纹理类型 A GLenum specifying the binding point (target). Possible values:

  • TEXTURE_2D gl.TEXTURE_2D: A two-dimensional texture.
  • TEXTURE_CUBE_MAP gl.TEXTURE_CUBE_MAP: A cube-mapped texture.
  • TEXTURE_3D using a WebGL 2 context gl.TEXTURE_3D: A three-dimensional texture.
  • TEXTURE_2D_ARRAY using a WebGL 2 context gl.TEXTURE_2D_ARRAY: A two-dimensional array texture.

See

https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bindTexture

Generated using TypeDoc