Graphics

Description

sealed class Tinman.Engine.Shaders.Graphics.Graphics

Derived from

GpuCode abstract

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

The render effect code used by IGraphicsEffect.

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 GraphicsParameters.PassLine.

GS_​Point


[GeometryShader(GpuCode.POINT, GpuCode.TRIANGLE, 4)] [If("!HLSL_DX9")]
public static method GS_Point → (2)

data in : VS_Out [ ]

The shader input.

stream in : STREAM<VS_Out>

The shader output.

The geometry shader for GraphicsParameters.PassPoint.

PS


[PixelShader]
public static method PS → (1)

data in : VS_Out

The shader input.

returns → PS_Out_Target

The shader output.

The pixel shader for IGraphicsEffect.

VS


[VertexShader(GpuCode.HINT_GS)]
public static method VS → (1)

data in : VS_In

The shader input.

returns → VS_Out

The shader output.

The vertex shader for IGraphicsEffect.