|
Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
|
Basic Graph Framework. More...
Classes | |
| class | gamp::graph::tess::GLUtilTesselator |
| GLUtilTesselator transform OutlineShapes to triangles using glutess2. More... | |
| class | gamp::graph::Graph |
| class | gamp::graph::gl::GraphRegion |
| class | gamp::graph::gl::GraphRenderer |
| OpenGL GraphRenderer. More... | |
| class | gamp::graph::Outline |
| Define a single continuous stroke by control vertices. More... | |
| class | gamp::graph::OutlineShape |
| A Generic shape objects which is defined by a list of Outlines. More... | |
| class | gamp::graph::gl::RegionRenderer |
OpenGL Region renderer. More... | |
| class | gamp::graph::gl::RenderNames |
| class | gamp::graph::gl::RenderState |
| The RenderState is owned by GraphRenderer. More... | |
| class | gamp::graph::Triangle |
| class | gamp::graph::Vertex |
Typedefs | |
| typedef jau::darray< Outline, uint32_t > | gamp::graph::OutlineList |
| typedef std::shared_ptr< Triangle > | gamp::graph::TriangleRef |
| typedef jau::darray< TriangleRef, uint32_t > | gamp::graph::TriangleRefList |
| typedef jau::darray< Vertex, uint32_t > | gamp::graph::VertexList |
Enumerations | |
| enum class | gamp::graph::RenderMode : uint16_t { gamp::graph::RenderMode::none = 0 , gamp::graph::RenderMode::msaa = 1 << 0 , gamp::graph::RenderMode::vbaa = 1 << 1 , gamp::graph::RenderMode::aa_mask = msaa | vbaa , gamp::graph::RenderMode::varweight = 1 << 8 , gamp::graph::RenderMode::normalchannel = 1 << 9 , gamp::graph::RenderMode::colorchannel = 1 << 10 , gamp::graph::RenderMode::colortexture = 1 << 11 , gamp::graph::RenderMode::light0 = 1 << 12 } |
| Render mode bits being part of the shader-selection-key. More... | |
Functions | |
| constexpr bool | gamp::graph::hasColorChannel (RenderMode m) noexcept |
| constexpr bool | gamp::graph::hasColorTexture (RenderMode renderMode) noexcept |
| Returns true if render mode has a color texture, i.e. | |
| constexpr bool | gamp::graph::hasLight0 (RenderMode m) noexcept |
| constexpr bool | gamp::graph::hasNormalChannel (RenderMode m) noexcept |
| constexpr bool | gamp::graph::hasVariableWeight (RenderMode renderMode) noexcept |
| constexpr bool | gamp::graph::isGraphAA (RenderMode renderMode) noexcept |
Returns true if given renderModes has any of RenderMode::aa_mask set. | |
| constexpr bool | gamp::graph::isMSAA (RenderMode renderMode) noexcept |
Returns true if given renderModes has RenderMode::msaa set. | |
| constexpr bool | gamp::graph::isTwoPass (RenderMode renderMode) noexcept |
Returns true if given renderModes has any of RenderMode::aa_mask set. | |
| constexpr bool | gamp::graph::isVBAA (RenderMode renderMode) noexcept |
Returns true if given renderModes has RenderMode::vbaa set. | |
| gamp::graph::JAU_MAKE_BITFIELD_ENUM_STRING (RenderMode, msaa, vbaa, varweight, normalchannel, colorchannel, colortexture, light0) | |
Basic Graph Framework.
| typedef jau::darray<Outline, uint32_t> gamp::graph::OutlineList |
Definition at line 320 of file Outline.hpp.
| typedef jau::darray<Vertex, uint32_t> gamp::graph::VertexList |
Definition at line 124 of file PrimTypes.hpp.
| typedef std::shared_ptr<Triangle> gamp::graph::TriangleRef |
Definition at line 127 of file PrimTypes.hpp.
| typedef jau::darray<TriangleRef, uint32_t> gamp::graph::TriangleRefList |
Definition at line 128 of file PrimTypes.hpp.
|
strong |
Render mode bits being part of the shader-selection-key.
| Enumerator | |
|---|---|
| none | One pass |
| msaa | MSAA based Anti-Aliasing, a two pass region rendering, slower and more resource hungry (FBO with sample buffer), but providing fast MSAA in case the whole scene is not rendered with MSAA. In case sample count is 1, no FBO sample buffer is used but a simple bilinear texture filter. |
| vbaa | View based Anti-Aliasing, a two pass region rendering, slower and more resource hungry (FBO), but AA is perfect. Otherwise the default fast one pass MSAA region rendering is being used. In case sample count is 1, no FBO supersampling is performed but a simple bilinear texture filter used. Depending on AA-quality, |
| aa_mask | 2-pass rendering bit-mask including RenderBits::msaa and RenderBits::vbaa. |
| varweight | Use non uniform weights [0.0 . . 1.9] for curve region rendering. Otherwise the default weight 1.0 for uniform curve region rendering is being applied. |
| normalchannel | If set, a full normal channel attribute per vertex is added to the stream. |
| colorchannel | If set, a color channel attribute per vertex is added to the stream, otherwise static color can being used for a monotonic color. |
| colortexture | If set, a color texture is used to determine the color via TextureSequence passed to the implementation. |
| light0 | Enable light0, implies normalchannel. |
Definition at line 31 of file RenderMode.hpp.
| gamp::graph::JAU_MAKE_BITFIELD_ENUM_STRING | ( | RenderMode | , |
| msaa | , | ||
| vbaa | , | ||
| varweight | , | ||
| normalchannel | , | ||
| colorchannel | , | ||
| colortexture | , | ||
| light0 | ) |
|
inlineconstexprnoexcept |
Returns true if given renderModes has RenderMode::vbaa set.
Definition at line 92 of file RenderMode.hpp.
|
inlineconstexprnoexcept |
Returns true if given renderModes has RenderMode::msaa set.
Definition at line 95 of file RenderMode.hpp.
|
inlineconstexprnoexcept |
Returns true if given renderModes has any of RenderMode::aa_mask set.
Definition at line 98 of file RenderMode.hpp.
|
inlineconstexprnoexcept |
Returns true if given renderModes has any of RenderMode::aa_mask set.
Definition at line 101 of file RenderMode.hpp.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Returns true if render mode has a color texture, i.e.
the bit COLORTEXTURE_RENDERING_BIT is set, otherwise false.
Definition at line 113 of file RenderMode.hpp.
|
inlineconstexprnoexcept |
Definition at line 115 of file RenderMode.hpp.