PrtEngine.RobustMeshRefine(Single,Int32) Method (Microsoft.DirectX.Direct3D)

Subdivides faces on a mesh, allowing for conservative adaptive sampling that will not eliminate features on the mesh.

Definition

Visual Basic Public Sub RobustMeshRefine( _
    ByVal minEdgeLength As Single, _
    ByVal maxSubDiv As Integer _
)
C# public void RobustMeshRefine(
    float minEdgeLength,
    int maxSubDiv
);
C++ public:
void RobustMeshRefine(
    float minEdgeLength,
    int maxSubDiv
);
JScript public function RobustMeshRefine(
    minEdgeLength : float,
    maxSubDiv : int
);

Parameters

minEdgeLength System.Single
Minimum face edge length that will be generated in adaptive sampling. If zero, a reasonable default value will be substituted.
maxSubDiv System.Int32
Maximum level of subdivision of a face that will be used in adaptive sampling. If zero, a default value of 5 will be substituted.

Remarks

Exceptions

InvalidCallException

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

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.

See Also