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

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
const WisTexture* texture,
const WisRenderTargetDesc* render_target,
uint32_t index);
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
uint64_t wisVKViewHeapWriteRenderTarget(const WisVKViewHeap* self,
const WisVKTexture* texture,
const WisRenderTargetDesc* render_target,
uint32_t index);
// Provided by Wisdom 0.7.0.
uint64_t wisDX12ViewHeapWriteRenderTarget(const WisDX12ViewHeap* self,
const WisDX12Texture* texture,
const WisRenderTargetDesc* render_target,
uint32_t index);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
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{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD std::uint64_t VKViewHeap::WriteRenderTarget(const wis::VKTexture& texture,
const wis::RenderTargetDesc& render_target,
std::uint32_t index) const noexcept;
// Provided by Wisdom 0.7.0.
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