renderTargetCreationOptions.ts 706 B

1234567891011121314151617181920
  1. /**
  2. * Define options used to create a render target texture
  3. */
  4. export class RenderTargetCreationOptions {
  5. /**
  6. * Specifies is mipmaps must be generated
  7. */
  8. generateMipMaps?: boolean;
  9. /** Specifies whether or not a depth should be allocated in the texture (true by default) */
  10. generateDepthBuffer?: boolean;
  11. /** Specifies whether or not a stencil should be allocated in the texture (false by default)*/
  12. generateStencilBuffer?: boolean;
  13. /** Defines texture type (int by default) */
  14. type?: number;
  15. /** Defines sampling mode (trilinear by default) */
  16. samplingMode?: number;
  17. /** Defines format (RGBA by default) */
  18. format?: number;
  19. }