|
Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
|
Public Member Functions | |
| Primitives01 () | |
| bool | animating () const noexcept |
| bool & | animating () noexcept |
| void | display (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable to initiate rendering by the client. | |
| void | dispose (const WindowRef &win, const jau::fraction_timespec &when) override |
| Notifies the listener to perform the release of all renderer resources per context, such as memory buffers and shader programs. | |
| bool | init (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| const PMVMat4f & | pmv () const noexcept |
| PMVMat4f & | pmv () noexcept |
| void | reshape (const WindowRef &win, const jau::math::Recti &viewport, const jau::fraction_timespec &when) override |
| Called by the drawable during the first repaint after the component has been resized. | |
| std::string | toStringImpl () const noexcept override |
| const Recti & | viewport () const noexcept |
| Recti & | viewport () noexcept |
Public Member Functions inherited from gamp::wt::RenderListener | |
| constexpr | RenderListener (Private) noexcept |
| Private ctor for shared_ptr<RenderListener> instance method w/o public ctor. | |
| virtual | ~RenderListener () noexcept=default |
| RenderActions | pendingActions () const noexcept |
| RenderActions & | pendingActions () noexcept |
| void | setPendingActions (RenderActions v) noexcept |
| std::string | toString () const noexcept |
Definition at line 113 of file Primitives01.cpp.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 137 of file Primitives01.cpp.
|
inlinenoexcept |
Definition at line 139 of file Primitives01.cpp.
|
inlinenoexcept |
Definition at line 140 of file Primitives01.cpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 142 of file Primitives01.cpp.
|
inlineoverridevirtual |
Called by the drawable immediately after the render context is initialized.
Can be used to perform one-time renderer initialization per context, such as setup of lights and display lists.
Note that this method may be called more than once if the underlying render context for the drawable is destroyed and recreated.
Implements gamp::wt::RenderListener.
Definition at line 144 of file Primitives01.cpp.
|
inlineoverridevirtual |
Notifies the listener to perform the release of all renderer resources per context, such as memory buffers and shader programs.
Called by the drawable before the render context is destroyed by an external event.
Note that this event does not imply the end of life of the application.
Implements gamp::wt::RenderListener.
Definition at line 249 of file Primitives01.cpp.
|
inlineoverridevirtual |
Called by the drawable during the first repaint after the component has been resized.
The client can update it's viewport associated data and view volume of the window/surface appropriately.
For efficiency the renderer viewport has already been updated, e.g. via glViewport(x, y, width, height) when this method is called.
| drawable | the triggering GLAutoDrawable |
| viewport | the viewport in pixel units |
Implements gamp::wt::RenderListener.
Definition at line 255 of file Primitives01.cpp.
|
inlineoverridevirtual |
Called by the drawable to initiate rendering by the client.
After all listener have been notified of a display event, the drawable will swap its buffers.
Implements gamp::wt::RenderListener.
Definition at line 270 of file Primitives01.cpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from gamp::wt::RenderListener.
Definition at line 296 of file Primitives01.cpp.