Interface DepthTextureCreationOptions
interface DepthTextureCreationOptions {
bilinearFiltering?: boolean;
comparisonFunction?: number;
depthTextureFormat?: number;
generateStencil?: boolean;
isCube?: boolean;
label?: string;
samples?: number;
}
bilinearFiltering?: boolean;
comparisonFunction?: number;
depthTextureFormat?: number;
generateStencil?: boolean;
isCube?: boolean;
label?: string;
samples?: number;
}
Properties
Optionalbilinear Filtering
bilinearFiltering?: boolean
Specifies whether or not bilinear filtering is enable on the texture
Optionalcomparison Function
comparisonFunction?: number
Specifies the comparison function to set on the texture. If 0 or undefined, the texture is not in comparison mode
Optionaldepth Texture Format
depthTextureFormat?: number
Specifies the depth texture format to use
Optionalgenerate Stencil
generateStencil?: boolean
Specifies whether or not a stencil should be allocated in the texture. Not used if depthTextureFormat is supplied, in which case stencil creation will depend on this value.
Optionalis Cube
isCube?: boolean
Specifies if the created texture is a cube texture
Optionallabel
label?: string
Label of the texture (used for debugging only)
Optionalsamples
samples?: number
Specifies the sample count of the depth/stencil texture texture
Define options used to create a depth texture