Image Buffer Management Functions — After Effects SDK Guide 22.0.0 documentation

PF_EffectWorld / PF_LayerDef の生成と破棄、およびビット深度を知るには、これらの関数を使用します。

PF_WorldSuite2

Function Description
PF_NewWorld PF_EffectWorldを新規に作成します。
**PF_Err PF_NewWorld(
PF_ProgPtr effect_ref,
A_long widthL,
A_long heightL,
PF_Boolean clear_pixB,
PF_PixelFormat pixel_format,
PF_EffectWorld *worldP
);**
PF_DisposeWorld PF_EffectWorld を破棄します。
**PF_Err PF_DisposeWorld(
PF_ProgPtr effect_ref,
PF_EffectWorld *worldP
);**
PF_GetPixelFormat 指定された PF_EffectWorld のピクセル形式を取得します。
**PF_Err PF_GetPixelFormat(
const PF_EffectWorld *worldP,
PF_PixelFormat *pixel_formatP
);**
pixel_formatP は可能です。
**PF_PixelFormat_ARGB32 - standard 8-bit RGB
PF_PixelFormat_ARGB64 - 16-bit RGB
PF_PixelFormat_ARGB128 - 32-bit floating point RGB**