CB_Material_Dynamic1

Description

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

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

A constant buffer for use with MaterialParameters.

Public / Attributes

Material​Base​Color


public static attribute MaterialBaseColor → (float4)

The constant data field g_materialBaseColor.

Material​Glossiness​Or​Roughness


public static attribute MaterialGlossinessOrRoughness → (float32)

The constant data field g_materialGlossinessOrRoughness.

Material​Metalness


public static attribute MaterialMetalness → (float32)

The constant data field g_materialMetalness.

Material​Normal


public static attribute MaterialNormal → (float32)

The constant data field g_materialNormal.

Material​Occlusion


public static attribute MaterialOcclusion → (float32)

The constant data field g_materialOcclusion.

Material​Reflectivity


public static attribute MaterialReflectivity → (float3)

The constant data field g_materialReflectivity.