Struct LightCullConstants ​
Namespace: ValveResourceFormat.Renderer.Buffers
Assembly: Renderer.dll
Layout of one scene's cull masks, plus the view they were built against.
public struct LightCullConstantsFields ​
EnvMapBinBase ​
First word of the env map depth bin mask region.
public uint EnvMapBinBaseField Value ​
uint
EnvMapCount ​
Env map probe slots the shading pass may iterate. Bits past it exist in the last mask word but name nothing, and the all ones masks written when binning is off do not distinguish them.
public uint EnvMapCountField Value ​
uint
EnvMapCullWords ​
Words per env map tile and bin mask this frame.
public uint EnvMapCullWordsField Value ​
uint
EnvMapTileBase ​
First word of the env map tile mask region.
public uint EnvMapTileBaseField Value ​
uint
LightCullCameraDir ​
World-space forward direction of the camera the masks were built for.
public Vector3 LightCullCameraDirField Value ​
LightCullCameraPosition ​
World-space position of the camera the masks were built for.
public Vector3 LightCullCameraPositionField Value ​
LightCullPixelRemap ​
Maps this pass's pixel to the one the same ray occupies in the view the masks were built for: xy scale, zw bias. Identity for the view that produced them.
public Vector4 LightCullPixelRemapField Value ​
LightCullWords ​
Number of 32 bit words each barn light tile and slice mask occupies this frame.
public uint LightCullWordsField Value ​
uint
LightDepthSliceParams ​
Depth slice mapping: X slices per world unit, Y the last slice index.
public Vector4 LightDepthSliceParamsField Value ​
LightProbeBinBase ​
First word of the light probe volume depth bin mask region.
public uint LightProbeBinBaseField Value ​
uint
LightProbeCount ​
Light probe volume slots the shading pass may iterate. Zero outside probe atlas scenes.
public uint LightProbeCountField Value ​
uint
LightProbeCullWords ​
Words per light probe volume tile and bin mask this frame.
public uint LightProbeCullWordsField Value ​
uint
LightProbeTileBase ​
First word of the light probe volume tile mask region.
public uint LightProbeTileBaseField Value ​
uint
LightSliceBase ​
Index of the first word of the barn light depth slice mask region.
public uint LightSliceBaseField Value ​
uint
LightSliceCount ​
Number of depth slices in the slice mask region.
public uint LightSliceCountField Value ​
uint
LightTileBase ​
Index of the first word of the barn light screen tile mask region.
public uint LightTileBaseField Value ​
uint
LightTileCols ​
Number of tile columns.
public uint LightTileColsField Value ​
uint
LightTileRows ​
Number of tile rows.
public uint LightTileRowsField Value ​
uint
LightTileShift ​
Right shift converting a pixel coordinate into a tile coordinate.
public uint LightTileShiftField Value ​
uint
_Padding0 ​
Padding to maintain 16-byte struct alignment.
public uint _Padding0Field Value ​
uint
_Padding1 ​
Padding to maintain 16-byte struct alignment.
public float _Padding1Field Value ​
float
_Padding2 ​
Padding to maintain 16-byte struct alignment.
public float _Padding2Field Value ​
float

