Texture::IsValid

Texture::IsValid
bool IsValid() const;
Description

IsValid determines if the texture has valid data, i.e., if it is initialized with data and can be used for rendering.

Return Value

A Boolean value of 1 if the texture is valid and 0 otherwise.