#include <StreamWrapper.h>
Inherits physx::PxInputStream, and physx::PxOutputStream.
Public Member Functions | |
StreamWrapper (AZ::IO::GenericStream *stream) | |
uint32_t | read (void *dest, uint32_t count) override |
uint32_t | write (const void *src, uint32_t count) override |
Wraps an AZ stream by provided the physx interface. This is used to prevent copying of data when going from physx streams to az streams.