virtual bool IsValid() const;
IsValid determines if the texture has valid data, i.e., if it is initialized with data and can be used for rendering.
A Boolean value of true if the texture is valid and false otherwise.