Corresponding class for Windows platform is here.
Corresponding class for Android platform is here.
Implements texture.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class CTextureRGBA :public virtual ITexture
{
public:
int getWidth() const override;
int getHeight() const override;
Rect getInvalidRect() const override;
bool isValid() const override;
CLAMP getClamp() const override;
Point getSize() const override;
Rect getRect() const override;
float getWidthf() const override;
float getHeightf() const override;
PointF getSizef() const override;
RectF getRectf() const override;
bool setSize(const int width, const int height) override;
bool setClamp(const CLAMP value) override;
void Release() override;
ITextureData *Lock(const bool readonly) override;
void Invalidate() override;
void Invalidate(const Rect &rect) override;
void Validate() override;
bool Activate(const int index) override;
CTextureRGBA(CRenderer *renderer);
CTextureRGBA(CRenderer *renderer, CTextureRGBA *texture); // Create copy of texture
virtual ~CTextureRGBA();
};
Namespace: | nitisa::standard::windows::opengl |
Include: | Standard/Platform/Windows/OpenGL/TextureRGBA.h |