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] --- .../PhysXAPI/files/classPxInputData.html | 169 +++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxInputData.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxInputData.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxInputData.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxInputData.html new file mode 100644 index 00000000..cb664028 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxInputData.html @@ -0,0 +1,169 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxInputData Class Reference + + + + + + + +
+

PxInputData Class Reference
+ +[Common] +

Input data class for I/O which provides random read access. +More... +

+#include <PxIO.h> +

+

+Inheritance diagram for PxInputData:
+
+

Inheritance graph
+ +PxDefaultFileInputDataPxDefaultMemoryInputDataPxInputStream +
[legend]
+
+Collaboration diagram for PxInputData:
+
+

Collaboration graph
+ +PxInputStream +
[legend]
+ +

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

Public Member Functions

virtual uint32_t getLength () const =0
 return the length of the input data
virtual void seek (uint32_t offset)=0
 seek to the given offset from the start of the data.
virtual uint32_t tell () const =0
 return the current offset from the start of the data
virtual ~PxInputData ()
+


Detailed Description

+Input data class for I/O which provides random read access. +

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


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual PxInputData::~PxInputData (  )  [inline, virtual]
+
+
+ +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
virtual uint32_t PxInputData::getLength (  )  const [pure virtual]
+
+
+ +

+return the length of the input data +

+

Returns:
size in bytes of the input data
+ +

Implemented in PxDefaultMemoryInputData, and PxDefaultFileInputData.

+ +
+

+ +

+
+ + + + + + + + + +
virtual void PxInputData::seek (uint32_t  offset  )  [pure virtual]
+
+
+ +

+seek to the given offset from the start of the data. +

+

Parameters:
+ + +
[in] offset the offset to seek to. If greater than the length of the data, this call is equivalent to seek(length);
+
+ +

Implemented in PxDefaultMemoryInputData, and PxDefaultFileInputData.

+ +
+

+ +

+
+ + + + + + + + +
virtual uint32_t PxInputData::tell (  )  const [pure virtual]
+
+
+ +

+return the current offset from the start of the data +

+

Returns:
the offset to seek to.
+ +

Implemented in PxDefaultMemoryInputData, and PxDefaultFileInputData.

+ +
+

+


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