Synced
IRenderDevice.SetPrimaryPresentationSize
Section titled “IRenderDevice.SetPrimaryPresentationSize”
- Queues primary output availability and its real pixel extent for the next frame safety point.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”void Inno.Rendering.IRenderDevice.SetPrimaryPresentationSize(Inno.Rendering.RenderPresentationSize? size)Parameters
Section titled “Parameters”Parameter size: A valid drawable pixel extent, or null when the primary surface cannot currently present.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The assigned extent has zero or negative dimensions, including a default struct value.