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
Strategy for applying a frame rate change that is not seamless.
Strategy for applying a frame rate change that is not seamless.
Strategy for applying a frame rate change that is not seamless.
Strategy for applying a frame rate change that is not seamless.
Strategy for applying a frame rate change that is not seamless.
Frame rate compatibility strategy for setFrameRate.
Frame rate compatibility strategy for setFrameRate.
Frame rate compatibility strategy for setFrameRate.
Frame rate compatibility strategy for setFrameRate.
Frame rate compatibility strategy for setFrameRate.
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
Returns whether this SwapChain supports the setFrameRate API.
Returns whether this SwapChain supports the setFrameRate API.
Returns whether this SwapChain supports the setFrameRate API.
Returns whether this SwapChain supports the setFrameRate API.
Returns whether this SwapChain supports the setFrameRate API.
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 the intended frame rate for this SwapChain.
Sets the intended frame rate for this SwapChain.
Sets the intended frame rate for this SwapChain.
Sets the intended frame rate for this SwapChain.
Sets the intended frame rate for this SwapChain.
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.