> Now we can use QCPlugInContext methods to know info about the context (as > explained here). But.. how can I set its attributes? > Is the context we received in the execution method customizable? Can I > customize PixelFormat attributes or rendering bounds?
You cannot. QC manages the context for you (e.g. it creates the context, and defines the rendering bounds). If your application provides an NSOpenGLContext or CGLContextObj, you can control those attributes then, but otherwise they are immutable. You cannot change a context's pixel format dynamically. You can simulate rendering bounds using glScissor(), if you want to draw less than the full extent of the context. Note that the immutability of the context is not a function of QuartzComposer -- even in normal applications contexts are immutable. It has always been that way, even on other platforms. -- Christopher Wright [email protected]
_______________________________________________ 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]

