![]() |
VR-Forces 5.0.2 Developer's Guide
|
geometry that is part of a model. refers to one index buffer and a vertex+color+normal+uv buffer corresponding to the sub-geometry of a model. unlike the aggregated(old) indirect path, these sub-geometries are not aggregated into a single vertex+index buffer for the model. unlike the aggregated(old) indirect paths, the model is directly rendered with an augmented indirect command that specifies the address of the index+vertex buffer for this sub-geometry directly
Public Member Functions | |
| DtIndirectModelSubGeometry (DtDe &de) | |
| virtual | ~DtIndirectModelSubGeometry () |
| DtIndirectModelSubGeometry (const DtIndirectModelSubGeometry &rhs)=delete | |
| DtIndirectModelSubGeometry & | operator= (const DtIndirectModelSubGeometry &rhs)=delete |
| DtIndirectModelSubGeometry ()=delete | |
| virtual void | fillFrom (const osg::Geometry *srcGeometry, const osg::Matrix &matrix, DtIndirectGeometryTexturesRefPtr textureForThisGeometry) |
| virtual void | updateBuffersIfNecessary (bool &reloaded) |
| virtual int | maxCoords (void) const |
| virtual int | numVertices (void) const |
| virtual int | numIndices (void) const |
| virtual void | unload () |
| virtual bool | isLoaded () const |
| virtual void | setName (const std::string &name) |
| virtual const std::string & | name (void) const |
| virtual const BindlessPtrNV & | vertexBufferBindless (void) const |
| virtual const BindlessPtrNV & | additionalBufferBindless (void) const |
| virtual const BindlessPtrNV & | indexBufferBindless (void) const |
Protected Member Functions | |
| virtual void | releaseGLObjects (osg::State *state) |
| virtual void | createIndirectBuffers (void) |
| virtual void | deleteIndirectBuffers (void) |
Protected Attributes | |
| DtGlBuffer * | myVertexAndAttributesBuffer |
| DtGlBuffer * | myAdditionalCoordinatesBuffer |
| DtGlBuffer * | myIndexBuffer |
| BindlessPtrNV | myVertexBufferBindless |
| BindlessPtrNV | myAdditionalBufferBindless |
| BindlessPtrNV | myIndexBufferBindless |
| std::vector< int > | myIndices |
| bool | myBuffersUpdated |
| DtDe & | myDe |
| std::string | myName |
| std::vector < DtIndirectBindlessVertexFormat > | myVertices |
| std::vector< std::vector < Vector2_32 > > | myTextureCoordinates |
| makVrv::DtIndirectModelSubGeometry::DtIndirectModelSubGeometry | ( | DtDe & | de | ) |
constructor
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
delete |
not allowed
|
virtual |
copy src geometry into internal buffers
|
virtual |
finalize and make bindless
|
virtual |
The max texture coordinates unit/number of the texture coordinate sets.
|
virtual |
The num of vertices.
|
virtual |
The num of indices.
|
virtual |
unload the model info specifically, for bindless make gl buffers non-resident and add them to the delete manager
|
virtual |
is loaded?
|
virtual |
set the name (for debugging)
|
virtual |
get the name (for debugging)
|
virtual |
bindless vertex buffer
|
virtual |
bindless additional attributes buffer
|
virtual |
bindless index buffer
|
protectedvirtual |
release gl objects
|
protectedvirtual |
internal. create the indirect buffers
|
protectedvirtual |
internal. delete the indirect buffers
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |