QuickFont.JTexture.DrawBasic C# (CSharp) Метод

DrawBasic() публичный Метод

Draws the texture without changing any blending settings. Use this when you wish to set the blending settings yourself.
public DrawBasic ( ) : void
Результат void
        public void DrawBasic()
        {
            GL.Enable(EnableCap.Texture2D);
            GL.BindTexture(TextureTarget.Texture2D, _GLTexID);

            GL.Begin(BeginMode.Quads);
                GL.TexCoord2(bottomLeft); GL.Vertex2(0f, _h);
                GL.TexCoord2(bottomLeft.X, topRight.Y); GL.Vertex2(0, 0);
                GL.TexCoord2(topRight); GL.Vertex2(_w, 0f);
                GL.TexCoord2(topRight.X, bottomLeft.Y); GL.Vertex2(_w, _h);
            GL.End();
        }

Same methods

JTexture::DrawBasic ( System.Vector2 pos ) : void
JTexture::DrawBasic ( System.Vector2 pos, System.Vector2 scale ) : void
JTexture::DrawBasic ( System.Vector2 pos, float scale ) : void