Specification
C Version:
WisBufferView dst_buffer,
WisTextureView src_texture,
size_t region_count);
C Implementation Specific Version:
void wisVKCommandListCopyTextureToBuffer(const WisVKCommandList* self,
WisVKBufferView dst_buffer,
WisVKTextureView src_texture,
size_t region_count);
void wisDX12CommandListCopyTextureToBuffer(const WisDX12CommandList* self,
WisDX12BufferView dst_buffer,
WisDX12TextureView src_texture,
size_t region_count);
C++ Version:
namespace wis{
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{
void VKCommandList::CopyTextureToBuffer(wis::VKBufferView dst_buffer,
wis::VKTextureView src_texture,
wis::span<const wis::BufferTextureCopyRegion> regions) const noexcept;
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