Class: ClusterLightingBuffer
Constructors
Properties
Methods
Constructors
constructor
• new ClusterLightingBuffer(numClusters
, maxNumLightsPerCluster
): ClusterLightingBuffer
Parameters
Name | Type |
---|---|
numClusters | number |
maxNumLightsPerCluster | number |
Returns
Defined in
src/gfx/renderJob/passRenderer/cluster/ClusterLightingBuffer.ts:10
Properties
clusterBuffer
• clusterBuffer: ComputeGPUBuffer
Defined in
src/gfx/renderJob/passRenderer/cluster/ClusterLightingBuffer.ts:5
lightAssignBuffer
• lightAssignBuffer: ComputeGPUBuffer
Defined in
src/gfx/renderJob/passRenderer/cluster/ClusterLightingBuffer.ts:6
assignTableBuffer
• assignTableBuffer: ComputeGPUBuffer
Defined in
src/gfx/renderJob/passRenderer/cluster/ClusterLightingBuffer.ts:7
clustersUniformBuffer
• clustersUniformBuffer: UniformGPUBuffer
Defined in
src/gfx/renderJob/passRenderer/cluster/ClusterLightingBuffer.ts:8
Methods
update
▸ update(width
, height
, clusterPix
, clusterTileX
, clusterTileY
, clusterTileZ
, numLights
, maxNumLightsPerCluster
, near
, far
): void
Parameters
Name | Type |
---|---|
width | number |
height | number |
clusterPix | number |
clusterTileX | number |
clusterTileY | number |
clusterTileZ | number |
numLights | number |
maxNumLightsPerCluster | number |
near | number |
far | number |
Returns
void
Defined in
src/gfx/renderJob/passRenderer/cluster/ClusterLightingBuffer.ts:21