Documentation for module: Graphics
Former-commit-id: 1757c33318443aade1dc38e16d053240d7dc885c
This commit is contained in:
@@ -8,6 +8,19 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
/*!
|
||||
* \ingroup graphics
|
||||
* \class Nz::ParticleMapper
|
||||
* \brief Graphics class that represents the mapping between the internal buffer and the particle declaration
|
||||
*/
|
||||
|
||||
/*!
|
||||
* \brief Constructs a ParticleMapper object with a raw buffer and a particle declaration
|
||||
*
|
||||
* \param buffer Raw buffer to store particles data
|
||||
* \param declaration Declaration of the particle
|
||||
*/
|
||||
|
||||
ParticleMapper::ParticleMapper(void* buffer, const ParticleDeclaration* declaration) :
|
||||
m_declaration(declaration),
|
||||
m_ptr(static_cast<UInt8*>(buffer))
|
||||
|
||||
Reference in New Issue
Block a user