VenomEngine
Cross-Platform Modern Graphics Engine
|
Contains all the mesh's data and is the main high-level interface for the user. More...
#include <Mesh.h>
Public Member Functions | |
void | SetMaterial (const Material &material) |
Assigns Material to mesh. | |
bool | HasMaterial () const |
Checks if the mesh has a Material assigned. | |
const Material & | GetMaterial () const |
Returns the Material assigned to the mesh. | |
void | Draw () const |
Draws the mesh. | |
Public Member Functions inherited from venom::common::PluginObjectImplWrapper | |
PluginObjectImplWrapper (PluginObjectImpl *impl) | |
PluginObjectImplWrapper (const PluginObjectImplWrapper &other) | |
PluginObjectImplWrapper & | operator= (const PluginObjectImplWrapper &other) |
PluginObjectImplWrapper (PluginObjectImplWrapper &&other) | |
PluginObjectImplWrapper & | operator= (PluginObjectImplWrapper &&other) |
PluginObjectImpl * | GetImpl () |
const PluginObjectImpl * | GetImpl () const |
const PluginObjectImpl * | GetConstImpl () const |
bool | IsImplInitialized () const |
void | Destroy () |
Friends | |
class | ModelImpl |
Additional Inherited Members | |
Protected Attributes inherited from venom::common::PluginObjectImplWrapper | |
PluginObjectImpl * | _impl |
Contains all the mesh's data and is the main high-level interface for the user.
|
inline |
|
inline |
|
inline |
Assigns Material to mesh.
material |