VS_Example

Description

[StageInOut]
struct Tinman.Demo.Shaders.VS_Example

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

Example shader input.

Public / Attributes

With​Center


[TexCoord(0)] [With(Behaviour.Center)]
public attribute WithCenter → (float2)

A value with custom behaviour.

With​Centroid


[TexCoord(1)] [With(Behaviour.Centroid)]
public attribute WithCentroid → (float2)

A value with custom behaviour.

With​No​Interpolation


[TexCoord(2)] [With(Behaviour.NoInterpolation)]
public attribute WithNoInterpolation → (float2)

A value with custom behaviour.

With​None


[TexCoord(3)] [With(Behaviour.None)]
public attribute WithNone → (float2)

A value with custom behaviour.

With​No​Perspective


[TexCoord(4)] [With(Behaviour.NoPerspective)]
public attribute WithNoPerspective → (float2)

A value with custom behaviour.

With​Sample


[TexCoord(5)] [With(Behaviour.Sample)]
public attribute WithSample → (float2)

A value with custom behaviour.