SwapChain
A SwapChain represents an Operating System's native renderable surface.
Typically, it's a native window or a view. A SwapChain is initialized from a native object, which must be of the proper type for each platform Filament is running on:
| Platform | Native Type |
|---|---|
| Android | ANativeWindow* |
| macOS - OpenGL | NSView* |
| macOS - Metal | CAMetalLayer* |
| iOS - OpenGL | CAEAGLLayer* |
| iOS - Metal | CAMetalLayer* |
| X11 | Window |
| Windows | HWND |
See also
A SwapChain represents an Operating System's native renderable surface.
Typically, it's a native window or a view. A SwapChain is initialized from a native object, which must be of the proper type for each platform Filament is running on:
| Platform | Native Type |
|---|---|
| Android | ANativeWindow* |
| macOS - OpenGL | NSView* |
| macOS - Metal | CAMetalLayer* |
| iOS - OpenGL | CAEAGLLayer* |
| iOS - Metal | CAMetalLayer* |
| X11 | Window |
| Windows | HWND |
See also
A SwapChain represents an Operating System's native renderable surface.
Typically, it's a native window or a view. A SwapChain is initialized from a native object, which must be of the proper type for each platform Filament is running on:
| Platform | Native Type |
|---|---|
| Android | ANativeWindow* |
| macOS - OpenGL | NSView* |
| macOS - Metal | CAMetalLayer* |
| iOS - OpenGL | CAEAGLLayer* |
| iOS - Metal | CAMetalLayer* |
| X11 | Window |
| Windows | HWND |
See also
A SwapChain represents an Operating System's native renderable surface.
Typically, it's a native window or a view. A SwapChain is initialized from a native object, which must be of the proper type for each platform Filament is running on:
| Platform | Native Type |
|---|---|
| Android | ANativeWindow* |
| macOS - OpenGL | NSView* |
| macOS - Metal | CAMetalLayer* |
| iOS - OpenGL | CAEAGLLayer* |
| iOS - Metal | CAMetalLayer* |
| X11 | Window |
| Windows | HWND |
See also
A SwapChain represents an Operating System's native renderable surface.
Typically, it's a native window or a view. A SwapChain is initialized from a native object, which must be of the proper type for each platform Filament is running on:
| Platform | Native Type |
|---|---|
| Android | ANativeWindow* |
| macOS - OpenGL | NSView* |
| macOS - Metal | CAMetalLayer* |
| iOS - OpenGL | CAEAGLLayer* |
| iOS - Metal | CAMetalLayer* |
| X11 | Window |
| Windows | HWND |
See also
Types
Properties
Checks if a frame scheduled callback is currently set on this SwapChain.
Checks if a frame scheduled callback is currently set on this SwapChain.
Checks if a frame scheduled callback is currently set on this SwapChain.
Checks if a frame scheduled callback is currently set on this SwapChain.
Checks if a frame scheduled callback is currently set on this SwapChain.
Gets the native SwapChain object handle.
Gets the native SwapChain object handle.
Gets the native SwapChain object handle.
Gets the native SwapChain object handle.
Gets the native SwapChain object handle.
Gets the native window/surface associated with this SwapChain.
Gets the native window/surface associated with this SwapChain.
Gets the native window/surface associated with this SwapChain.
Gets the native window/surface associated with this SwapChain.
Gets the native window/surface associated with this SwapChain.
Functions
Sets a callback to be invoked when a frame's rendering has completed on the GPU.
Sets a callback to be invoked when a frame's rendering has completed on the GPU.
Sets a callback to be invoked when a frame's rendering has completed on the GPU.
Sets a callback to be invoked when a frame's rendering has completed on the GPU.
Sets a callback to be invoked when a frame's rendering has completed on the GPU.
Sets a callback to be invoked when a frame is scheduled for presentation.
Sets a callback to be invoked when a frame is scheduled for presentation.
Sets a callback to be invoked when a frame is scheduled for presentation.
Sets a callback to be invoked when a frame is scheduled for presentation.
Sets a callback to be invoked when a frame is scheduled for presentation.