Skip to main content

odin_pipeline_get_effect_type

enum OdinError odin_pipeline_get_effect_type(const struct OdinPipeline *pipeline,
uint32_t effect_id,
enum OdinEffectType *out_effect_type);

Overview

Obtains the effect type (VAD, APM, or Custom) for the effect identified by effect_id.

Parameters

NameTypeDescription
pipelineconst struct OdinPipeline *The pipeline handle.
effect_iduint32_tThe unique ID of the effect.
out_effect_typeenum OdinEffectType *Pointer to receive the effect type.

Return Value

TypeDescription
OdinErrorODIN_ERROR_SUCCESS on success.