csharp
public interface ISurfaceSomething a graphics backend can present to.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from IWindow because the two do not always come together: a browser canvas is a surface with no window around it, an offscreen render target is a window with no surface, and a backend only ever needs this half.
Fields and properties (2)
SurfaceHandle HandleThe native handles, or None when there is nothing to present to.
Int2 PixelSizeThe surface's size in physical pixels, which is the size a swapchain is built at.
Used by (17)
- PbrShowcaseGamePbrShowcase
- TriangleGameHelloTriangle
- UiHostHelloUi
- VideoGameVideoPlayback
- VirtualGeometryGameVirtualGeometry
- AppGraphicsVixen.App.Hosting
- DesktopPlatformTestsVixen.Platform.Desktop.Tests
- DesktopSurfaceVixen.Platform.Desktop
- DesktopWindowVixen.Platform.Desktop
- HeadlessPlatformTestsVixen.Platform.Headless.Tests
- HeadlessSurfaceVixen.Platform.Headless
- HeadlessWindowVixen.Platform.Headless
- IWindowVixen.Platform
- WindowsDialogsVixen.Platform.Windows
- EditorHostVixen.Editor.Host
- EditorPaneVixen.Editor.Host
- GraphicsHostVixen.App