Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::DirLightNodeComponent Class Reference
Inheritance diagram for brenta::DirLightNodeComponent:
brenta::NodeComponent

Public Member Functions

 DirLightNodeComponent (tenno::shared_ptr< DirLight > l)
 
void update (float delta_time) override
 
void draw (const glm::mat4 &world_matrix) override
 

Data Fields

tenno::shared_ptr< DirLightlight
 
- Data Fields inherited from brenta::NodeComponent
tenno::weak_ptr< Nodeowner
 

Detailed Description

Definition at line 17 of file dir_light_node_component.hpp.

Constructor & Destructor Documentation

◆ DirLightNodeComponent()

brenta::DirLightNodeComponent::DirLightNodeComponent ( tenno::shared_ptr< DirLight l)
inline

Definition at line 24 of file dir_light_node_component.hpp.

Member Function Documentation

◆ draw()

void DirLightNodeComponent::draw ( const glm::mat4 &  world_matrix)
overridevirtual

Implements brenta::NodeComponent.

Definition at line 16 of file dir_light_node_component.cpp.

◆ update()

void DirLightNodeComponent::update ( float  delta_time)
overridevirtual

Implements brenta::NodeComponent.

Definition at line 11 of file dir_light_node_component.cpp.

Field Documentation

◆ light

tenno::shared_ptr<DirLight> brenta::DirLightNodeComponent::light

Definition at line 21 of file dir_light_node_component.hpp.


The documentation for this class was generated from the following files: