Output Depth Register
Microsoft DirectX 9.0 SDK Update (October 2004)

Output Depth Register


The pixel shader output depth register (oDepth) is a write-only scalar register that returns a new depth value for a depth test against the depth-stencil buffer.

Syntax

oDepth

Where:

NameDescription
oDepthNew depth value for a depth test against the depth-stencil buffer

Remarks

ps_2_0 and ps_2_x Restrictions

ps_3_0 Restrictions



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.