MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / IsValid

Method IsValid

include/TextureUnmanaged.hpp:326–326  ·  view source on GitHub ↗

* Determines whether or not the Texture has been loaded and is ready. * * @return True or false depending on whether the Texture has data. */

Source from the content-addressed store, hash-verified

324 * @return True or false depending on whether the Texture has data.
325 */
326 RLCPP_NODISCARD bool IsValid() const { return IsTextureValid(*this); }
327protected:
328 void set(const ::Texture& texture) {
329 id = texture.id;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected