|
const vc::Vector< Framebuffer > & | GetShadowMapFramebuffers (const int frameIndex, const int cascadeIndex) const |
|
const DescriptorSet & | GetShadowMapDescriptorSet () |
|
vc::Error | SetType (const LightType type) |
|
const LightType & | GetLightType () const |
|
void | SetColor (const vcm::Vec3 &color) |
|
const vcm::Vec3 & | GetColor () const |
|
void | SetIntensity (const float intensity) |
|
const float & | GetIntensity () const |
|
float * | GetIntensityPtr () |
|
void | SetAngle (const float angle) |
|
const float & | GetAngle () const |
|
LightShaderStruct | GetShaderStruct () const |
|
vc::Error | Reinit () |
|
LightCascadedShadowMapConstantsStruct | GetShadowMapConstantsStruct (const int cascadeIndex, const int faceIndex, Camera *const camera, vcm::Vec3 *lightPos) const |
|
int | GetCascadeIndex (Camera *const camera) |
|
int | GetLightIndexPerType () const |
|
vcm::Vec3 | GetDirection () const |
|
template<class T> |
T * | As () |
|
template<class T> |
const T * | As () const |
|
template<class T> |
T * | ConstAs () const |
|
template<class T> |
T * | RAs () |
|
template<class T> |
const T * | RAs () const |
|
void | IncRefCount () |
|
void | DecRefCount () |
|
virtual void | Destroy () override |
| /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
|
|
| PluginObject (const PluginType type) |
|
PluginType | GetType () const override |
|
template<class T> |
T * | DAs () |
|
template<class T> |
const T * | DAs () const |
|
◆ _SetDescriptorsFromCascade()
void venom::vulkan::VulkanLight::_SetDescriptorsFromCascade |
( |
const int | cascadeIndex | ) |
|
|
overrideprotectedvirtual |
◆ _SetType()
vc::Error venom::vulkan::VulkanLight::_SetType |
( |
const vc::LightType | type | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files:
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/vulkan/include/venom/vulkan/plugin/graphics/Light.h
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/vulkan/src/Light.cc