bufferEquivalent
Converts the current WindowMultisample instance to its equivalent BufferMultisample representation.
The conversion logic depends on the specific type of the WindowMultisample instance:
SystemDefaultresults in an error as it cannot be resolved to aBufferMultisample.Disabledmaps toBufferMultisample.Disabled.SampleCountmaps to a correspondingBufferMultisample.SampleCountwith 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.