android::gles::CTextureRGBA



This class is available on Android platform only

Corresponding class for Windows platform is here.

Corresponding class for Linux 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;
    MIN_FILTER getMinFilter() const override;
    MAG_FILTER getMagFilter() const override;

    bool setSize(const int width, const int height) override;
    bool setClamp(const CLAMP value) override;
    bool setMinFilter(const MIN_FILTER value) override;
    bool setMagFilter(const MAG_FILTER 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::android::gles
Include: Standard/Platform/Android/OpenGL/TextureRGBA.h