On Wed Jun 15 14:58:31 2022 +0000, Piotr Caban wrote:
I was planning to skip the subresource_count since it's encoded in D3DX10_IMAGE_LOAD_INFO. I think that the patches are currently implementing "first option" (unless you prefer to store subresource_count explicitly or use custom structure). I have added a comment saying that returned data contains both `D3D10_SUBRESOURCE_DATA` structures and actual data.
Ah sure, subresource_count was there as an example. A custom structure would be nice but I understand that's awkward with "first option" so the comment will do.