IDCompositionTurbulenceEffect::SetNumOctaves method

Sets the number of octaves for the noise function.

Syntax

HRESULT SetNumOctaves(
  UINT numOctaves
);

Parameters

numOctaves

Type: UINT

The number of octaves for the noise function. This value must be greater than 0.

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