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

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
WisTextureView dst_texture,
WisBufferView src_buffer,
size_t region_count);
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
void wisVKCommandListCopyBufferToTexture(const WisVKCommandList* self,
WisVKTextureView dst_texture,
WisVKBufferView src_buffer,
size_t region_count);
// Provided by Wisdom 0.7.0.
void wisDX12CommandListCopyBufferToTexture(const WisDX12CommandList* self,
WisDX12TextureView dst_texture,
WisDX12BufferView src_buffer,
size_t region_count);

C++ Version:

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

Parameters


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

Description


See Also