VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtIndirectDrawComponent Class Referenceabstract

Interface class to manage/configure drawing of a subset of rendering components within an indirect geometry.

Inheritance diagram for makVrv::DtIndirectDrawComponent:
Inheritance graph
[legend]

Public Member Functions

 DtIndirectDrawComponent (DtDe &de)
 
virtual ~DtIndirectDrawComponent ()
 
virtual void update (osg::RenderInfo &renderInfo)
 
virtual void apply (osg::RenderInfo &renderInfo)=0
 
virtual void draw (osg::RenderInfo &renderInfo, const int offsetCommandBuffer, GLenum indicesType, int maxCommands, DtGlBuffer *gpuShaderUbo, int gpuShaderBinding, DtIndirectShaderConstants *shaderConstants)
 
virtual void releaseGLObjects (osg::State *state)
 
virtual bool shouldDraw (bool isShadowPass)
 

Protected Member Functions

virtual std::string indicesTypeToString (int indicesType)
 

Protected Attributes

DtDemyDe
 
osg::ref_ptr< osg::StateSet > myStateSet
 
DtIndirectShaderManagermyIndirectShaderManager
 

Private Member Functions

 DtIndirectDrawComponent ()=delete
 
 DtIndirectDrawComponent (const DtIndirectDrawComponent &rhs)=delete
 
DtIndirectDrawComponentoperator= (const DtIndirectDrawComponent &rhs)=delete
 

Constructor & Destructor Documentation

makVrv::DtIndirectDrawComponent::DtIndirectDrawComponent ( DtDe de)

ctor

virtual makVrv::DtIndirectDrawComponent::~DtIndirectDrawComponent ( )
virtual

dtor

makVrv::DtIndirectDrawComponent::DtIndirectDrawComponent ( )
privatedelete

not allowed

makVrv::DtIndirectDrawComponent::DtIndirectDrawComponent ( const DtIndirectDrawComponent rhs)
privatedelete

not allowed

Member Function Documentation

DtIndirectDrawComponent& makVrv::DtIndirectDrawComponent::operator= ( const DtIndirectDrawComponent rhs)
privatedelete

not allowed

virtual void makVrv::DtIndirectDrawComponent::update ( osg::RenderInfo &  renderInfo)
virtual

update

Reimplemented in makVrv::DtIndirectDefaultDrawComponent.

virtual void makVrv::DtIndirectDrawComponent::apply ( osg::RenderInfo &  renderInfo)
pure virtual
virtual void makVrv::DtIndirectDrawComponent::draw ( osg::RenderInfo &  renderInfo,
const int  offsetCommandBuffer,
GLenum  indicesType,
int  maxCommands,
DtGlBuffer gpuShaderUbo,
int  gpuShaderBinding,
DtIndirectShaderConstants shaderConstants 
)
virtual
virtual void makVrv::DtIndirectDrawComponent::releaseGLObjects ( osg::State *  state)
virtual

clean up gl objects

Reimplemented in makVrv::DtIndirectDebugCullComponent.

virtual bool makVrv::DtIndirectDrawComponent::shouldDraw ( bool  isShadowPass)
virtual

decide if this component type should draw during a shadow pass

Reimplemented in makVrv::DtIndirectLightPointDrawComponent.

virtual std::string makVrv::DtIndirectDrawComponent::indicesTypeToString ( int  indicesType)
protectedvirtual

for debugging

Member Data Documentation

DtDe& makVrv::DtIndirectDrawComponent::myDe
protected
osg::ref_ptr<osg::StateSet> makVrv::DtIndirectDrawComponent::myStateSet
protected
DtIndirectShaderManager& makVrv::DtIndirectDrawComponent::myIndirectShaderManager
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)