CB_Material_Dynamic3

Description

[ConstantBuffer]
static class Tinman.Shaders.Model.CB_Material_Dynamic3

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

A constant buffer for use with MaterialParameters.

Public / Attributes

Material​Info


[Length(11)]
public static attribute MaterialInfo → (float4 [ ])

The constant data field g_materialInfo.

float4.x : texture coordinate set
float4.y : texture color channel
float4.z : texture U mode (0 is wrap, negative is mirror, clamp is [z..1-z]),
float4.w : texture V mode (0 is wrap, negative is mirror, clamp is [z..1-z])