copyWith method
- NativePointer? deviceContext,
- NativePointer? getProcAddress,
A copy of this value with the given members replaced.
Implementation
WglContextDescriptor copyWith({
NativePointer? deviceContext,
NativePointer? shareContext,
NativePointer? getProcAddress,
}) => WglContextDescriptor(
deviceContext: deviceContext ?? this.deviceContext,
shareContext: shareContext ?? this.shareContext,
getProcAddress: getProcAddress ?? this.getProcAddress,
);