PhysX SDK 3.2 API Reference: PxInputStream Class Reference

PhysX SDK 3.2 API

PxInputStream Class Reference
[Common]

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

#include <PxIO.h>

Inheritance diagram for PxInputStream:

List of all members.


Public Member Functions

virtual PxU32 read (void *dest, PxU32 count)=0
 read from the stream. The number of bytes written may be less than the number requested.
virtual ~PxInputStream ()

Detailed Description

Input stream class for I/O.

The user needs to supply a PxInputStream implementation to a number of methods to allow the SDK to read data.


Constructor & Destructor Documentation

virtual PxInputStream::~PxInputStream (  )  [inline, virtual]


Member Function Documentation

virtual PxU32 PxInputStream::read ( void *  dest,
PxU32  count 
) [pure virtual]

read from the stream. The number of bytes written may be less than the number requested.

Parameters:
[in] dest the destination address to which the data will be written
[in] count the number of bytes requested
Returns:
the number of bytes read from the stream.

Implemented in physx::PxDefaultMemoryInputData, and physx::PxDefaultFileInputData.


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



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