copyWith method
- LogicalSize? logicalSize,
- int? physicalWidth,
- int? physicalHeight,
- VulkanContextDescriptor? context,
- List<
VulkanBorrowedTexture> ? textures, - int? format,
- int? finalLayout,
- VulkanImageOwner? owner,
A copy of this value with the given members replaced.
Implementation
VulkanBorrowedTextureDescriptor copyWith({
LogicalSize? logicalSize,
int? physicalWidth,
int? physicalHeight,
VulkanContextDescriptor? context,
List<VulkanBorrowedTexture>? textures,
int? format,
int? finalLayout,
VulkanImageOwner? owner,
}) => VulkanBorrowedTextureDescriptor(
logicalSize: logicalSize ?? this.logicalSize,
physicalWidth: physicalWidth ?? this.physicalWidth,
physicalHeight: physicalHeight ?? this.physicalHeight,
context: context ?? this.context,
textures: textures ?? this.textures,
format: format ?? this.format,
finalLayout: finalLayout ?? this.finalLayout,
owner: owner ?? this.owner,
);