OpenTkEngine.Core.Graphics.DrawTexture C# (CSharp) Method

DrawTexture() public static method

public static DrawTexture ( Texture texture, float x, float y, float z, float width, float height, Color4 color ) : void
texture Texture
x float
y float
z float
width float
height float
color Color4
return void
        public static void DrawTexture(Texture texture, float x, float y, float z, float width, float height, Color4 color)
        {
            DrawTexture(texture, x, y, z, width, height, 0, 0, texture.GetWidth(), texture.GetHeight(), color);
        }

Same methods

Graphics::DrawTexture ( Texture texture, Rectangle dest, float z, Rectangle source, Color4 color ) : void
Graphics::DrawTexture ( Texture texture, Vector3 position, System.Vector2 size, System.Vector2 sourcePosition, System.Vector2 sourceDimension, Color4 color ) : void
Graphics::DrawTexture ( Texture texture, float x, float y, float z, Color4 color ) : void
Graphics::DrawTexture ( Texture texture, float x, float y, float z, float width, float height, int sx, int sy, int sw, int sh, Color4 color ) : void