static void draw( const gl::Texture &texture, const Vec2f &pos ) { if( texture ) gl::draw( texture, texture.getCleanBounds(), Rectf( pos.x, pos.y, pos.x + texture.getCleanWidth(), pos.y + texture.getCleanHeight() ) ); }
static void draw( const gl::Texture &texture, const Rectf &rect ) { if( texture ) gl::draw( texture, texture.getCleanBounds(), rect ); }
static void draw( const gl::Texture &texture ) { if( texture ) gl::draw( texture, Area( texture.getCleanBounds() ), texture.getCleanBounds() ); }