Skip to content
Discussion options

You must be logged in to vote

I have converted this questions to Discussion Q&A as this is the appropriate place for such discussions.

TransferTask can only copy complete BufferInfo and ImageInfo but in the case of BufferInfo you can created your own BufferInfo that addresses a portion of the overall BufferInfo. You can't presently do the same for ImageInfo as they are backed by a very specific type of object on the GPU and would need more elaborate mechanism.

One possible alternative would be to copy the data via BufferInfo and then copy this to the image, this would be too disimilar to the vsgdynamictexture_cs example does, where it reformats RGB data into RGBA that can be assigned to the vkImage.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by robertosfield
Comment options

You must be logged in to vote
2 replies
@robertosfield
Comment options

@simwangrui
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #742 on March 08, 2023 08:58.