Example #1
0
        public void Draw()
        {
            // set up the shader program
            Program.Use();

            // bind the active texture
            Gl.ActiveTexture(TextureUnit.Texture0);
            Gl.BindTexture(Texture);

            // draw the billboard
            billboard.Draw();
        }