Specification
C Version:
C Implementation Specific Version:
WisResult wisVKDeviceGetResourceAllocator(
const WisVKDevice* self,
WisVKResourceAllocator*allocator);
WisResult wisDX12DeviceGetResourceAllocator(
const WisDX12Device* self,
WisDX12ResourceAllocator*allocator);
C++ Version:
namespace wis{
WIS_NODISCARD wis::ResourceAllocator Device::GetResourceAllocator(wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD wis::VKResourceAllocator VKDevice::GetResourceAllocator(wis::Result& out_result) const noexcept;
WIS_NODISCARD wis::DX12ResourceAllocator DX12Device::GetResourceAllocator(wis::Result& out_result) const noexcept;
}
Parameters
- this
self self is a pointer to the valid WisDevice instance.
allocator points to WisResourceAllocator, which is initialized on success.
- return denoting the outcome of operation.
Description
See Also