Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::USD::HnLight Class Referencefinal

Light implementation in Hydrogent. More...

#include <HnLight.hpp>

Public Member Functions

void SetFrameAttribsIndex (Int32 Index)
 
Int32 GetFrameAttribsIndex () const
 Returns the index of the light's frame attributes data in the frame attribs buffer.
 

Detailed Description

Light implementation in Hydrogent.

Member Function Documentation

◆ SetFrameAttribsIndex()

void Diligent::USD::HnLight::SetFrameAttribsIndex ( Int32 Index)
inline

Sets the index of the light's frame attributes data in the frame attribs buffer. This index is passed to the HnRenderDelegate::GetShadowPassFrameAttribsSRB method to set the offset in the frame attribs buffer.