hgeSprite::Render

Renders the sprite to the screen.

void Render(
  float x,
  float y
);

Parameters

x
Screen x-coordinate to render the sprite at.
y
Screen y-coordinate to render the sprite at.

Remarks

The Render method automatically shifts screen coordinates by -0.5 to achieve direct texel to pixel mapping, without affecting the texture with interpolation.

Requirements

Header: hgesprite.h
Import library: hgehelp.lib

See also

RenderEx, RenderStretch, Render4V