Specification
C Version:
C Implementation Specific Version:
uint64_t wisVKViewHeapWriteRenderTarget(const WisVKViewHeap* self,
const WisVKTexture* texture,
uint32_t index);
uint64_t wisDX12ViewHeapWriteRenderTarget(const WisDX12ViewHeap* self,
const WisDX12Texture* texture,
uint32_t index);
C++ Version:
namespace wis{
WIS_NODISCARD std::uint64_t ViewHeap::WriteRenderTarget(const wis::Texture& texture,
const wis::RenderTargetDesc& render_target,
std::uint32_t index) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD std::uint64_t VKViewHeap::WriteRenderTarget(const wis::VKTexture& texture,
const wis::RenderTargetDesc& render_target,
std::uint32_t index) const noexcept;
WIS_NODISCARD std::uint64_t DX12ViewHeap::WriteRenderTarget(const wis::DX12Texture& texture,
const wis::RenderTargetDesc& render_target,
std::uint32_t index) const noexcept;
}
Parameters
- this
self self is a pointer to the valid WisViewHeap instance.
texture describes a pointer to WisTexture to write the descriptor for.
render_target specifies a pointer to WisRenderTargetDesc, which describes the render target view to write.
index defines the index in the view heap to write the descriptor to.
- return CPU descriptor handle for the view heap.
Description
See Also