A shared pointer to a texture.
TexturePtr(const TexturePtr &in other)
Creates a copy pointing to the same texture.
bool isNull()
Returns true if the pointer doesn't point to a texture.
string getName() const
Name of the texture resource.
TexturePtr()
Creates an empty (null) pointer.
TexturePtr & opAssign(const TexturePtr &in other)
HardwarePixelBufferPtr getBuffer(uint face, uint mipmap)
Returns the pixel buffer of the given face and mipmap level, see HardwarePixelBufferPtr.