Class that represents the default iOS graphics output. More...
#include <kanzi/platform/platform/graphics_output/ios/default_ios_graphics_output.hpp>
Protected Member Functions | |
| void | updateCache (uint32_t width, uint32_t height) |
| Updates the target layout area size. | |
Protected Member Functions inherited from kanzi::GraphicsOutput | |
| void | updateDpi (Vector2 dpi) |
| Updates the target layout area resolution. | |
| void | updateSize (unsigned int width, unsigned int height) |
| Updates the target layout area size. | |
Class that represents the default iOS graphics output.
CALayer* pointer directly; DefaultIosGraphicsOutputProperties is removed.
|
explicit |
Constructor for embedded use with an externally-owned layer.
The layer must be a CAMetalLayer. Does not create UIWindow, UIView, or UIViewController.
| layer | The CAMetalLayer to use for rendering. |
|
override |
Destructor.
|
delete |
Delete copy and move constructors and operators.
|
deletenoexcept |
|
overridevirtual |
EventSource::gatherEvents() implementation.
Implements kanzi::EventSource.
|
overridevirtualnoexcept |
WakeupSignalSource::getNativeEventHandle() implementation.
Implements kanzi::WakeupSignalSource.
|
overridevirtualnoexcept |
FramebufferGraphicsOutput::getTargetTransformation() implementation.
Implements kanzi::FramebufferGraphicsOutput.
|
overridevirtualnoexcept |
FramebufferGraphicsOutput::getNativeFramebufferHandle() implementation.
Implements kanzi::FramebufferGraphicsOutput.
Registers a frame callback to call each frame.
Used from Objective-C++ code to register frame callback to run Kanzi main loop.
| callback | Callback function to call each frame. |
|
inlinenoexcept |
Get the internal event queue.
Used internally from Objective-C++ code to add input events.
| void kanzi::ios::DefaultIosGraphicsOutput::perFrameCallback | ( | ) |
Called by Objective-C++ code to pass per frame signal from view.
|
delete |
|
deletenoexcept |
|
protected |
Updates the target layout area size.
| width | The layout width in pixels. |
| height | The layout height in pixels. |