Synced
RasterPassBuilder.UseSurface
Section titled “RasterPassBuilder.UseSurface”
- Directs this pass to a persistent presentation surface instead of the primary backbuffer.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.RasterPassBuilder Inno.Rendering.RasterPassBuilder.UseSurface(Inno.Rendering.RenderSurfaceHandle surface)Parameters
Section titled “Parameters”Parameter surface: Surface owned by the active graphics-device generation.
Returns
Section titled “Returns”This builder for fluent declarations.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when surface is invalid.