VR-Vantage
Loading...
Searching...
No Matches
vrvIndirectRendering

This library contains indirect rendering classes. More...

Classes

class  makVrv::DtInstanceContainer
class  makVrv::DtMaterialUtils
 Utility class for materials. More...
class  makVrv::DtModelInfo

Files

file  DtIndirectGpuOutputInstance.h
 Contains makVrv::DtIndirectGpuOutputInstance class.
file  DtIndirectInstancesInvalidated.h
 Contains makVrv::DtIndirectInstancesInvalidated class.
file  DtIndirectOffsetAndSize.h
 Contains makVrv::DtIndirectOffsetAndSize class.
file  DtInstanceContainer.h
 Contains makVrv::DtInstanceContainer.
file  DtLodId.h
 DtLodId class declaration.
file  DtMaterial.h
 DtMaterial class declaration.
file  DtModelInfo.h
 DtModelInfo class declaration.
file  DtPerGeomInstance.h
 DtPerGeomInstance class declaration.
file  vrvIndirectRendering.h
 Dll export defines.

Macros

#define CPU_SIDE_COMPILATION   1
#define CPU_SIDE_COMPILATION   1

Detailed Description

This library contains indirect rendering classes.

Macro Definition Documentation

◆ CPU_SIDE_COMPILATION [1/2]

#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)

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 *****

◆ CPU_SIDE_COMPILATION [2/2]

#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 *****