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

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.

Lighting


public static attribute Lighting → (float4)

The constant data field g_lighting.

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.