OSDL::Data Namespace Reference

Classes

class  DataException
 Exception to be thrown when an abnormal situation occurs with data. More...
class  ResourceManagerException
 Exception to be thrown when engine abnormal behaviour occurs. More...
class  ResourceManager
 This ResourceManager manages resources on behalf of the developer. More...

Enumerations

enum  ContentType {
  text, data, music, sound,
  image, texture_2D, texture_3D, ttf_font,
  unknown
}
 

Describes the various known content type for resources.

More...

Enumeration Type Documentation

Describes the various known content type for resources.

This type does not reflect the encoding (ex: no '.wav' or '.ogg'), as a given encoding can be used in different contexts (ex: as a sound or as a music), and as the actual encoding is generally automatically determined by the back-end (ex: SDL_mixer) based on the file content rather than based on its extension.

Therefore we have usage-based types (ex: '.music', '.sound') rather than encoding-based extensions.

Enumerator:
text 
data 
music 
sound 
image 
texture_2D 
texture_3D 
ttf_font 
unknown 

Definition at line 95 of file OSDLResourceManager.h.

Generated on Mon Nov 29 14:05:31 2010 for OSDL by  doxygen 1.6.3