36 virtual void configure(agx::TiXmlElement* eLights)
override;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
Container class for lights that is used for synchronizing light data with shaders,...
bool setLightDirection(agx::UInt index, const agx::Vec3 &direction)
static Lights * load(agx::TiXmlElement *eLights, agx::Device *device)
virtual void configure(agx::TiXmlElement *eLights) override
agx::Vector< agxData::ValueRefT< agx::Vec4 > > m_light_pos
agx::Vector< agxData::ValueRefT< agx::Vec3 > > m_light_dir
static agx::Model * ClassModel()
bool setLightPosition(agx::UInt index, const agx::Vec4 &position)
Lights(const agx::Name &name="lights")
A component is an object containing other objects, enabling hierarchical structuring.
An agx::Device is an abstract representation of a device on which data can be stored and processed.
A model is an abstract representation of the class of an agx::Object.
Representation of a name string.
A class holding 4 dimensional vectors and providing basic arithmetic.
This namespace contains OpenGL specific details for connecting OpenCL/OpenGL.