Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::example::NativeEmbedSurface Struct Reference

Platform object and selected root for the example's runtime surface. The GLFW window must outlive this object and its runtime surface. More...

#include "examples/geode_embed_surface.h"

Public Attributes

std::shared_ptr< geode::GeodeGpuRoot > root
 Selected Geode root used by the rendering context.
gpu::NativeSurfaceHandle native
 Handle naming the host-owned platform surface for runtime attachment.
gpu::TextureFormat format = gpu::TextureFormat::BGRA8Unorm
 Chosen presentation format.

Detailed Description

Platform object and selected root for the example's runtime surface. The GLFW window must outlive this object and its runtime surface.

Member Data Documentation

◆ format

gpu::TextureFormat donner::example::NativeEmbedSurface::format = gpu::TextureFormat::BGRA8Unorm

Chosen presentation format.

Examples
geode_embed.cc.

◆ native

gpu::NativeSurfaceHandle donner::example::NativeEmbedSurface::native

Handle naming the host-owned platform surface for runtime attachment.

Examples
geode_embed.cc.

◆ root

std::shared_ptr<geode::GeodeGpuRoot> donner::example::NativeEmbedSurface::root

Selected Geode root used by the rendering context.

Examples
geode_embed.cc.

The documentation for this struct was generated from the following file: