Vixen
02b45cc4
csharp
public interface ISurface

Something 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 Handle

    The native handles, or None when there is nothing to present to.

  • Int2 PixelSize

    The 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