depthTextureCreationOptions.ts 580 B

12345678910111213
  1. /**
  2. * Define options used to create a depth texture
  3. */
  4. export class DepthTextureCreationOptions {
  5. /** Specifies whether or not a stencil should be allocated in the texture */
  6. generateStencil?: boolean;
  7. /** Specifies whether or not bilinear filtering is enable on the texture */
  8. bilinearFiltering?: boolean;
  9. /** Specifies the comparison function to set on the texture. If 0 or undefined, the texture is not in comparison mode */
  10. comparisonFunction?: number;
  11. /** Specifies if the created texture is a cube texture */
  12. isCube?: boolean;
  13. }