Add texture alpha blending

This commit is contained in:
2021-03-07 13:18:58 +01:00
parent fbc1fdd6f7
commit c7ec12584c
4 changed files with 19 additions and 1 deletions
+3
View File
@@ -86,6 +86,9 @@ public:
bool isStatic();
void setStatic( bool stat = true );
std::shared_ptr< Renderer > getRenderer() const;
void setTextureAlpha( uint8_t alpha );
void setTextureSourceRect( SDL_Rect source_rect );
void setTextureSourceRect( int x, int y, int w, int h );
protected:
virtual void copyTo( std::shared_ptr< RenderObject > other );