Support drawing textures without doing any clipping.
This commit is contained in:
parent
0674f2d28d
commit
79fbf0faf7
4 changed files with 29 additions and 10 deletions
|
@ -36,8 +36,8 @@ namespace cloonel {
|
|||
void Reload ( void );
|
||||
void Destroy ( void ) noexcept;
|
||||
bool IsLoaded ( void ) const { return nullptr != m_texture; }
|
||||
void Render ( const float2& parPos, const float2& parScaling ) const { Render(parPos, m_size, parScaling); }
|
||||
void Render ( const float2& parPos, const float2& parSize, const float2& parScaling ) const;
|
||||
void Render ( const float2& parPos, const float2& parScaling, bool parClip ) const { Render(parPos, m_size, parScaling, parClip); }
|
||||
void Render ( const float2& parPos, const float2& parSize, const float2& parScaling, bool parClip ) const;
|
||||
const SDLMain* SDLObject ( void ) const { return m_sdlmain; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue