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 | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtIndirectLightPointDrawComponent Class Reference

class to draw a subset of light points of an indirect geometry More...

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

Public Member Functions

virtual ~DtIndirectLightPointDrawComponent ()
 destructor More...
 
virtual void initialize (DtIndirectGeometryRegistrar &registrar, DtIndirectEffectTexturesTemplate &effectTexturesState, DtVirtualProgramCache &virtualProgramCache)
 init More...
 
virtual void update (osg::RenderInfo &renderInfo) override
 update More...
 
virtual void apply (osg::RenderInfo &renderInfo) override
 apply More...
 
virtual void draw (osg::RenderInfo &renderInfo, const int offsetCommandBuffer, GLenum indicesType, int maxCommands) override
 draw More...
 
virtual void releaseGLObjects (osg::State *state) override
 clean up gl objects More...
 
virtual bool shouldDraw (bool isShadowPass) override
 light points should not draw during the shadow pass More...
 
- Public Member Functions inherited from makVrv::DtIndirectDrawComponent
 DtIndirectDrawComponent (DtDe &de)
 ctor More...
 
virtual ~DtIndirectDrawComponent ()
 dtor More...
 
virtual void addExternallyManagedUniform (osg::ref_ptr< osg::Uniform > uniform)
 add an externally managed uniform More...
 

Public Attributes

friend DtIndirectLightPointDrawComponentCreator
 only creator can create More...
 

Protected Member Functions

 DtIndirectLightPointDrawComponent (DtDe &de)
 constructor. only creator can create More...
 
virtual void initializeUbosIfNecessary (osg::RenderInfo &renderInfo)
 
- Protected Member Functions inherited from makVrv::DtIndirectDrawComponent
virtual std::string indicesTypeToString (int indicesType)
 for debugging More...
 

Protected Attributes

osg::ref_ptr< osg::Uniform > myDigitTextureUniform
 
osg::ref_ptr< osg::Texture > myDigitTexture
 
DtOsgLightPointManagermyLightPointManager
 
DtGlBuffermyGpuShaderUbo
 
int myGpuShaderUboBinding
 
DtIndirectLightPointDrawComponentShaderConstants * myShaderConstants
 
- Protected Attributes inherited from makVrv::DtIndirectDrawComponent
DtDemyDe
 
osg::ref_ptr< osg::StateSet > myStateSet
 

Private Member Functions

 DtIndirectLightPointDrawComponent ()=delete
 not allowed More...
 
 DtIndirectLightPointDrawComponent (const DtIndirectLightPointDrawComponent &rhs)=delete
 not allowed More...
 
DtIndirectLightPointDrawComponentoperator= (const DtIndirectLightPointDrawComponent &rhs)=delete
 not allowed More...
 

Detailed Description

class to draw a subset of light points of an indirect geometry

Constructor & Destructor Documentation

virtual makVrv::DtIndirectLightPointDrawComponent::~DtIndirectLightPointDrawComponent ( )
virtual

destructor

makVrv::DtIndirectLightPointDrawComponent::DtIndirectLightPointDrawComponent ( DtDe de)
protected

constructor. only creator can create

makVrv::DtIndirectLightPointDrawComponent::DtIndirectLightPointDrawComponent ( )
privatedelete

not allowed

makVrv::DtIndirectLightPointDrawComponent::DtIndirectLightPointDrawComponent ( const DtIndirectLightPointDrawComponent rhs)
privatedelete

not allowed

Member Function Documentation

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

not allowed

virtual void makVrv::DtIndirectLightPointDrawComponent::initialize ( DtIndirectGeometryRegistrar registrar,
DtIndirectEffectTexturesTemplate effectTexturesState,
DtVirtualProgramCache virtualProgramCache 
)
virtual

init

virtual void makVrv::DtIndirectLightPointDrawComponent::update ( osg::RenderInfo &  renderInfo)
overridevirtual

update

Implements makVrv::DtIndirectDrawComponent.

virtual void makVrv::DtIndirectLightPointDrawComponent::apply ( osg::RenderInfo &  renderInfo)
overridevirtual
virtual void makVrv::DtIndirectLightPointDrawComponent::draw ( osg::RenderInfo &  renderInfo,
const int  offsetCommandBuffer,
GLenum  indicesType,
int  maxCommands 
)
overridevirtual
virtual void makVrv::DtIndirectLightPointDrawComponent::releaseGLObjects ( osg::State *  state)
overridevirtual

clean up gl objects

Implements makVrv::DtIndirectDrawComponent.

virtual bool makVrv::DtIndirectLightPointDrawComponent::shouldDraw ( bool  isShadowPass)
overridevirtual

light points should not draw during the shadow pass

Reimplemented from makVrv::DtIndirectDrawComponent.

virtual void makVrv::DtIndirectLightPointDrawComponent::initializeUbosIfNecessary ( osg::RenderInfo &  renderInfo)
protectedvirtual

Member Data Documentation

friend makVrv::DtIndirectLightPointDrawComponent::DtIndirectLightPointDrawComponentCreator

only creator can create

osg::ref_ptr<osg::Uniform> makVrv::DtIndirectLightPointDrawComponent::myDigitTextureUniform
protected
osg::ref_ptr<osg::Texture> makVrv::DtIndirectLightPointDrawComponent::myDigitTexture
protected
DtOsgLightPointManager& makVrv::DtIndirectLightPointDrawComponent::myLightPointManager
protected
DtGlBuffer* makVrv::DtIndirectLightPointDrawComponent::myGpuShaderUbo
protected
int makVrv::DtIndirectLightPointDrawComponent::myGpuShaderUboBinding
protected
DtIndirectLightPointDrawComponentShaderConstants* makVrv::DtIndirectLightPointDrawComponent::myShaderConstants
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)