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

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

Draw using JTexture blending settings (ordinary ones).
public Draw ( ) : void
Результат void
        public void Draw()
        {
           
            if (_GLTexID == -1)
            {
                return;  //no texture loaded yet
            }

            
            if (_useAlpha)
            {
                GL.Enable(EnableCap.Blend);
                GL.BlendFunc(BlendingFactorSrc.SrcAlpha, BlendingFactorDest.OneMinusSrcAlpha);
            }
            else
            {
                GL.Disable(EnableCap.Blend);
            }

            DrawBasic();
        
        }

Same methods

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