CSEngine
Loading...
Searching...
No Matches
CSE::SISurface Class Referenceabstract
Inheritance diagram for CSE::SISurface:
CSE::SResource CSE::SObject CSE::MeshSurface

Public Member Functions

virtual int GetVertexCount () const =0
 
virtual int GetLineIndexCount () const =0
 
virtual int GetTriangleIndexCount () const =0
 
virtual void GenerateVertices (std::vector< float > &vertices, unsigned char flags=0) const =0
 
virtual void GenerateLineIndices (std::vector< unsigned short > &indices) const =0
 
virtual void GenerateTriangleIndices (std::vector< unsigned short > &indices) const =0
 
- Public Member Functions inherited from CSE::SResource
 SResource (bool isRegister)
 
 SResource (const SResource *resource, bool isRegister)
 
void SetName (std::string name)
 
void SetAbsoluteID (std::string id)
 
std::string GetName () const
 
std::string GetAbsoluteID () const
 
AssetMgr::AssetReferenceGetAssetReference (std::string hash="") const
 
void LinkResource (AssetMgr::AssetReference *asset)
 
void LinkResource (std::string name)
 
void SetHash (std::string &hash) override
 
- Public Member Functions inherited from CSE::SObject
 SObject (bool isRegister)
 
virtual void Exterminate ()=0
 
virtual void SetUndestroyable (bool enable)
 
virtual void Destroy ()
 
virtual void __FORCE_DESTROY__ ()
 
virtual std::string GenerateMeta ()
 
std::string GetHash () const
 

Public Attributes

GLMeshID m_meshId
 

Additional Inherited Members

- Static Public Member Functions inherited from CSE::SResource
template<class T >
static T * Create (const std::string &name)
 
template<class T >
static T * Create (const AssetMgr::AssetReference *asset)
 
template<class T >
static T * Get (std::string name)
 
- Protected Member Functions inherited from CSE::SResource
virtual void Init (const AssetMgr::AssetReference *asset)=0
 
- Protected Attributes inherited from CSE::SObject
std::string m_hash
 

Detailed Description

Definition at line 14 of file RenderInterfaces.h.

Constructor & Destructor Documentation

◆ SISurface()

CSE::SISurface::SISurface ( )
inline

Definition at line 17 of file RenderInterfaces.h.

17 {
18 SetUndestroyable(true);
19 }

Member Data Documentation

◆ m_meshId

GLMeshID CSE::SISurface::m_meshId
mutable

Definition at line 36 of file RenderInterfaces.h.


The documentation for this class was generated from the following file: