Loading...
Searching...
No Matches
hellfire::RenderCommand Struct Reference

#include <Renderer.h>

Collaboration diagram for hellfire::RenderCommand:

Public Member Functions

bool operator< (const RenderCommand &other) const
 

Public Attributes

EntityID entity_id
 
std::shared_ptr< Meshmesh
 
std::shared_ptr< Materialmaterial
 
float distance_to_camera
 
bool is_transparent
 

Detailed Description

Definition at line 22 of file Renderer.h.

Member Function Documentation

◆ operator<()

bool hellfire::RenderCommand::operator< ( const RenderCommand other) const
inline

Definition at line 29 of file Renderer.h.

Member Data Documentation

◆ distance_to_camera

float hellfire::RenderCommand::distance_to_camera

Definition at line 26 of file Renderer.h.

◆ entity_id

EntityID hellfire::RenderCommand::entity_id

Definition at line 23 of file Renderer.h.

◆ is_transparent

bool hellfire::RenderCommand::is_transparent

Definition at line 27 of file Renderer.h.

◆ material

std::shared_ptr<Material> hellfire::RenderCommand::material

Definition at line 25 of file Renderer.h.

◆ mesh

std::shared_ptr<Mesh> hellfire::RenderCommand::mesh

Definition at line 24 of file Renderer.h.


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