Sampler loader.
More...
|
C3D_API | BinaryParser (Castor::Path const &p_path) |
| Constructor. More...
|
|
virtual C3D_API bool | Fill (Scene const &p_obj, BinaryChunk &p_chunk) const |
| Function used to fill the chunk from specific data. More...
|
|
virtual C3D_API bool | Parse (Scene &p_obj, BinaryChunk &p_chunk) const |
| Function used to retrieve specific data from the chunk. More...
|
|
C3D_API | BinaryParser (Castor::Path const &p_path) |
| Constructor. More...
|
|
virtual C3D_API bool | Fill (Scene const &p_obj, Castor::BinaryFile &p_file) const |
| To chunk writer function. More...
|
|
virtual C3D_API bool | Parse (Scene &p_obj, Castor::BinaryFile &p_file) const |
| From file reader function. More...
|
|
|
bool | DoParseChunk (T *p_pValues, uint32_t p_count, BinaryChunk &p_chunk) const |
| Retrieves a value array from a chunk. More...
|
|
bool | DoParseChunk (T(&p_value)[Count], BinaryChunk &p_chunk) const |
| Retrieves a value array from a chunk. More...
|
|
bool | DoParseChunk (T &p_value, BinaryChunk &p_chunk) const |
| Retrieves a value from a chunk. More...
|
|
bool | DoFillChunk (T const *p_values, uint32_t p_count, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk) const |
| Writes a subchunk value into a chunk. More...
|
|
bool | DoFillChunk (T const (&p_value)[Count], eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk) const |
| Writes a subchunk value into a chunk. More...
|
|
bool | DoFillChunk (T const &p_value, eCHUNK_TYPE p_chunkType, BinaryChunk &p_chunk) const |
| Writes a subchunk value into a chunk. More...
|
|
Castor::Path | m_path |
| The current folder path. More...
|
|
Sampler loader.
- Author
- Sylvain DOREMUS
- Date
- 08/04/2014
Loader de Sampler
◆ BinaryParser()
C3D_API Castor3D::Scene::BinaryParser::BinaryParser |
( |
Castor::Path const & |
p_path | ) |
|
Constructor.
- Parameters
-
[in] | p_path | The current folder path |
◆ Fill()
virtual C3D_API bool Castor3D::Scene::BinaryParser::Fill |
( |
Scene const & |
p_obj, |
|
|
BinaryChunk & |
p_chunk |
|
) |
| const |
|
virtual |
Function used to fill the chunk from specific data.
- Parameters
-
[in] | p_obj | The object to write |
[out] | p_chunk | The chunk to fill |
- Returns
false
if any error occured
Implements Castor3D::BinaryParser< Scene >.
◆ Parse()
virtual C3D_API bool Castor3D::Scene::BinaryParser::Parse |
( |
Scene & |
p_obj, |
|
|
BinaryChunk & |
p_chunk |
|
) |
| const |
|
virtual |
Function used to retrieve specific data from the chunk.
- Parameters
-
[out] | p_obj | The object to read |
[in] | p_chunk | The chunk containing data |
- Returns
false
if any error occured
Implements Castor3D::BinaryParser< Scene >.
The documentation for this class was generated from the following file:
- Z:/Projets/C++/Castor3D/source/Core/Castor3D/Src/Scene.hpp