LiteFX::Rendering::IDeviceMemory::writable¶
Returns true, if the resource can be bound to a read/write descriptor.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual bool writable() const noexcept;
Description¶
If the resource is not writable, attempting to bind it to a writable descriptor will result in an exception.
Return Value¶
true, if the resource can be bound to a read/write descriptor.