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

Public Member Functions

 SISurface (std::string &&classType)
 
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 (std::string classType)
 
 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 ()
 
std::string GetHash () const
 
- Public Member Functions inherited from CSE::VariableBinder
virtual void SetValue (std::string name_str, Arguments value)=0
 
virtual std::string PrintValue () const =0
 
- Public Member Functions inherited from CSE::ReflectionObject
 ReflectionObject (std::string type)
 
void SetClassType (std::string type)
 
const char * GetClassType () const
 
bool IsSameClass (const char *classType) 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)
 
static SResourceCreate (const std::string &name, const std::string &classType)
 
template<class T >
static T * Create (const AssetMgr::AssetReference *asset)
 
static SResourceCreate (const AssetMgr::AssetReference *asset, const std::string &classType)
 
template<class T >
static T * Get (std::string name)
 
static SResourceGet (std::string &name)
 
- Static Public Member Functions inherited from CSE::ReflectionObject
static ReflectionObjectNewObject (const std::string &name)
 
- Protected Types inherited from CSE::VariableBinder
typedef std::vector< std::string > Arguments
 
- Protected Member Functions inherited from CSE::SResource
virtual void Init (const AssetMgr::AssetReference *asset)=0
 
- Protected Member Functions inherited from CSE::VariableBinder
- Protected Attributes inherited from CSE::SObject
std::string m_hash
 
- Protected Attributes inherited from CSE::ReflectionObject
std::string m_class
 

Detailed Description

Definition at line 23 of file RenderInterfaces.h.

Constructor & Destructor Documentation

◆ SISurface()

CSE::SISurface::SISurface ( std::string && classType)
inlineexplicit

Definition at line 26 of file RenderInterfaces.h.

26 : SResource(classType) {
27 SetUndestroyable(true);
28 }

Member Data Documentation

◆ m_meshId

GLMeshID CSE::SISurface::m_meshId
mutable

Definition at line 45 of file RenderInterfaces.h.


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