tp::ImageSubresource struct

Describes a subresource of an image containing a single array layer and mip level.

Public functions

auto pickAspect(ImageAspect aspect) const -> ImageSubresource
Returns a subresource of the given aspect.