VS_In

Description

[StageInOut]
struct Tinman.Shaders.Terrain.VS_In

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

Vertex shader input for ITerrainEffect.

Public / Attributes

Color


[Color(0)]
public attribute Color → (float4)

The per-vertex data for Semantic.Texture.

Coords​High


[TexCoord(0)]
public attribute CoordsHigh → (float3)

The per-vertex data for Semantic.HeightmapCoords.

Coords​Low


[TexCoord(1)]
public attribute CoordsLow → (float3)

The per-vertex data for Semantic.HeightmapCoords.

Level​Of​Detail


[TexCoord(2)]
public attribute LevelOfDetail → (float2)

The per-vertex data for Semantic.Area.

Material​Ids


[Color(1)]
public attribute MaterialIds → (int4)

The per-vertex data for Semantic.Material.

Material​Weights


[Color(2)]
public attribute MaterialWeights → (float4)

The per-vertex data for Semantic.Material.

Normal


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

The per-vertex data for Semantic.Normal.

Normal​Base


[Normal(1)]
public attribute NormalBase → (float3)

The per-vertex data for Semantic.NormalBase.

Position


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

The per-vertex data for Semantic.Position.

Position​Delta


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

The per-vertex data for Semantic.Position.