Euphoria
eu::render::Instance Struct Referenceabstract

#include <instance.h>

Inheritance diagram for eu::render::Instance:
eu::render::Actor eu::render::PositionedLines

Public Member Functions

 Instance ()
 
virtual ~Instance ()=default
 
 Instance (const Instance &)=delete
 
 Instance (Instance &&)=delete
 
void operator= (const Instance &)=delete
 
void operator= (Instance &&)=delete
 
mat4f calc_model_matrix () const
 
virtual void render (const mat4f &projection_matrix, const mat4f &view_matrix, const vec3f &camera, const Light &light)=0
 

Public Attributes

bool remove_this = false
 
vec3f position
 
quatf rotation
 

Detailed Description

Definition at line 12 of file instance.h.

Constructor & Destructor Documentation

◆ Instance() [1/3]

eu::render::Instance::Instance ( )

Definition at line 5 of file instance.cc.

◆ ~Instance()

virtual eu::render::Instance::~Instance ( )
virtualdefault

◆ Instance() [2/3]

eu::render::Instance::Instance ( const Instance )
delete

◆ Instance() [3/3]

eu::render::Instance::Instance ( Instance &&  )
delete

Member Function Documentation

◆ calc_model_matrix()

mat4f eu::render::Instance::calc_model_matrix ( ) const

Definition at line 12 of file instance.cc.

◆ operator=() [1/2]

void eu::render::Instance::operator= ( const Instance )
delete

◆ operator=() [2/2]

void eu::render::Instance::operator= ( Instance &&  )
delete

◆ render()

virtual void eu::render::Instance::render ( const mat4f projection_matrix,
const mat4f view_matrix,
const vec3f camera,
const Light light 
)
pure virtual

Member Data Documentation

◆ position

vec3f eu::render::Instance::position

Definition at line 15 of file instance.h.

◆ remove_this

bool eu::render::Instance::remove_this = false

Definition at line 14 of file instance.h.

◆ rotation

quatf eu::render::Instance::rotation

Definition at line 16 of file instance.h.


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