|
void | Draw () override |
|
vc::Error | __LoadMeshFromCurrentData () override |
| Loads Mesh into the Graphics API from the current data So it is expected that vertices, faces, ... are loaded in the Mesh beforehand.
|
|
vc::Error | AddVertexBuffer (const void *data, const uint32_t vertexCount, const uint32_t vertexSize, int binding) |
|
vc::Error | AddIndexBuffer (const void *data, const uint32_t indexCount, const uint32_t indexSize) |
|
VkBuffer | GetVkIndexBuffer () const |
|
const IndexBuffer & | GetIndexBuffer () const |
|
uint32_t | GetBindingCount () const |
|
uint32_t | GetVertexCount () const |
|
VkDeviceSize * | GetOffsets () const |
|
const std::vector< BoundVkBuffer > & | GetVkVertexBuffers () const |
|
void | SetMaterial (const Material &material) |
|
bool | HasMaterial () const |
|
const Material & | GetMaterial () const |
|
template<class T > |
T * | As () |
|
template<class T > |
const T * | As () const |
|
template<class T > |
T * | ConstAs () const |
|
template<class T > |
T * | RAs () |
|
template<class T > |
const T * | RAs () const |
|
void | IncRefCount () |
|
void | DecRefCount () |
|
virtual void | Destroy () override |
| /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
|
|
| PluginObject (const PluginType type) |
|
PluginType | GetType () const override |
|
template<class T > |
T * | DAs () |
|
template<class T > |
const T * | DAs () const |
|
◆ __LoadMeshFromCurrentData()
vc::Error venom::vulkan::VulkanMesh::__LoadMeshFromCurrentData |
( |
| ) |
|
|
overridevirtual |
Loads Mesh into the Graphics API from the current data So it is expected that vertices, faces, ... are loaded in the Mesh beforehand.
- Returns
- vc::Error::Failure if the loading failed, vc::Error::Success otherwise
Implements venom::common::MeshImpl.
◆ Draw()
void venom::vulkan::VulkanMesh::Draw |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/vulkan/include/venom/vulkan/plugin/graphics/Mesh.h
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/vulkan/src/Mesh.cc