RenderTargetCreationOptions

Define options used to create a render target texture

Hierarchy

  • RenderTargetCreationOptions

Index

Properties

Optional format

Find examples in Playground
format: number

Defines format (RGBA by default)

Optional generateDepthBuffer

Find examples in Playground
generateDepthBuffer: boolean

Specifies whether or not a depth should be allocated in the texture (true by default)

Optional generateMipMaps

Find examples in Playground
generateMipMaps: boolean

Specifies is mipmaps must be generated

Optional generateStencilBuffer

Find examples in Playground
generateStencilBuffer: boolean

Specifies whether or not a stencil should be allocated in the texture (false by default)

Optional samplingMode

Find examples in Playground
samplingMode: number

Defines sampling mode (trilinear by default)

Optional type

Find examples in Playground
type: number

Defines texture type (int by default)

Generated using TypeDoc