CSoftwareTextureDataRGBA


This object has been removed in version 8.0.0.

Implements software texture data accessing interface for texture with 4 color channels(red, green, blue, alpha).

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

class CSoftwareTextureDataRGBA :public virtual ITextureData
    {
    public:
        int getWidth() override;
        int getHeight() override;
        int getPitch() override;
        unsigned char *getData() override;
        Color getPixel(const int x, const int y) override;

        void setPixel(const int x, const int y, const Color &value) override;

        void Release() override;

        CSoftwareTextureDataRGBA(CSoftwareTextureRGBA *texture);
    };
Namespace: nitisa
Include: Nitisa/Renderers/Software/SoftwareTextureDataRGBA.h