xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Graphics::Render::RenderQueue::RenderQueueNode Struct Reference

#include <renderqueue.h>

Collaboration diagram for Graphics::Render::RenderQueue::RenderQueueNode:
Collaboration graph
[legend]

Public Member Functions

 RenderQueueNode ()
 
 RenderQueueNode (const RenderQueueNode &src)
 
 RenderQueueNode (Shader::ShaderProgram *prog, Shader::ShaderSurface *sur, Shader::ShaderMaterial *mat, Mesh::Mesh *mes, const glm::mat4 *t, float a=1.0f, float ref=0.0f)
 
const RenderQueueNodeoperator= (const RenderQueueNode &src)
 

Public Attributes

Shader::ShaderProgramprogram
 
Shader::ShaderSurfacesurface
 
Shader::ShaderMaterialmaterial
 
Mesh::Meshmesh
 
const glm::mat4 * transform
 
float reference
 Reference point to the camera location, primarily used for depth sorting. More...
 
float alpha
 Custom alpha value applied per-object. More...
 

Detailed Description

Definition at line 42 of file renderqueue.h.

Constructor & Destructor Documentation

◆ RenderQueueNode() [1/3]

Graphics::Render::RenderQueue::RenderQueueNode::RenderQueueNode ( )
inline

Definition at line 51 of file renderqueue.h.

◆ RenderQueueNode() [2/3]

Graphics::Render::RenderQueue::RenderQueueNode::RenderQueueNode ( const RenderQueueNode src)
inline

Definition at line 52 of file renderqueue.h.

◆ RenderQueueNode() [3/3]

Graphics::Render::RenderQueue::RenderQueueNode::RenderQueueNode ( Shader::ShaderProgram prog,
Shader::ShaderSurface sur,
Shader::ShaderMaterial mat,
Mesh::Mesh mes,
const glm::mat4 *  t,
float  a = 1.0f,
float  ref = 0.0f 
)
inline

Definition at line 53 of file renderqueue.h.

Member Function Documentation

◆ operator=()

const RenderQueueNode& Graphics::Render::RenderQueue::RenderQueueNode::operator= ( const RenderQueueNode src)
inline

Definition at line 55 of file renderqueue.h.

References alpha, material, mesh, program, reference, surface, and transform.

Member Data Documentation

◆ alpha

float Graphics::Render::RenderQueue::RenderQueueNode::alpha

Custom alpha value applied per-object.

Definition at line 49 of file renderqueue.h.

Referenced by operator=().

◆ material

Shader::ShaderMaterial* Graphics::Render::RenderQueue::RenderQueueNode::material

Definition at line 45 of file renderqueue.h.

Referenced by Graphics::Render::compareShader(), and operator=().

◆ mesh

Mesh::Mesh* Graphics::Render::RenderQueue::RenderQueueNode::mesh

Definition at line 46 of file renderqueue.h.

Referenced by Graphics::Render::compareShader(), and operator=().

◆ program

Shader::ShaderProgram* Graphics::Render::RenderQueue::RenderQueueNode::program

Definition at line 43 of file renderqueue.h.

Referenced by Graphics::Render::compareShader(), and operator=().

◆ reference

float Graphics::Render::RenderQueue::RenderQueueNode::reference

Reference point to the camera location, primarily used for depth sorting.

Definition at line 48 of file renderqueue.h.

Referenced by Graphics::Render::compareDepth(), and operator=().

◆ surface

Shader::ShaderSurface* Graphics::Render::RenderQueue::RenderQueueNode::surface

Definition at line 44 of file renderqueue.h.

Referenced by operator=().

◆ transform

const glm::mat4* Graphics::Render::RenderQueue::RenderQueueNode::transform

Definition at line 47 of file renderqueue.h.

Referenced by operator=().


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