Options
All
  • Public
  • Public/Protected
  • All
Menu

Define options used to create a render target texture

Hierarchy

Index

Properties

createMipMaps?: boolean

Specifies if mipmaps must be created. If undefined, the value from generateMipMaps is taken instead

creationFlags?: number

Texture creation flags

format?: number

Defines format (RGBA by default)

generateDepthBuffer?: boolean

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

generateMipMaps?: boolean

Specifies if mipmaps must be generated

generateStencilBuffer?: boolean

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

noColorTarget?: boolean

Specifies that no color target should be bound to the render target (useful if you only want to write to the depth buffer, for eg)

samples?: number

Defines sample count (1 by default)

samplingMode?: number

Defines sampling mode (trilinear by default)

type?: number

Defines texture type (int by default)

useSRGBBuffer?: boolean

Creates the RTT in sRGB space

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme