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

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
const uint8_t* initial_data,
size_t data_size,
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
WisResult wisVKDeviceCreatePipelineCache(const WisVKDevice* self,
const uint8_t* initial_data,
size_t data_size,
WisVKPipelineCache*cache);
// Provided by Wisdom 0.7.0.
WisResult wisDX12DeviceCreatePipelineCache(const WisDX12Device* self,
const uint8_t* initial_data,
size_t data_size,
WisDX12PipelineCache*cache);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::PipelineCache Device::CreatePipelineCache(wis::span<const std::uint8_t> initial_data,
wis::Result& out_result) const
noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::VKPipelineCache VKDevice::CreatePipelineCache(wis::span<const std::uint8_t> initial_data,
wis::Result& out_result) const
noexcept;
// Provided by Wisdom 0.7.0.
WIS_NODISCARD wis::DX12PipelineCache DX12Device::CreatePipelineCache(wis::span<const std::uint8_t> initial_data,
wis::Result& out_result) const
noexcept;
}

Parameters


  • this self self is a pointer to the valid WisDevice instance.
  • initial_data points to an array of initial cache data bytes. If nullptr, the cache is created empty.
  • data_size defines the size of the initial cache data in bytes.
  • cache points to WisPipelineCache, which is initialized on success.
  • return denoting the outcome of operation.

Description


See Also