bufferEquivalent
Converts the current WindowMultisample
instance to its equivalent BufferMultisample
representation.
The conversion logic depends on the specific type of the WindowMultisample
instance:
SystemDefault
results in an error as it cannot be resolved to aBufferMultisample
.Disabled
maps toBufferMultisample.Disabled
.SampleCount
maps to a correspondingBufferMultisample.SampleCount
with the same sample count value.Any other type or invalid instance results in an error.
Return
The corresponding BufferMultisample
representation for the current WindowMultisample
instance.
Throws
If the current instance is SystemDefault
or cannot be resolved.