VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::GpuClusteredLight Struct Reference

#include <scene/lighting/worldClusters.h>

Public Attributes

float colorIntensity [4] = {}
float directionSpot [4] = {}
float params [4] = {}
float positionRange [4] = {}

Detailed Description

GPU-side packed light struct (64 bytes, 16-byte aligned). Maps 1:1 to the Metal ClusteredLight struct in common.metal.

Definition at line 34 of file worldClusters.h.

Member Data Documentation

◆ colorIntensity

float visutwin::canvas::GpuClusteredLight::colorIntensity[4] = {}

Definition at line 38 of file worldClusters.h.

◆ directionSpot

float visutwin::canvas::GpuClusteredLight::directionSpot[4] = {}

Definition at line 37 of file worldClusters.h.

◆ params

float visutwin::canvas::GpuClusteredLight::params[4] = {}

Definition at line 39 of file worldClusters.h.

◆ positionRange

float visutwin::canvas::GpuClusteredLight::positionRange[4] = {}

Definition at line 36 of file worldClusters.h.


The documentation for this struct was generated from the following file: