Specification
C Version:
C Implementation Specific Version:
WisResult wisVKResourceAllocatorCreateTexture(
const WisVKResourceAllocator* self,
WisVKTexture* texture);
WisResult wisDX12ResourceAllocatorCreateTexture(
const WisDX12ResourceAllocator* self,
WisDX12Texture* texture);
C++ Version:
namespace wis{
WIS_NODISCARD wis::Texture ResourceAllocator::CreateTexture(const wis::TextureDesc& desc,
wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD wis::VKTexture VKResourceAllocator::CreateTexture(const wis::TextureDesc& desc,
wis::Result& out_result) const noexcept;
WIS_NODISCARD wis::DX12Texture DX12ResourceAllocator::CreateTexture(const wis::TextureDesc& desc,
wis::Result& out_result) const
noexcept;
}
Parameters
- this
self self is a pointer to the valid WisResourceAllocator instance.
desc indicates a pointer to WisTextureDesc, which describes the texture to create.
texture points to WisTexture, which is initialized on success.
- return denoting the outcome of operation.
Description
See Also