added extra functions to Texture
This commit is contained in:
@@ -38,6 +38,10 @@ namespace TSE
|
||||
byte* GetImagePtr() const;
|
||||
void SetPixel(const Vector2& pos, const Color& c);
|
||||
void GetPixel(const Vector2& pos, Color& c) const;
|
||||
Texture CutOut(const Vector2& pos, Vector2& size) const;
|
||||
Texture Upscale(const Vector2& size) const;
|
||||
Texture Downscale(const Vector2& size) const;
|
||||
void PasteIn(const Vector2& pos, Texture& t);
|
||||
void SetPixelNoApply(const Vector2& pos, const Color& c);
|
||||
void ToSprite(Sprite& s);
|
||||
void SetChanels(const byte& ch);
|
||||
|
||||
Reference in New Issue
Block a user