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

PxHeightFieldFormat Struct Reference
+ +[Geomutils] +

Describes the format of height field samples. +More... +

+#include <PxHeightFieldFlag.h> +

+ +

+List of all members. + + + + +

Public Types

enum  Enum { eS16_TM = (1 << 0) + }
+


Detailed Description

+Describes the format of height field samples. +

+

See also:
PxHeightFieldDesc.format PxHeightFieldDesc.samples
+

Member Enumeration Documentation

+ +
+
+ + + + +
enum PxHeightFieldFormat::Enum
+
+
+ +

+

Enumerator:
+ + +
eS16_TM  +Height field height data is 16 bit signed integers, followed by triangle materials. +

+Each sample is 32 bits wide arranged as follows:

+

+heightFieldFormat_S16_TM.png +
+

+1) First there is a 16 bit height value. 2) Next, two one byte material indices, with the high bit of each byte reserved for special use. (so the material index is only 7 bits). The high bit of material0 is the tess-flag. The high bit of material1 is reserved for future use.

+There are zero or more unused bytes before the next sample depending on PxHeightFieldDesc.sampleStride, where the application may eventually keep its own data.

+This is the only format supported at the moment.

+

See also:
PxHeightFieldDesc.format PxHeightFieldDesc.samples
+
+
+ +
+

+


The documentation for this struct 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