Specification
C Version:
WisBufferView buffer,
uint32_t index);
C Implementation Specific Version:
WisResult wisVKDescriptorHeapWriteRWStructuredBuffer(
const WisVKDescriptorHeap* self,
WisVKBufferView buffer,
uint32_t index);
WisResult wisDX12DescriptorHeapWriteRWStructuredBuffer(
const WisDX12DescriptorHeap* self,
WisDX12BufferView buffer,
uint32_t index);
C++ Version:
namespace wis{
wis::Result DescriptorHeap::WriteRWStructuredBuffer(wis::BufferView buffer,
const wis::BufferBinding& data,
std::uint32_t index) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
wis::Result VKDescriptorHeap::WriteRWStructuredBuffer(wis::VKBufferView buffer,
const wis::BufferBinding& data,
std::uint32_t index) const noexcept;
wis::Result DX12DescriptorHeap::WriteRWStructuredBuffer(wis::DX12BufferView buffer,
const wis::BufferBinding& data,
std::uint32_t index) const noexcept;
}
Parameters
- this
self self is a pointer to the valid WisDescriptorHeap instance.
buffer specifies a pointer to WisBuffer to write the descriptor for.
data specifies a pointer to WisBufferBinding, which describes the shader resource view descriptors to write.
index defines the index in the descriptor heap to write the descriptors to.
- return denoting the outcome of operation.
Description
See Also