Ocular Engine
|
Special default 'empty' Mesh. Typically used internally. More...
#include <MeshEmpty.hpp>
Public Member Functions | |
virtual bool | bind () override |
virtual void | unbind () override |
virtual void | unload () override |
Public Member Functions inherited from Ocular::Graphics::Mesh | |
void | setVertexBuffer (VertexBuffer *buffer, uint32_t submesh=0) |
VertexBuffer * | getVertexBuffer (uint32_t submesh=0) |
void | setIndexBuffer (IndexBuffer *buffer, uint32_t submesh=0) |
IndexBuffer * | getIndexBuffer (uint32_t submesh=0) |
void | calculateMinMaxPoints () |
void | setMinMaxPoints (Math::Vector3f const &min, Math::Vector3f const &max) |
Math::Vector3f const & | getMinPoint () const |
Math::Vector3f const & | getMaxPoint () const |
SubMesh * | getSubMesh (uint32_t index) const |
uint32_t | addSubMesh (SubMesh *submesh=nullptr) |
bool | setSubMesh (SubMesh *submesh, uint32_t index) |
bool | removeSubMesh (uint32_t index) |
uint32_t | getNumSubMeshes () const |
Public Member Functions inherited from Ocular::Core::Resource | |
Resource (File const &source) | |
virtual void | forceLoad () |
File | getSourceFile () const |
void | setSourceFile (File const &file) |
void | setIsInMemory (bool inMemory) |
bool | isInMemory () const |
void | setSize (uint64_t size) |
uint64_t | getSize () const |
ResourceType | getResourceType () const |
void | setName (std::string const &name) |
std::string const & | getName () const |
std::string const & | getMappingName () const |
void | setMappingName (std::string const &name) |
ResourceMetadata * | getMetadata () const |
void | setMetadata (ResourceMetadata *metadata) |
Additional Inherited Members | |
Protected Attributes inherited from Ocular::Graphics::Mesh | |
Math::Vector3f | m_MinPoint |
Math::Vector3f | m_MaxPoint |
std::vector< SubMesh * > | m_SubMeshes |
Protected Attributes inherited from Ocular::Core::Resource | |
ResourceType | m_Type |
ResourceMetadata * | m_Metadata |
File | m_SourceFile |
bool | m_IsInMemory |
uint64_t | m_SizeInMemory |
std::string | m_Name |
std::string | m_MappingName |
Special default 'empty' Mesh. Typically used internally.
|
overridevirtual |
Reimplemented from Ocular::Graphics::Mesh.
|
overridevirtual |
Performs no action.
Reimplemented from Ocular::Graphics::Mesh.
|
overridevirtual |
Performs no action.
Reimplemented from Ocular::Graphics::Mesh.