PS_Out_DualTargetDepth

Description

[StageInOut]
struct Tinman.Shaders.PS_Out_DualTargetDepth

Full source code is included in the Tinman 3D SDK download.

Pixel shader output for two color targets and a depth buffer.

Public / Attributes

Color​A


[System(Value.Target, 0)]
public attribute ColorA → (float4)

Color output for first render target.

Color​B


[System(Value.Target, 1)]
public attribute ColorB → (float4)

Color output for second render target.

Depth


[System(Value.DepthLessEqual)]
public attribute Depth → (float32)

Depth output.