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

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
uint64_t buffer_offset;
uint32_t buffer_row_length;
uint32_t buffer_image_height;
WisTextureRegion texture_region;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct BufferTextureCopyRegion {
std::uint64_t buffer_offset;
std::uint32_t buffer_row_length;
std::uint32_t buffer_image_height;
wis::TextureRegion texture_region;
};
}

Members


  • buffer_offset specifies buffer offset in bytes.
  • buffer_row_length describes buffer row length in pixels. Used for calculating the offset in the buffer for each row of the texture.
  • buffer_image_height describes buffer image height in pixels. Used for calculating the offset in the buffer for each image of the texture.
  • texture_region describes texture region to copy.

Description


See Also


See also
Functions: wisCommandListCopyBufferToTexture, wisCommandListCopyTextureToBuffer