fluidvis
Public Member Functions | Protected Attributes | List of all members
sx::SXResource Class Referenceabstract

#include <SXCore.h>

Inheritance diagram for sx::SXResource:
sx::AudioBuffer sx::AudioListener sx::AudioObject sx::AudioPass sx::Effect sx::Mesh sx::Pass sx::RenderObject sx::RenderTarget sx::Shader sx::Skeleton sx::Uniform

Public Member Functions

virtual EX ~SXResource ()
 
EX const string & getID () const
 
virtual bool isLoaded () const =0
 
virtual void load ()=0
 

Protected Attributes

string id
 

Detailed Description

a ressource (e texture, shader)

Constructor & Destructor Documentation

virtual EX sx::SXResource::~SXResource ( )
virtual

deconstructor , compiler requires this method to be implemented in order to be virtual

Member Function Documentation

EX const string& sx::SXResource::getID ( ) const

returns the identifier of the resource

virtual bool sx::SXResource::isLoaded ( ) const
pure virtual
virtual void sx::SXResource::load ( )
pure virtual

Member Data Documentation

string sx::SXResource::id
protected

identifyer


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