VS_In

Description

[StageInOut]
struct Tinman.Shaders.Model.VS_In

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

Vertex shader input for IModelRendererEffect.

Public / Attributes

Bitangent


[Tangent(1)]
public attribute Bitangent → (float3)

The per-vertex data for ModelVertexFormat.TangentY.

Color


[Color]
public attribute Color → (float4)

The per-vertex data for ModelVertexFormat.Color.

Coords


[Length(2)] [TexCoord]
public attribute Coords → (float2 [ ])

Normal


[Normal]
public attribute Normal → (float3)

The per-vertex data for ModelVertexFormat.Normal.

Position


[Position(0)]
public attribute Position → (float3)

The per-vertex data for ModelVertexFormat.Position.

Position​Extra


[Position(1)]
public attribute PositionExtra → (float3)

The per-vertex data for ModelVertexFormat.PositionExtra.

Tangent


[Tangent(0)]
public attribute Tangent → (float3)

The per-vertex data for ModelVertexFormat.TangentX.