|
Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
|
Public Member Functions | |
| Example () | |
| Example () | |
| Example () | |
| Example () | |
| Example () | |
| Example () | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| bool | init (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| bool | init (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| bool | init (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| bool | init (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| 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 GearsES2 | |
| GearsES2 () | |
| bool | dispatchForShape (GearsObjectES2 &shape, const PointerShapeAction &action, const PointerEvent &e, const WindowRef &win) |
| Dispatch PointerShapeAction to given shape w/ matrix traversal. | |
| void | display (const WindowRef &win, const jau::fraction_timespec &) 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. | |
| constexpr bool | doRotate () const noexcept |
| GearsObjectES2 * | findPick (const PointerShapeAction &action, const PointerEvent &e, const WindowRef &win) |
| Fast loop through all shapes using PointerShapeAction w/o matrix traversal using view-coordinates. | |
| bool | init (const WindowRef &win, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| constexpr Vec3f & | pan () noexcept |
| const PMVMat4f & | pmvMatrix () const noexcept |
| PMVMat4f & | pmvMatrix () 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. | |
| void | reshapeImpl (const WindowRef &win, const jau::math::Recti &viewport, float imageWidth, float imageHeight, const jau::fraction_timespec &when) |
| constexpr const jau::math::Vec3f & | rotEuler () const noexcept |
| constexpr jau::math::Vec3f & | rotEuler () noexcept |
| constexpr void | setClearBuffers (bool v) noexcept |
| void | setClearColor (const jau::math::Vec4f &clearColor) noexcept |
| constexpr void | setDoRotate (bool rotate) noexcept |
| constexpr void | setFlipVerticalInGLOrientation (bool v) noexcept |
| void | setGearsColors (const jau::math::Vec4f &gear1Color, const jau::math::Vec4f &gear2Color, const jau::math::Vec4f &gear3Color) noexcept |
| void | setZ (float zNear, float zFar, float zViewDist) |
| std::string | toStringImpl () const noexcept override |
| constexpr const jau::math::Recti & | viewport () const 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 |
Public Member Functions inherited from GraphShapes01 | |
| GraphShapes01 () | |
| 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. | |
| void | setOneFrame () noexcept |
| std::string | toStringImpl () const noexcept override |
| const Recti & | viewport () const noexcept |
| Recti & | viewport () noexcept |
Public Member Functions inherited from Primitives01 | |
| 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 Primitives02 | |
| Primitives02 () | |
| 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. | |
| void | setOneFrame () noexcept |
| std::string | toStringImpl () const noexcept override |
| const Recti & | viewport () const noexcept |
| Recti & | viewport () noexcept |
Public Member Functions inherited from RedSquareES2 | |
| RedSquareES2 () | |
| RedSquareES2 () | |
| bool | animating () const noexcept |
| bool & | animating () noexcept |
| void | display (const WindowRef &, const jau::fraction_timespec &when) override |
| Called by the drawable to initiate rendering by the client. | |
| 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 &, const jau::fraction_timespec &) override |
| Notifies the listener to perform the release of all renderer resources per context, such as memory buffers and shader programs. | |
| 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 &, const jau::fraction_timespec &when) override |
| Called by the drawable immediately after the render context is initialized. | |
| 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 |
| const PMVMat4f & | pmv () const noexcept |
| PMVMat4f & | pmv () noexcept |
| PMVMat4f & | pmv () noexcept |
| void | reshape (const WindowRef &, const jau::math::Recti &viewport, const jau::fraction_timespec &) override |
| Called by the drawable during the first repaint after the component has been resized. | |
| 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 |
| const Recti & | viewport () const noexcept |
| Recti & | viewport () noexcept |
| Recti & | viewport () noexcept |
Public Attributes | |
| bool | m_once = true |
Static Public Attributes | |
| static constexpr float | coreRadius = 0.20f |
| static constexpr float | coreRadiusHalfStep = 0.015f |
| static constexpr float | radius = 1.00f |
Additional Inherited Members | |
Static Public Member Functions inherited from GearsES2 | |
| static constexpr float | getTeethRotation (int name, float adeg) noexcept |
Definition at line 35 of file GearsES2.cpp.
|
inline |
Definition at line 211 of file GearsES2.cpp.
|
inline |
Definition at line 831 of file GraphShapes01.cpp.
|
inline |
Definition at line 329 of file Primitives01.cpp.
|
inline |
Definition at line 476 of file Primitives02.cpp.
|
inline |
Definition at line 65 of file RedSquareES2.cpp.
|
inline |
Definition at line 85 of file SolInSpace.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 217 of file GearsES2.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 225 of file GearsES2.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 835 of file GraphShapes01.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 842 of file GraphShapes01.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 333 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 340 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 480 of file Primitives02.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 487 of file Primitives02.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 69 of file RedSquareES2.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 76 of file RedSquareES2.cpp.
|
inlinenoexcept |
Definition at line 99 of file SolInSpace.cpp.
|
inlinenoexcept |
Definition at line 100 of file SolInSpace.cpp.
|
inlinenoexcept |
Definition at line 102 of file SolInSpace.cpp.
|
inlinenoexcept |
Definition at line 103 of file SolInSpace.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 105 of file SolInSpace.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 176 of file SolInSpace.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 183 of file SolInSpace.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 203 of file SolInSpace.cpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from gamp::wt::RenderListener.
Definition at line 264 of file SolInSpace.cpp.
|
staticconstexpr |
Definition at line 44 of file SolInSpace.cpp.
|
staticconstexpr |
Definition at line 45 of file SolInSpace.cpp.
|
staticconstexpr |
Definition at line 46 of file SolInSpace.cpp.
| bool Example::m_once = true |
Definition at line 201 of file SolInSpace.cpp.