depthTextureCreationOptions.ts 679 B

123456789101112131415
  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. /** Specifies the sample count of the depth/stencil texture texture */
  14. samples?: number;
  15. }