• Public
  • Public/Protected
  • All

Interface DepthTextureCreationOptions

Define options used to create a depth texture


  • DepthTextureCreationOptions



Optional bilinearFilteringSearch playground for bilinearFiltering

bilinearFiltering: boolean

Specifies whether or not bilinear filtering is enable on the texture

Optional comparisonFunctionSearch playground for comparisonFunction

comparisonFunction: number

Specifies the comparison function to set on the texture. If 0 or undefined, the texture is not in comparison mode

Optional depthTextureFormatSearch playground for depthTextureFormat

depthTextureFormat: number

Specifies the depth texture format to use

Optional generateStencilSearch playground for generateStencil

generateStencil: boolean

Specifies whether or not a stencil should be allocated in the texture

Optional isCubeSearch playground for isCube

isCube: boolean

Specifies if the created texture is a cube texture

Optional samplesSearch playground for samples

samples: number

Specifies the sample count of the depth/stencil texture texture


  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method