PxDefaultMemoryInputData#
Defined in include/extensions/PxDefaultStreams.h
-
class PxDefaultMemoryInputData : public PxInputData#
default implementation of a memory read stream
See also
Public Functions
-
virtual PxU32 read(void *dest, PxU32 count)#
read from the stream.
The number of bytes read may be less than the number requested.
- Parameters:
dest – [in] the destination address to which the data will be read
count – [in] the number of bytes requested
- Returns:
the number of bytes read from the stream.
-
virtual PxU32 getLength() const#
return the length of the input data
- Returns:
size in bytes of the input data
-
virtual PxU32 read(void *dest, PxU32 count)#