PrtBuffer.ScaleBuffer Method
Language: Visual Basic .NET C# Managed C++ JScript .NET (Show All)
Note: This documentation is preliminary and is subject to change.
Multiplies every value in the buffer by a constant value.
Definition
Visual Basic .NET
Public Sub ScaleBuffer ( _ ByVal scaleFactor As Single _ )
C#
public void ScaleBuffer ( float scaleFactor );
Managed C++
public: void ScaleBuffer ( float scaleFactor );
JScript .NET
public function ScaleBuffer ( scaleFactor : float );
Parameters
scaleFactor
System.Single . Constant value used to scale the buffer. Every value in the buffer is replaced by the product of this value and the original buffer value.
Remarks
Exceptions
InvalidCallException
The method call is invalid. For example, a method's parameter might contain an invalid value.
© 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