Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
castor3d::shader::LightData Struct Reference

#include <GlslLight.hpp>

Inheritance diagram for castor3d::shader::LightData:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::LightData:
Collaboration graph
[legend]

Public Member Functions

C3D_API LightData (sdw::ShaderWriter &writer, ast::expr::ExprPtr expr, bool enabled)
 
 SDW_DeclStructInstance (C3D_API, LightData)
 

Static Public Member Functions

static C3D_API ast::type::BaseStructPtr makeType (ast::type::TypesCache &cache)
 

Public Attributes

sdw::Array< sdw::Vec4 > data
 

Constructor & Destructor Documentation

◆ LightData()

C3D_API castor3d::shader::LightData::LightData ( sdw::ShaderWriter &  writer,
ast::expr::ExprPtr  expr,
bool  enabled 
)

Member Function Documentation

◆ makeType()

static C3D_API ast::type::BaseStructPtr castor3d::shader::LightData::makeType ( ast::type::TypesCache &  cache)
static

◆ SDW_DeclStructInstance()

castor3d::shader::LightData::SDW_DeclStructInstance ( C3D_API  ,
LightData   
)

Member Data Documentation

◆ data

sdw::Array< sdw::Vec4 > castor3d::shader::LightData::data

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