MATERIAL_RT_DEPTH
Description
Enumerations used by GetRenderTargetEx. Clientside only.
When Anti Aliasing is enabled then
MATERIAL_RT_DEPTH_SHARED
and MATERIAL_RT_DEPTH_SEPARATE
will always create a new depth-stencil buffer because Render Targets do not have Anti Aliasing.Values
MATERIAL_RT_DEPTH_SHARED | 0 | Do not create a depth-stencil buffer. Use the default depth-stencil buffer if used as render target 0. |
MATERIAL_RT_DEPTH_SEPARATE | 1 | Create a depth-stencil buffer. Use the created depth-stencil buffer if used as render target 0. |
MATERIAL_RT_DEPTH_NONE | 2 | Do not create a depth-stencil buffer. Disable depth and stencil buffer usage if used as render target 0. |
MATERIAL_RT_DEPTH_ONLY | 3 | Create a depth-stencil buffer. Use the created depth-stencil buffer if used as render target 0. Creates a color texture despite the name. |