Wrapper over Texture that automates destruction via GC or RAII.
Load a texture from filename.
Load a texture from image data.
Move constructor for TextureGC; increment the reference counter for the texture.
Release the texture, moving it to manual management.
Underlying texture. Lifetime is bound to this struct.
See Implementation
Wrapper over Texture that automates destruction via GC or RAII.