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