Reign.Video.Font.drawCharacter C# (CSharp) Méthode

drawCharacter() private méthode

private drawCharacter ( Vector2 position, Vector2 size, Vector2 positionUV, Vector2 sizeUV, Vector4 color ) : void
position Vector2
size Vector2
positionUV Vector2
sizeUV Vector2
color Vector4
Résultat 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();
        }