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

#include <Renderer.h>

Collaboration diagram for hellfire::InstancedRenderCommand:

Public Member Functions

bool operator< (const RenderCommand &other) const
 

Public Attributes

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

Detailed Description

Definition at line 37 of file Renderer.h.

Member Function Documentation

◆ operator<()

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

Definition at line 44 of file Renderer.h.

Member Data Documentation

◆ distance_to_camera

float hellfire::InstancedRenderCommand::distance_to_camera

Definition at line 41 of file Renderer.h.

◆ entity_id

EntityID hellfire::InstancedRenderCommand::entity_id

Definition at line 38 of file Renderer.h.

◆ instanced_renderable

InstancedRenderableComponent* hellfire::InstancedRenderCommand::instanced_renderable

Definition at line 39 of file Renderer.h.

◆ is_transparent

bool hellfire::InstancedRenderCommand::is_transparent

Definition at line 42 of file Renderer.h.

◆ material

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

Definition at line 40 of file Renderer.h.


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