|
| SkCanvas * | getCanvas (bool sync=true) const noexcept override |
| | Returns the SkCanvas associated with this pass, if available.
|
| |
| RPainter * | getPainter (bool sync=true) const noexcept override |
| | Returns the RPainter associated with this pass, if available.
|
| |
| void | setGeometry (const RSurfaceGeometry &geometry) noexcept override |
| | Sets transformation matrices.
|
| |
| | ~RPass () noexcept |
| | Destroys the render pass.
|
| |
| CZBitset< RPassCap > | caps () const noexcept |
| | Returns the capabilities enabled for this pass.
|
| |
| void | resetGeometry () noexcept |
| | Resets the geometry to the default RSurface geometry.
|
| |
| const RSurfaceGeometry & | geometry () const noexcept |
| | Returns the current geometry for this pass.
|
| |
| std::shared_ptr< RSurface > | surface () const noexcept |
| | Returns the destination surface being rendered into.
|
| |
| void | save () noexcept |
| | Saves the state of both RPainter and SkCanvas.
|
| |
| void | restore () noexcept |
| | Restores the most recently saved state of RPainter and SkCanvas.
|
| |
| | RObject ()=default |
| | Constructs a default RObject.
|
| |
Vulkan render pass.
Multiplexes an RVKPainter and a Skia SkCanvas over the same VkImage. On destruction it flushes and submits any deferred Skia work so the rendering is realized on the queue before the base RPass publishes the image's write RSync (an empty submit ordered after it on the same queue), then reconciles the image's tracked VkImageLayout with Skia's.