Class: LightCones
Owns the shared cone uniform storage. The game clears and refills it every
frame (beginFrame + pushCone); every material that binds
LightCones.uniformBindings sees the same values with zero copying.
Constructors
constructor
• new LightCones(): LightCones
Returns
Properties
uniforms
• Readonly uniforms: LightConeUniforms
Accessors
uniformBindings
• get uniformBindings(): Record<string, LightConeUniformBinding>
Returns
Record<string, LightConeUniformBinding>
Methods
beginFrame
▸ beginFrame(): void
Returns
void
pushCone
▸ pushCone(input): boolean
Parameters
| Name | Type |
|---|---|
input | LightConeInput |
Returns
boolean