VulkanBorrowedTextureDescriptor constructor

VulkanBorrowedTextureDescriptor({
  1. required LogicalSize logicalSize,
  2. required int physicalWidth,
  3. required int physicalHeight,
  4. required VulkanContextDescriptor context,
  5. required List<VulkanBorrowedTexture> textures,
  6. required int format,
  7. required int finalLayout,
  8. VulkanImageOwner owner = const VulkanImageOwner.fromRawValue(0),
})

Implementation

VulkanBorrowedTextureDescriptor({
  required this.logicalSize,
  required this.physicalWidth,
  required this.physicalHeight,
  required this.context,
  required List<VulkanBorrowedTexture> textures,
  required this.format,
  required this.finalLayout,
  this.owner = const VulkanImageOwner.fromRawValue(0),
}) : textures = List.unmodifiable(textures);