VR-Forces 4.10 Class Documentation
 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. More...

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

Public Member Functions

 DtIndirectDrawComponent (DtDe &de)
 ctor More...
 
virtual ~DtIndirectDrawComponent ()
 dtor More...
 
virtual void update (osg::RenderInfo &renderInfo)=0
 update More...
 
virtual void apply (osg::RenderInfo &renderInfo)=0
 apply More...
 
virtual void addExternallyManagedUniform (osg::ref_ptr< osg::Uniform > uniform)
 add an externally managed uniform More...
 
virtual void draw (osg::RenderInfo &renderInfo, const int offsetCommandBuffer, GLenum indicesType, int maxCommands)=0
 draw a sub component More...
 
virtual void releaseGLObjects (osg::State *state)=0
 clean up gl objects More...
 
virtual bool shouldDraw (bool isShadowPass)
 decide if this component type should draw during a shadow pass More...
 

Protected Member Functions

virtual std::string indicesTypeToString (int indicesType)
 for debugging More...
 

Protected Attributes

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

Private Member Functions

 DtIndirectDrawComponent ()=delete
 not allowed More...
 
 DtIndirectDrawComponent (const DtIndirectDrawComponent &rhs)=delete
 not allowed More...
 
DtIndirectDrawComponentoperator= (const DtIndirectDrawComponent &rhs)=delete
 not allowed More...
 

Detailed Description

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

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)
pure virtual
virtual void makVrv::DtIndirectDrawComponent::apply ( osg::RenderInfo &  renderInfo)
pure virtual
virtual void makVrv::DtIndirectDrawComponent::addExternallyManagedUniform ( osg::ref_ptr< osg::Uniform >  uniform)
virtual

add an externally managed uniform

virtual void makVrv::DtIndirectDrawComponent::draw ( osg::RenderInfo &  renderInfo,
const int  offsetCommandBuffer,
GLenum  indicesType,
int  maxCommands 
)
pure virtual
virtual void makVrv::DtIndirectDrawComponent::releaseGLObjects ( osg::State *  state)
pure virtual
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

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)