windows::opengl::CTextureRGBA


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

This class is available on Windows platform only

Corresponding class for Linux 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;
        // Since 8.0.0 
        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;
        // Since 1.3.0 
        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