![]() |
VR-Forces 5.0.2 Developer's Guide
|
Interface class to manage/configure drawing of a subset of rendering components within an indirect geometry.

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 | |
| DtDe & | myDe |
| osg::ref_ptr< osg::StateSet > | myStateSet |
Private Member Functions | |
| DtIndirectDrawComponent ()=delete | |
| DtIndirectDrawComponent (const DtIndirectDrawComponent &rhs)=delete | |
| DtIndirectDrawComponent & | operator= (const DtIndirectDrawComponent &rhs)=delete |
| makVrv::DtIndirectDrawComponent::DtIndirectDrawComponent | ( | DtDe & | de | ) |
ctor
|
virtual |
dtor
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
virtual |
update
Reimplemented in makVrv::DtIndirectDefaultDrawComponent.
|
pure virtual |
apply
Implemented in makVrv::DtIndirectLightPointDrawComponent, makVrv::DtIndirectDebugCullComponent, and makVrv::DtIndirectDefaultDrawComponent.
|
virtual |
draw a sub component
Reimplemented in makVrv::DtIndirectLightPointDrawComponent, and makVrv::DtIndirectDefaultDrawComponent.
|
virtual |
clean up gl objects
Reimplemented in makVrv::DtIndirectDebugCullComponent.
decide if this component type should draw during a shadow pass
Reimplemented in makVrv::DtIndirectLightPointDrawComponent.
|
protectedvirtual |
for debugging
|
protected |
|
protected |