IDCompositionTurbulenceEffect::SetNoise method

Sets the turbulence noise mode.

Syntax

HRESULT SetNoise(
  D2D1_TURBULENCE_NOISE noise
);

Parameters

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

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

See Also

IDCompositionTurbulenceEffect