Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

Can you get a AEGP_WorldH from a PF_EffectWorld*?

$
0
0

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?


Viewing all articles
Browse latest Browse all 73444

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>