GPUTexture

View source

Constructor


constructor ( context: WebGL2RenderingContext , texture: WebGLTexture | null , type: number , format: WebGLTextureFormat , actualFormat: number , width: number , height: number , depth: number , mipmapCount: number , pixelSize: number )

View source

Parameters

Name Description Default
context — —
texture — —
type — —
format — —
actualFormat — —
width — —
height — —
depth — —
mipmapCount — —
pixelSize — —

Properties


Methods