android::gles::CTextureDataRGBA


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Android platform only

Corresponding class for Windows platform is here.

Corresponding class for Linux platform is here.

Implements texture data.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class CTextureDataRGBA :public ITextureData
    {
    public:
        int getWidth() override;
        int getHeight() override;
        int getPitch() override;
        unsigned char *getData() override;
        Color getPixel(const int x, const int y) override;
        // Since 8.0.0 
        Color getPixelFast(const int x, const int y) override;
    
        void setPixel(const int x, const int y, const Color &value) override;
        // Since 8.0.0 
        void setPixelFast(const int x, const int y, const Color &value) override;
    
        void Release() override;
    
        CTextureDataRGBA(CTextureRGBA *texture, const bool readonly);
        virtual ~CTextureDataRGBA() = default;
    };
Namespace: nitisa::standard::android::gles
Include: Standard/Platform/Android/OpenGL/TextureDataRGBA.h