Skip to content

画像バッファ管理関数

これらの関数を使用して、PF_EffectWorld / PF_LayerDef を作成および破棄し、ビット深度を調べます。


FunctionDescription
PF_NewWorldCreates a new 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_DisposeWorldDisposes of a PF_EffectWorld.

PF_Err PF_DisposeWorld(
PF_ProgPtr effect_ref,
PF_EffectWorld *worldP);
PF_GetPixelFormatGet the pixel format for a given PF_EffectWorld.

PF_Err PF_GetPixelFormat(
const PF_EffectWorld *worldP,
PF_PixelFormat *pixel_formatP);


pixel_formatP can be:

- PF_PixelFormat_ARGB32 - standard 8-bit RGB
- PF_PixelFormat_ARGB64 - 16-bit RGB
- PF_PixelFormat_ARGB128 - 32-bit floating point RGB