Specification
C Version:
C Implementation Specific Version:
uint64_t wisVKViewHeapWriteVideoDecodeTarget(const WisVKViewHeap* self,
const WisVKTexture* texture,
uint32_t index);
uint64_t wisDX12ViewHeapWriteVideoDecodeTarget(const WisDX12ViewHeap* self,
const WisDX12Texture* texture,
uint32_t index);
C++ Version:
namespace wis{
WIS_NODISCARD std::uint64_t ViewHeap::WriteVideoDecodeTarget(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::WriteVideoDecodeTarget(const wis::VKTexture& texture,
const wis::RenderTargetDesc& render_target,
std::uint32_t index) const noexcept;
WIS_NODISCARD std::uint64_t DX12ViewHeap::WriteVideoDecodeTarget(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 view for.
render_target specifies a pointer to WisRenderTargetDesc, which describes the texture view to write.
index defines the index in the view heap to write the view to.
- return CPU descriptor handle for the view heap.
Description
See Also