/** Initializes this struct with the specified values. */
  public VkImageSubresourceRange set(
      int aspectMask, int baseMipLevel, int levelCount, int baseArrayLayer, int layerCount) {
    aspectMask(aspectMask);
    baseMipLevel(baseMipLevel);
    levelCount(levelCount);
    baseArrayLayer(baseArrayLayer);
    layerCount(layerCount);

    return this;
  }