Garry's Mod Wiki

MATERIAL_RT_DEPTH

Description

Enumerations used by GetRenderTargetEx. Clientside only.

Values

MATERIAL_RT_DEPTH_SHARED0Do not create a depth-stencil buffer.
Use the default depth-stencil buffer if used as render target 0.
MATERIAL_RT_DEPTH_SEPARATE1Create a depth-stencil buffer.
Use the created depth-stencil buffer if used as render target 0.
MATERIAL_RT_DEPTH_NONE2Do not create a depth-stencil buffer.
Disable depth and stencil buffer usage if used as render target 0.
MATERIAL_RT_DEPTH_ONLY3Create a depth-stencil buffer.
Use the created depth-stencil buffer if used as render target 0.

Creates a color texture despite the name.
Seems to behave the same as MATERIAL_RT_DEPTH_SEPARATE.

Page Links


Special Pages


Wikis

?

Render Time: 25ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 11