Specification
C Version:
C Implementation Specific Version:
WisResult wisVKResourceAllocatorCreateBuffer(
const WisVKResourceAllocator* self,
WisVKBuffer* buffer);
WisResult wisDX12ResourceAllocatorCreateBuffer(
const WisDX12ResourceAllocator* self,
WisDX12Buffer* buffer);
C++ Version:
namespace wis{
WIS_NODISCARD wis::Buffer ResourceAllocator::CreateBuffer(const wis::BufferDesc& desc,
wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD wis::VKBuffer VKResourceAllocator::CreateBuffer(const wis::BufferDesc& desc,
wis::Result& out_result) const noexcept;
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