wisdom
Loading...
Searching...
No Matches
wisDeviceCreateCommandAllocator Struct Reference

Detailed Description

Specification


C Version:

C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
WisResult wisVKDeviceCreateCommandAllocator(const WisVKDevice* self,
WisVKCommandAllocator*allocator);
// Provided by Wisdom 0.7.0.
WisResult wisDX12DeviceCreateCommandAllocator(const WisDX12Device* self,
WisDX12CommandAllocator*allocator);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::CommandAllocator Device::CreateCommandAllocator(wis::CommandQueueType type,
wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::VKCommandAllocator VKDevice::CreateCommandAllocator(wis::CommandQueueType type,
wis::Result& out_result) const
noexcept;
// Provided by Wisdom 0.7.0.
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