IDCompositionTurbulenceEffect::SetNoise method (dcomp.h)

Sets the turbulence noise mode.

Syntax

HRESULT SetNoise(
  [in] D2D1_TURBULENCE_NOISE noise
);

Parameters

[in] noise

Type: D2D1_TURBULENCE_NOISE

The turbulence noise mode. Indicates whether to generate a bitmap based on Fractal Noise or the Turbulence function.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header dcomp.h
Library Dcomp.lib
DLL Dcomp.dll

See also

IDCompositionTurbulenceEffect