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 _
) As Mesh
C# public Mesh GetAdaptedMesh(
    Device device
);
C++ public:
MeshGetAdaptedMesh(
    Devicedevice
);
JScript public function GetAdaptedMesh(
    device : Device
) : Mesh;

Parameters

device Microsoft.DirectX.Direct3D.Device
The Device used to create the output mesh.

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