class
RenderTexture
Render target specialization that allows you to render into one or multiple textures.
Such textures can then be used in other operations as GPU program input.
Public
Methods
~RenderTexture
staticCreate
Creates a new RenderTexture and automatically generates a single color surface and (optionally) a depth/stencil surface.
- colorDesc
- Description of the color surface to create.
- createDepth
- Determines will a depth/stencil buffer of the same size as the color buffer be created for the render texture.
- depthStencilFormat
- Format of the depth/stencil buffer if enabled.
staticCreate
Creates a new RenderTexture and automatically generates a single color surface and (optionally) a depth/stencil surface.
- colorDesc
- Description of the color surface to create.
- createDepth
- Determines will a depth/stencil buffer of the same size as the color buffer be created for the render texture.
- depthStencilFormat
- Format of the depth/stencil buffer if enabled.
GetColorTexture
Returns a color surface texture you may bind as an input to an GPU program.
GetDepthStencilTexture
Returns a depth/stencil surface texture you may bind as an input to an GPU program.
staticGetRttiStatic
Protected
Constructors
RenderTexture
Methods
CreateRenderProxy
Creates an object that contains render thread specific data and methods for this object.
Can be null if such object is not required.
CreateRenderProxySyncPacket
Creates a data packet that will be used for syncing the core object with it's render proxy.
Caller must free the retrieved packet using the provided allocator when done using it.