Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Multiplies every value in the buffer by a constant value.
Syntax
HRESULT ScaleBuffer(
[in] FLOAT Scale
);
Parameters
-
Scale [in]
-
Type: FLOAT
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.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also