Luna::RHI::IDeviceChild
Represents one object that is created by IDevice and is only available in the device context.
interface Luna::RHI::IDeviceChild : public virtual Interface
Every device child object holds one strong reference to the devices that creates it, so the device object will not be destroyed until all device child objects are destroyed.
Base type
Member functions
-
virtual IDevice * get_device()=0
Gets the device that creates this object.
-
virtual void set_name(const c8 *name)=0
Sets the name of the device object. This name is for use in debug diagnostics and tools.