Garry's Mod Wiki

Revision Difference

Enums/MATERIAL_RT_DEPTH#516454

<cat>enum</cat> <enum> <description>Enumerations used by <page>Global.GetRenderTargetEx</page>. Clientside only.</description> <items> <item key="MATERIAL_RT_DEPTH_SHARED" value="0|Do not create a depth-stencil buffer.&amp;lt;br&amp;gt;Use the default depth-stencil buffer if used as render target 0."></item>⤶ <item key="MATERIAL_RT_DEPTH_SEPARATE" value="1|Create a depth-stencil buffer.&amp;lt;br&amp;gt;Use the created depth-stencil buffer if used as render target 0."></item>⤶ <item key="MATERIAL_RT_DEPTH_NONE" value="2|Do not create a depth-stencil buffer.&amp;lt;br&amp;gt;Disable depth and stencil buffer usage if used as render target 0."></item>⤶ <item key="MATERIAL_RT_DEPTH_ONLY" value="3|Create a depth-stencil buffer.&amp;lt;br&amp;gt;Use the created depth-stencil buffer if used as render target 0. <item key="MATERIAL_RT_DEPTH_SHARED" value="0">Do not create a depth-stencil buffer.&amp;lt;br&amp;gt;Use the default depth-stencil buffer if used as render target 0.</item>⤶ <item key="MATERIAL_RT_DEPTH_SEPARATE" value="1">Create a depth-stencil buffer.&amp;lt;br&amp;gt;Use the created depth-stencil buffer if used as render target 0.</item>⤶ <item key="MATERIAL_RT_DEPTH_NONE" value="2">Do not create a depth-stencil buffer.&amp;lt;br&amp;gt;Disable depth and stencil buffer usage if used as render target 0.</item>⤶ <item key="MATERIAL_RT_DEPTH_ONLY" value="3">Create a depth-stencil buffer.&amp;lt;br&amp;gt;Use the created depth-stencil buffer if used as render target 0. Creates a color texture despite the name.&amp;lt;br&amp;gt; Seems to behave the same as MATERIAL_RT_DEPTH_SEPARATE."></item>⤶ Seems to behave the same as MATERIAL_RT_DEPTH_SEPARATE.</item>⤶ </items> </enum>