From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../files/classPxParticleExt_1_1IndexPool.html | 201 +++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleExt_1_1IndexPool.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleExt_1_1IndexPool.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleExt_1_1IndexPool.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleExt_1_1IndexPool.html new file mode 100644 index 00000000..2c137435 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxParticleExt_1_1IndexPool.html @@ -0,0 +1,201 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxParticleExt::PxParticleExt::IndexPool Class Reference + + + + + + + + +
+

PxParticleExt::PxParticleExt::IndexPool Class Reference

Class to manage particle indices. Extension particle index management can be useful if no application side particle index allocation functionality is available. An PxParticleExt::IndexPool instance is meant to be used for one PxParticleSystem/PxParticleFluid instance. The instance can be created with PxParticleExt::createIndexPool(). +More... +

+#include <PxParticleExt.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + + + +

Public Member Functions

virtual PxU32 allocateIndices (PxU32 num, const PxStrideIterator< PxU32 > &indexBuffer)=0
 Allocates a requested number of indices if possible.
virtual void freeIndices (PxU32 num, const PxStrideIterator< const PxU32 > &indexBuffer)=0
 Deallocates a requested number of indices.
virtual void freeIndices ()=0
 Deallocates all previously allocated indices.
virtual void release ()=0
 Releases IndexPool instance.
virtual ~IndexPool ()
 virtual destructor
+


Detailed Description

+Class to manage particle indices. Extension particle index management can be useful if no application side particle index allocation functionality is available. An PxParticleExt::IndexPool instance is meant to be used for one PxParticleSystem/PxParticleFluid instance. The instance can be created with PxParticleExt::createIndexPool(). +

+

See also:
PxParticleExt::createIndexPool()
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual PxParticleExt::PxParticleExt::IndexPool::~IndexPool (  )  [inline, virtual]
+
+
+ +

+virtual destructor +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual PxU32 PxParticleExt::PxParticleExt::IndexPool::allocateIndices (PxU32  num,
const PxStrideIterator< PxU32 > &  indexBuffer 
) [pure virtual]
+
+
+ +

+Allocates a requested number of indices if possible. +

+

Parameters:
+ + + +
[in] num Number of indices that should be allocated.
[out] indexBuffer Strided data to which allocated indices are written.
+
+
Returns:
PxU32. Number of indices that where allocated by the operation.
+ +
+

+ +

+
+ + + + + + + + +
virtual void PxParticleExt::PxParticleExt::IndexPool::freeIndices (  )  [pure virtual]
+
+
+ +

+Deallocates all previously allocated indices. +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
virtual void PxParticleExt::PxParticleExt::IndexPool::freeIndices (PxU32  num,
const PxStrideIterator< const PxU32 > &  indexBuffer 
) [pure virtual]
+
+
+ +

+Deallocates a requested number of indices. +

+

Parameters:
+ + + +
[in] num Number of indices that should be freed.
[in] indexBuffer Strided data describing the indices that need to be freed. It's a requirement to specify unique indices, that where previously allocated by PxParticlesExt::allocateIndices()
+
+ +
+

+ +

+
+ + + + + + + + +
virtual void PxParticleExt::PxParticleExt::IndexPool::release (  )  [pure virtual]
+
+
+ +

+Releases IndexPool instance. +

+ +

+

+


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

+Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3