Copy link to clipboard
Copied
this is how you turn off the video switch of the effect's seld layer.
AEGP_LayerH layerH;
suites.AEGP_GetEffectLayer(in_data->effect_ref, &layerH);
suites.AEGP_SetLayerFlag(layerH, AEGP_LayerFlag_VIDEO_ACTIVE, FALSE);
Copy link to clipboard
Copied
AEGP_SetLayerFlag with AEGP_LayerFlag_VIDEO_ACTIVE
Copy link to clipboard
Copied
I am new to this API and trying to change the default template in the SDK and things are going over my head.
I don't know how can I get the current layer. and how to check if the layer is disabled and how to disable it if it's already enabled.
Copy link to clipboard
Copied
this is how you turn off the video switch of the effect's seld layer.
AEGP_LayerH layerH;
suites.AEGP_GetEffectLayer(in_data->effect_ref, &layerH);
suites.AEGP_SetLayerFlag(layerH, AEGP_LayerFlag_VIDEO_ACTIVE, FALSE);
Copy link to clipboard
Copied
Copy link to clipboard
Copied
it does.
AEPG_SuiteHandler suites(in_data->pica_basicP);
suites.AEGP_PFInterfaceSuite1()->AEGP_GetEffectLayer();