hello, I find myself in a situation where I would like to be able to pass in texture to QC via

CIImage* gameCIImage = [CIImage imageWithTexture:gameTexture size:size flipped:YES colorSpace:CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB)];

[filterRenderer setValue:gameCIImage forInputKey:@"OEImageInput"];    
[filterRenderer renderAtTime:time arguments:nil];


This works, but I found that textures of type: GL_UNSIGNED_SHORT_1_5_5_5_REV, internal format : GL_RGB5_A1 do not seem to be happy being passed in to QC via above CIImage. Is this a limiation of QC, Core Image or am I at fault somewhere else? Unfortunately I dont have any control over these formats and I will be potentially passed arbitrary OpenGL texture format and types. Does QC really only handle certain types? Is there a fast way to circumvent this ?

Thank you.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to