VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Files | Macros
vrvIndirectRendering

Classes

class  makVrv::DtInstanceContainer
 
class  makVrv::DtMaterialUtils
 
class  makVrv::DtModelInfo
 

Files

file  DtIndirectGpuOutputInstance.h
 
file  DtIndirectInstancesInvalidated.h
 
file  DtIndirectOffsetAndSize.h
 
file  DtInstanceContainer.h
 
file  DtLodId.h
 
file  DtMaterial.h
 
file  DtModelInfo.h
 
file  DtPerGeomInstance.h
 
file  vrvIndirectRendering.h
 

Macros

#define CPU_SIDE_COMPILATION   1
 
#define CPU_SIDE_COMPILATION   1
 

Detailed Description

This library contains indirect rendering classes.

Macro Definition Documentation

#define CPU_SIDE_COMPILATION   1

structure that is packed for consumption by GPU for indirect rendering contains the material properties for a single geometry Each 'model' can have multiple multiple geometries The layout of this class matches the equivalent structure in the indirect rendering shaders. Therefore, ***be CAREFUL if you extend/add variables to this class***, because you must change the corresponding structure in the shaders as well. Especially, be careful if you declare virtual methods/inherit this class (***best avoided***), because that will implicitly add 4/8 bytes for the vtable pointer that you need to account for in the shaders (not to mention, wasted GPU memory space)

#define CPU_SIDE_COMPILATION   1

data that is both Per geometry and per instance such as switch states ***** Used on the GPU directly so make sure to keep this and the GLSL definition the same size *****


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)