Optional
wrapS
Optional
wrapT
Optional
magFilter
Optional
minFilter
Optional
generateMipmaps
generateMipmaps?: boolean
Optional
format
format?: number
Optional
type
Optional
anisotropy
anisotropy?: number
Optional
colorSpace
Optional
internalFormat
Optional
depthBuffer
depthBuffer?: boolean
Optional
stencilBuffer
stencilBuffer?: boolean
Optional
resolveDepthBuffer
resolveDepthBuffer?: boolean
Optional
resolveStencilBuffer
resolveStencilBuffer?: boolean
Optional
depthTexture
Optional
samples
samples?: number
Optional
count
count?: number
Defines the count of MSAA samples. Can only be used with WebGL 2. Default is 0.