Microsoft DirectX 9.0 SDK Update (October 2004)

PrtEngine.ScaleMeshChunk Method

Language:

Note: This documentation is preliminary and is subject to change.

Scales all the samples associated with a given submesh. The method is useful for computing subsurface scattering.

Definition

Visual Basic .NET Public Sub ScaleMeshChunk( _
    ByVal meshChunk As Integer, _
    ByVal scale As Single, _
    ByVal data As PrtBuffer _
)
C# public void ScaleMeshChunk(
    int meshChunk,
    float scale,
    PrtBuffer data
);
Managed C++ public: void ScaleMeshChunk(
    int meshChunk,
    float scale,
    PrtBuffer *data
);
JScript .NET public function ScaleMeshChunk(
    meshChunk : int,
    scale : float,
    data : PrtBuffer
);

Parameters

meshChunk System.Int32. Location in the mesh at which to start scaling samples.
scale System.Single. Value by which to multiply each vector in the submesh.
data Microsoft.DirectX.Direct3D.PrtBuffer. A PrtBuffer object to receive rescaled samples in the submesh.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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