IDCompositionTurbulenceEffect::SetStitchable method

Specifies whether stitching is on or off.

Syntax

HRESULT SetStitchable(
  BOOL stitchable
);

Parameters

stitchable

Type: BOOL

A boolean value that specifies whether stitching is on or off. The base frequency is adjusted so that the output bitmap can be stitched. This is useful if you want to tile multiple copies of the turbulence effect output. If this value is TRUE, the output bitmap can be tiled (using the tile effect) without the appearance of seams and the base frequency is adjusted so that output bitmap can be stitched. If this value is FALSE, the base frequency is not adjusted, so seams may appear between tiles if the bitmap is tiled.

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