Reign.Video.Font.drawCharacter C# (CSharp) Method

drawCharacter() private method

private drawCharacter ( Vector2 position, Vector2 size, Vector2 positionUV, Vector2 sizeUV, Vector4 color ) : void
position Vector2
size Vector2
positionUV Vector2
sizeUV Vector2
color Vector4
return void
        private void drawCharacter(Vector2 position, Vector2 size, Vector2 positionUV, Vector2 sizeUV, Vector4 color)
        {
            shaderPosition.Set(position);
            shaderSize.Set(size);
            shaderPositionUV.Set(positionUV);
            shaderSizeUV.Set(sizeUV);
            shaderColor.Set(color);
            shader.Apply();
            vertexBuffer.Draw();
        }