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

Detailed Description

Specification


C Version:

C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
WisResult wisVKResourceAllocatorCreateBuffer(const WisVKResourceAllocator* self,
const WisBufferDesc* desc,
WisVKBuffer* buffer);
// Provided by Wisdom 0.7.0.
WisResult wisDX12ResourceAllocatorCreateBuffer(const WisDX12ResourceAllocator* self,
const WisBufferDesc* desc,
WisDX12Buffer* buffer);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::Buffer ResourceAllocator::CreateBuffer(const wis::BufferDesc& desc,
wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::VKBuffer VKResourceAllocator::CreateBuffer(const wis::BufferDesc& desc,
wis::Result& out_result) const noexcept;
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::DX12Buffer DX12ResourceAllocator::CreateBuffer(const wis::BufferDesc& desc,
wis::Result& out_result) const noexcept;
}

Parameters


  • this self self is a pointer to the valid WisResourceAllocator instance.
  • desc indicates a pointer to WisBufferDesc, which describes the buffer to create.
  • buffer points to WisBuffer, which is initialized on success.
  • return denoting the outcome of operation.

Description


See Also