VR-Forces 5.0.2 Developer's Guide
 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

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

Public Member Functions

virtual ~DtIndirectLightPointDrawComponent ()
 
virtual void initialize (DtIndirectGeometryRegistrar &registrar, DtIndirectEffectTexturesTemplate &effectTexturesState)
 
virtual void apply (osg::RenderInfo &renderInfo) override
 
virtual void draw (osg::RenderInfo &renderInfo, const int offsetCommandBuffer, GLenum indicesType, int maxCommands, DtGlBuffer *gpuShaderUbo, int gpuShaderBinding, DtIndirectShaderConstants *shaderConstants) override
 
virtual bool shouldDraw (bool isShadowPass) override
 
- Public Member Functions inherited from makVrv::DtIndirectDrawComponent
 DtIndirectDrawComponent (DtDe &de)
 
virtual ~DtIndirectDrawComponent ()
 
virtual void update (osg::RenderInfo &renderInfo)
 
virtual void releaseGLObjects (osg::State *state)
 

Public Attributes

friend DtIndirectLightPointDrawComponentCreator
 

Protected Member Functions

 DtIndirectLightPointDrawComponent (DtDe &de)
 
virtual void draw (const int offsetCommandBuffer, GLenum indicesType, int maxCommands)
 
- Protected Member Functions inherited from makVrv::DtIndirectDrawComponent
virtual std::string indicesTypeToString (int indicesType)
 

Protected Attributes

osg::ref_ptr< osg::Uniform > myDigitTextureUniform
 
DtOsgLightPointManagermyLightPointManager
 
DtIndirectDefaultTexturesContainermyDefaultTexturesContainer
 
- Protected Attributes inherited from makVrv::DtIndirectDrawComponent
DtDemyDe
 
osg::ref_ptr< osg::StateSet > myStateSet
 

Private Member Functions

 DtIndirectLightPointDrawComponent ()=delete
 
 DtIndirectLightPointDrawComponent (const DtIndirectLightPointDrawComponent &rhs)=delete
 
DtIndirectLightPointDrawComponentoperator= (const DtIndirectLightPointDrawComponent &rhs)=delete
 

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

init

virtual void makVrv::DtIndirectLightPointDrawComponent::apply ( osg::RenderInfo &  renderInfo)
overridevirtual
virtual void makVrv::DtIndirectLightPointDrawComponent::draw ( osg::RenderInfo &  renderInfo,
const int  offsetCommandBuffer,
GLenum  indicesType,
int  maxCommands,
DtGlBuffer gpuShaderUbo,
int  gpuShaderBinding,
DtIndirectShaderConstants shaderConstants 
)
overridevirtual

draw

Reimplemented from 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::draw ( const int  offsetCommandBuffer,
GLenum  indicesType,
int  maxCommands 
)
protectedvirtual

internal

Member Data Documentation

friend makVrv::DtIndirectLightPointDrawComponent::DtIndirectLightPointDrawComponentCreator

only creator can create

osg::ref_ptr<osg::Uniform> makVrv::DtIndirectLightPointDrawComponent::myDigitTextureUniform
protected
DtOsgLightPointManager& makVrv::DtIndirectLightPointDrawComponent::myLightPointManager
protected
DtIndirectDefaultTexturesContainer& makVrv::DtIndirectLightPointDrawComponent::myDefaultTexturesContainer
protected

cache to avoid repeated look ups via DtIndirectDefaultTexturesContainer::instance(myDe)


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)