CB_Lighting_Static

Description

[ConstantBuffer]
static class Tinman.Shaders.CB_Lighting_Static

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

A constant buffer for use with LightingParameters.

Public / Attributes

Coefficient


public static attribute Coefficient → (float3)

The constant data field g_coefficient.

Edge​Fixup


[Order(0)]
public static attribute EdgeFixup → (float32)

The constant data field g_edgeFixup.

Environment​Scale


[Order(2)]
public static attribute EnvironmentScale → (float32)

The constant data field g_environmentScale.

Fog​Distance


public static attribute FogDistance → (float32)

The constant data field g_fogDistance.

Horizon


[Order(1)]
public static attribute Horizon → (float32)

The constant data field g_horizon.

Light​Space


[Order(0)]
public static attribute LightSpace → (float3x3)

The constant data field g_lightSpace.

Light​Vector


[Order(1)]
public static attribute LightVector → (float3)

The constant data field g_lightVector.

Mipmap


[Order(2)]
public static attribute Mipmap → (float3)

The constant data field g_mipmap.

Scale


public static attribute Scale → (float4)

The constant data field g_scale.

Unlit​Shade


public static attribute UnlitShade → (float32)

The constant data field g_unlitShade.