Embedding Freetype for iOS projects
Freetype is a font library written in C. From OpenGL’s point of view, it creates alpha texture on the fly for any font size for any string.
Freetype is a font library written in C. From OpenGL’s point of view, it creates alpha texture on the fly for any font size for any string.
Let’s talk about OpenGL Texture Coordinates. Whenever we need to render a bitmap image using OpenGL, we need to pass in something called the texture coordinates to the GPU.
I don’t know how many people know that a sort of very intelligent Multiple inheritance is available with Objective-C.
One thing I realized at a very early stage is the importance of using a Texture Atlas or Sprite Sheet compared to individual images. If you haven’t yet, I recommend doing it now and realizing the benefits later.
Every sometime you might get into a situation with your design pattern, that you might have this inevitable desire to use a Singleton class, or maybe you are coming from C++ background and are much used to it.