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 1 if the texture is valid and 0 otherwise.