This version of documentation describes older release of the framework. Please consider upgrading to the latest release.
Corresponding class for Windows platform is here.
Implements single channel texture. Used internally.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class CTextureR :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;
CTextureR(CRenderer *renderer);
CTextureR(CRenderer *renderer, CTextureR *texture); // Create copy of texture
virtual ~CTextureR();
};
Namespace: | nitisa::standard::android::gles |
Include: | Standard/Platform/Android/OpenGL/TextureR.h |