![]() |
SAGE
A Simple Academic Game Engine
|
Media descriptor. More...
#include <SageMediaDesc.h>
Public Member Functions | |
| CMediaDesc (t, const std::string &) | |
| Constructor. | |
Public Attributes | |
| t | m_eType = (t)0 |
| Media type. | |
| std::string | m_strName |
| Name string. | |
A media descriptor consists of a member of an enumerated type to use to identify a piece of media (image or sound) in code, and a string that identifies the media in an external file.
| Sage::CMediaDesc< t >::CMediaDesc | ( | t | type, |
| const std::string & | s ) |
Constructor.
| t | An enumerated type. |
| type | Media enumerated type. |
| s | Media name string. |