PrtEngine.GetAdaptedMesh Method

Language:

Returns a mesh with modifications resulting from adaptive spatial sampling. The returned mesh contains only positions, normals, and texture coordinates (if defined).

Definition

Visual Basic Public Function GetAdaptedMesh( _
    ByVal device As Device, _
    ByVal faceRemap() As Integer _
) As Mesh
C# public Mesh GetAdaptedMesh(
    Device device,
    int[] faceRemap
);
C++ public:
MeshGetAdaptedMesh(
    Devicedevice,
    array<int>^ faceRemap
);
JScript public function GetAdaptedMesh(
    device : Device,
    faceRemap : int[]
) : Mesh;

Parameters

device Microsoft.DirectX.Direct3D.Device
The Device used to create the output mesh.
faceRemap System.Int32[]
The original mesh face that was split to generate the current face.

Return Value

Microsoft.DirectX.Direct3D.Mesh
The output Mesh object.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center