Specification
C Version:
C Implementation Specific Version:
WisResult wisVKDeviceCreateCommandAllocator(
const WisVKDevice* self,
WisVKCommandAllocator*allocator);
WisResult wisDX12DeviceCreateCommandAllocator(
const WisDX12Device* self,
WisDX12CommandAllocator*allocator);
C++ Version:
namespace wis{
WIS_NODISCARD wis::CommandAllocator Device::CreateCommandAllocator(wis::CommandQueueType type,
wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD wis::VKCommandAllocator VKDevice::CreateCommandAllocator(wis::CommandQueueType type,
wis::Result& out_result) const
noexcept;
WIS_NODISCARD wis::DX12CommandAllocator DX12Device::CreateCommandAllocator(wis::CommandQueueType type,
wis::Result& out_result) const
noexcept;
}
Parameters
- this
self self is a pointer to the valid WisDevice instance.
type specifies the type of the command list this pool is able to allocate.
allocator points to WisCommandAllocator, which is initialized on success.
- return denoting the outcome of operation.
Description
See Also