Model

Description

sealed class Tinman.Shaders.Model.Model

Derived from

GpuCode abstract

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

The render effect code used by IModelRendererEffect.

Public / Methods

GS_​Line


[GeometryShader(GpuCode.LINE, GpuCode.TRIANGLE, 8)] [If("!HLSL_DX9")]
public static method GS_Line → (2)

data in : VS_Out [ ]

The shader input.

stream in : STREAM<VS_Out>

The shader output.

The geometry shader for rendering thick lines.

PS_​Pixel


[PixelShader]
public static method PS_Pixel → (2)

data in : VS_Out

The shader input.

face in : FACE

The shader input.

returns → PS_Out_TargetDepthLess

The shader output.

The pixel shader for opaque geometry with per-pixel frequency.

PS_​Sample


[If("!HLSL_DX9")] [PixelShader]
public static method PS_Sample → (2)

data in : VS_Out

The shader input.

face in : FACE

The shader input.

returns → PS_Out_TargetDepthLess

The shader output.

The pixel shader for opaque geometry with per-sample frequency.

PS_​Shadow


[PixelShader]
public static method PS_Shadow → (1)

data in : VS_Out_Shadow

The shader input.

returns → PS_Out_TargetDepth

The shader output.

The pixel shader for shadow mapping.

PS_​Transparent


[PixelShader]
public static method PS_Transparent → (2)

data in : VS_Out

The shader input.

face in : FACE

The shader input.

returns → PS_Out_DualTargetDepth

The shader output.

The pixel shader for transparent geometry.

VS_​Default


[VertexShader]
public static method VS_Default → (1)

vertex in : VS_In

The shader input.

returns → VS_Out

The shader output.

The vertex shader for non-instanced geometry with ModelRendererMode.OpaqueTransparent and ModelRendererMode.OpaqueTransparentNoOrder.

VS_​Instance


[VertexShader]
public static method VS_Instance → (2)

vertex in : VS_In

The shader input.

instance in : VS_In_Instance

The shader input.

returns → VS_Out

The shader output.

The vertex shader for instanced geometry with ModelRendererMode.OpaqueTransparent and ModelRendererMode.OpaqueTransparentNoOrder.

VS_​Instance​Shadow


[VertexShader]
public static method VS_InstanceShadow → (2)

vertex in : VS_In_Shadow

The shader input.

instance in : VS_In_InstanceShadow

The shader input.

returns → VS_Out_Shadow

The shader output.

The vertex shader for instanced geometry with ModelRendererMode.Shadow.

VS_​Shadow


[VertexShader]
public static method VS_Shadow → (1)

vertex in : VS_In_Shadow

The shader input.

returns → VS_Out_Shadow

The shader output.

The vertex shader for non-instanced geometry with ModelRendererMode.Shadow.