Hey guys. In my import plugin's DrawSparseFrame, I'm trying to figure out the PixelFormat of the PF_EffectWorld* passed in. My prototype looks like this:
static A_Err
My_DrawSparseFrame(
AEIO_BasicData *basic_dataP,
AEIO_InSpecH specH,
const AEIO_DrawSparseFramePB *sparse_framePPB,
PF_EffectWorld *wP,
AEIO_DrawingFlags *draw_flagsP);
So how do you get the pixel format? From the wP, you can get width/height/pitch/base address. I'd like to use the WorldSuite3 but all the calls need an AEGP_WorldH. So is there some way to get the AEGP_WorldH from the passed in PF_EffectWorld*, or is there another way to get the pixel format without using older, deprecated suites?