RavEngine
Loading...
Searching...
No Matches
physx::PxOutputStream Class Referenceabstract

Output stream class for I/O. More...

#include <PxIO.h>

Inheritance diagram for physx::PxOutputStream:
[legend]

Public Member Functions

virtual uint32_t write (const void *src, uint32_t count)=0
 write to the stream. The number of bytes written may be less than the number sent.
 
virtual uint32_t write (const void *src, uint32_t count)=0
 write to the stream. The number of bytes written may be less than the number sent.
 

Detailed Description

Output stream class for I/O.

The user needs to supply a PxOutputStream implementation to a number of methods to allow the SDK to write data.

Member Function Documentation

◆ write() [1/2]

virtual uint32_t physx::PxOutputStream::write ( const void *  src,
uint32_t  count 
)
pure virtual

write to the stream. The number of bytes written may be less than the number sent.

Parameters
[in]srcthe destination address from which the data will be written
[in]countthe number of bytes to be written
Returns
the number of bytes written to the stream by this call.

Implemented in physx::PxDefaultMemoryOutputStream, physx::PxDefaultFileOutputStream, physx::MemoryBufferBase< TAllocatorType >, and physx::MemoryBufferBase< CMemoryPoolManager >.

◆ write() [2/2]

virtual uint32_t physx::PxOutputStream::write ( const void *  src,
uint32_t  count 
)
pure virtual

write to the stream. The number of bytes written may be less than the number sent.

Parameters
[in]srcthe destination address from which the data will be written
[in]countthe number of bytes to be written
Returns
the number of bytes written to the stream by this call.

Implemented in physx::PxDefaultMemoryOutputStream, physx::PxDefaultFileOutputStream, physx::MemoryBufferBase< TAllocatorType >, and physx::MemoryBufferBase< CMemoryPoolManager >.


The documentation for this class was generated from the following files: