DI-Guy SDK Documentation  13.7
diguyDrawCallData Struct Reference

A struct that represents the information that diguy puts together for an immediate mode draw call. More...

#include <diguyGraphicsMesh.h>

Public Member Functions

 diguyDrawCallData ()
 

Public Attributes

diguyGraphicsStatem_state_override
 The material/texture combination that can override the built-in material of the mesh. More...
 
diguyGraphicsShapem_shape
 The unique shape that is drawing this shared mesh, needed for some instancing functionality. More...
 
int m_num_instances
 Is this a multi-draw call, allows instancing and non-instancing to share mesh drawing code. More...
 
bool m_instancing_draw
 is this a draw instanced draw call More...
 
bool m_allow_instancing
 DI-Guy Scenario use only currently. More...
 
bool m_skip_vao_bind
 DI-Guy Scenario instancing use only currently. VAO is already bound so don't setup. More...
 
int m_render_pass
 Is this an opaque (0) or transparent (1) render pass when 2 passes are used. More...
 
int m_lod
 current lod More...
 
float m_lod_fraction
 how far into the LOD are we More...
 
bool m_fade_lod
 should this LOD fade out; More...
 
float m_blend_shape_weights [4]
 
int m_blend_shape_indexes [4]
 
float m_transform_matrix [16]
 this is the current transform matrix relative to the body matrix, it can be the link matrix, or a connection point or the offset of a mesh attached to a link. More...
 

Detailed Description

A struct that represents the information that diguy puts together for an immediate mode draw call.

Constructor & Destructor Documentation

diguyDrawCallData::diguyDrawCallData ( )

Member Data Documentation

diguyGraphicsState* diguyDrawCallData::m_state_override

The material/texture combination that can override the built-in material of the mesh.

This needed to allow our texture/material swap system to work.

diguyGraphicsShape* diguyDrawCallData::m_shape

The unique shape that is drawing this shared mesh, needed for some instancing functionality.

int diguyDrawCallData::m_num_instances

Is this a multi-draw call, allows instancing and non-instancing to share mesh drawing code.

bool diguyDrawCallData::m_instancing_draw

is this a draw instanced draw call

bool diguyDrawCallData::m_allow_instancing

DI-Guy Scenario use only currently.

Should this mesh allow itself to be queued up for a delayed instance draw pass.

bool diguyDrawCallData::m_skip_vao_bind

DI-Guy Scenario instancing use only currently. VAO is already bound so don't setup.

int diguyDrawCallData::m_render_pass

Is this an opaque (0) or transparent (1) render pass when 2 passes are used.

int diguyDrawCallData::m_lod

current lod

float diguyDrawCallData::m_lod_fraction

how far into the LOD are we

bool diguyDrawCallData::m_fade_lod

should this LOD fade out;

float diguyDrawCallData::m_blend_shape_weights[4]
int diguyDrawCallData::m_blend_shape_indexes[4]
float diguyDrawCallData::m_transform_matrix[16]

this is the current transform matrix relative to the body matrix, it can be the link matrix, or a connection point or the offset of a mesh attached to a link.


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