harmony 鸿蒙effect_types.h

  • 2025-06-12
  • 浏览 (3)

effect_types.h

Overview

The effect_types.h file declares the data types of the image effect filter.

File to include: <native_effect/effect_types.h>

Library: libnative_effect.so

System capability: SystemCapability.Multimedia.Image.Core

Since: 12

Related module: EffectKit

Summary

Structs

Name Description
struct OH_Filter_ColorMatrix Describes a matrix used to create an effect filter.

Types

Name Description
typedef struct OH_Filter OH_Filter Defines a struct for a filter used to generate a filter PixelMap.
typedef struct OH_PixelmapNative OH_PixelmapNative Defines a struct for the PixelMap.

Enums

Name Description
EffectErrorCode { EFFECT_SUCCESS = 0, EFFECT_BAD_PARAMETER = 401, EFFECT_UNSUPPORTED_OPERATION = 7600201, EFFECT_UNKNOWN_ERROR = 7600901 } Enumerates the status codes that may be used by the effect filter.
EffectTileMode { CLAMP = 0, REPEAT, MIRROR, DECAL } Enumerates the tile modes of the shader effect.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

0  赞