Interface RenderTargetTextureOptions
Hierarchy
- RenderTargetTextureOptions
Index
Properties
Optional color AttachmentSearch playground for colorAttachment
Specifies the internal texture to use directly instead of creating one (ignores noColorAttachment
flag when set)
Optional creation FlagsSearch playground for creationFlags
specific flags to use when creating the texture (e.g., Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures)
Optional delay AllocationSearch playground for delayAllocation
True (default: false) if the texture allocation should be delayed
Optional do Not Change Aspect RatioSearch playground for doNotChangeAspectRatio
True (default) to not change the aspect ratio of the scene in the RTT
Optional formatSearch playground for format
The internal format of the buffer in the RTT (RED, RG, RGB, RGBA (default), ALPHA...)
Optional generate Depth BufferSearch playground for generateDepthBuffer
True (default) to generate a depth buffer
Optional generate Mip MapsSearch playground for generateMipMaps
True (default: false) if mipmaps need to be generated after render
Optional generate Stencil BufferSearch playground for generateStencilBuffer
True (default: false) to generate a stencil buffer
Optional is CubeSearch playground for isCube
True (default: false) if a cube texture needs to be created
Optional is MultiSearch playground for isMulti
True (default: false) if multiple textures need to be created (Draw Buffers)
Optional no Color AttachmentSearch playground for noColorAttachment
True (default: false) to indicate that no color target should be created. (e.g., if you only want to write to the depth buffer)
Optional samplesSearch playground for samples
Sample count to use when creating the RTT
Optional sampling ModeSearch playground for samplingMode
The sampling mode to be used with the render target (Trilinear (default), Linear, Nearest...)
Optional typeSearch playground for type
The type of the buffer in the RTT (byte (default), half float, float...)
Optional useSRGBBufferSearch playground for useSRGBBuffer
True (default: false) to create a SRGB texture
Options for the RenderTargetTexture constructor