TexturedQuad Advanced function
Outputs a raw textured quad to the video card. If you wish to extend the Bitmap by making your own subclass you can implement new rendering functions by using this function to finally output the quad to the video card. Examples // Make a subclass of Bitmap //
class MyExtendedBitmap : public Bitmap { public: void MySpecialRenderingFunction() { // First set the OpenGL state as you want here... // And then output the image to the video card TexturedQuad( Width(), Height(), opacity ); // Restore the original OpenGL state here } }; Other functions of the class Bitmap
Questions about TexturedQuad? Click here. |