Garry's Mod Wiki

Revision Difference

Enums/MATERIAL_RT_DEPTH#515022

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>Global.GetRenderTargetEx</page>. Clientside only.</description>⤶ <fields>{{EnumField|MATERIAL_RT_DEPTH_SHARED|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.</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|MATERIAL_RT_DEPTH_SEPARATE|1|Create a depth-stencil buffer.<br/>Use the created depth-stencil buffer if used as render target 0.}}⤶ {{EnumField|MATERIAL_RT_DEPTH_NONE|2|Do not create a depth-stencil buffer.<br/>Disable depth and stencil buffer usage if used as render target 0.}}⤶ {{EnumField|MATERIAL_RT_DEPTH_ONLY|3|Create a depth-stencil buffer.<br/>Use the created depth-stencil buffer if used as render target 0.⤶ ⤶ Creates a color texture despite the name.<br/>⤶ Seems to behave the same as MATERIAL_RT_DEPTH_SEPARATE.}}⤶ }}