OpenGL SuperBible: Comprehensive Tutorial and Reference, Seventh Edition by Graham Sellers Richard S. Wright Jr. Nicholas Haemel
Author:Graham Sellers, Richard S. Wright Jr., Nicholas Haemel
Language: eng
Format: epub
Publisher: Addison-Wesley Professional
Published: 2015-08-24T04:00:00+00:00
Logical Operations
Once the pixel color is in the same format and bit depth as the framebuffer, there are two more steps that can affect the final result. The first allows you to apply a logical operation to the pixel color before it is passed on. When logical operations are enabled, the effects of blending are ignored. Logic operations do not affect floating-point buffers. You can enable logic ops by calling
glEnable(GL_COLOR_LOGIC_OP);
and disable them by calling
glDisable(GL_COLOR_LOGIC_OP);
Logic operations use the values of the incoming pixel and the existing framebuffer to compute a final value. You can pick the operation that computes the final value by calling glLogicOp(). The possible options are listed in Table 9.6. The prototype of glLogicOp() is
glLogicOp(GLenum op);
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12703)
Hello! Python by Anthony Briggs(10009)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9876)
The Mikado Method by Ola Ellnestam Daniel Brolund(9876)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(9817)
Dependency Injection in .NET by Mark Seemann(9421)
Hit Refresh by Satya Nadella(8871)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8387)
The Kubernetes Operator Framework Book by Michael Dame(8004)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7841)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7808)
Exploring Deepfakes by Bryan Lyon and Matt Tora(7797)
Grails in Action by Glen Smith Peter Ledbrook(7772)
Practical Computer Architecture with Python and ARM by Alan Clements(7740)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7704)
Robo-Advisor with Python by Aki Ranin(7690)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7656)
Building Low Latency Applications with C++ by Sourav Ghosh(7588)
Svelte with Test-Driven Development by Daniel Irvine(7572)
