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

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
WisBufferView dst_buffer,
WisTextureView src_texture,
size_t region_count);
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
void wisVKCommandListCopyTextureToBuffer(const WisVKCommandList* self,
WisVKBufferView dst_buffer,
WisVKTextureView src_texture,
size_t region_count);
// Provided by Wisdom 0.7.0.
void wisDX12CommandListCopyTextureToBuffer(const WisDX12CommandList* self,
WisDX12BufferView dst_buffer,
WisDX12TextureView src_texture,
size_t region_count);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
void CommandList::CopyTextureToBuffer(wis::BufferView dst_buffer,
wis::TextureView src_texture,
wis::span<const wis::BufferTextureCopyRegion> regions) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
void VKCommandList::CopyTextureToBuffer(wis::VKBufferView dst_buffer,
wis::VKTextureView src_texture,
wis::span<const wis::BufferTextureCopyRegion> regions) const noexcept;
// Provided by Wisdom 0.7.0.
void DX12CommandList::CopyTextureToBuffer(wis::DX12BufferView dst_buffer,
wis::DX12TextureView src_texture,
wis::span<const wis::BufferTextureCopyRegion> regions) const noexcept;
}

Parameters


  • this self self is a pointer to the valid WisCommandList instance.
  • dst_buffer defines a pointer to the destination buffer.
  • src_texture describes a pointer to the source texture. Texture must be in WisTextureStateCopySrc.
  • regions points to an array of WisBufferTextureCopyRegion that defines the copy regions.
  • region_count defines the count of the regions.

Description


See Also