copyWith method
- NativePointer? instance,
- NativePointer? physicalDevice,
- NativePointer? device,
- NativePointer? graphicsQueue,
- int? graphicsQueueFamilyIndex,
- NativePointer? getInstanceProcAddr,
- NativePointer? getDeviceProcAddr,
A copy of this value with the given members replaced.
Implementation
VulkanContextDescriptor copyWith({
NativePointer? instance,
NativePointer? physicalDevice,
NativePointer? device,
NativePointer? graphicsQueue,
int? graphicsQueueFamilyIndex,
NativePointer? getInstanceProcAddr,
NativePointer? getDeviceProcAddr,
}) => VulkanContextDescriptor(
instance: instance ?? this.instance,
physicalDevice: physicalDevice ?? this.physicalDevice,
device: device ?? this.device,
graphicsQueue: graphicsQueue ?? this.graphicsQueue,
graphicsQueueFamilyIndex:
graphicsQueueFamilyIndex ?? this.graphicsQueueFamilyIndex,
getInstanceProcAddr: getInstanceProcAddr ?? this.getInstanceProcAddr,
getDeviceProcAddr: getDeviceProcAddr ?? this.getDeviceProcAddr,
);