FxRenderInfo TimeRender;
memset(&TimeRender, 0, sizeof(TimeRender));
TimeRender.depth = renderInfo.depth;
TimeRender.sharedContext = NULL;
TimeRender.scaleX = renderInfo.scaleX;
TimeRender.scaleY = renderInfo.scaleY;
TimeRender.fieldOrder = renderInfo.fieldOrder;
TimeRender.qualityLevel = renderInfo.qualityLevel;
FxTexture* TimeTexture;
double frametime = renderInfo.frame + 1;
TimeRender.frame = frametime;
if ([_tImageApi getInputTexture:&TimeTexture withInfo:TimeRender atTime:frametime] == YES)
inTextures[0] = TimeTexture;
frametime = renderInfo.frame + 2;
TimeRender.frame = frametime;
if ([_tImageApi getInputTexture:&TimeTexture withInfo:TimeRender atTime:frametime] == YES)
inTextures[1] = TimeTexture;