#include <GraphRegion.hpp>
Definition at line 43 of file GraphRegion.hpp.
◆ u32buffer_t
◆ DirtyBits
◆ GraphRegion()
| gamp::graph::gl::GraphRegion::GraphRegion |
( |
RenderMode | m | ) |
|
|
inline |
◆ JAU_MAKE_BITFIELD_ENUM_STRING_MEMBER()
| gamp::graph::gl::GraphRegion::JAU_MAKE_BITFIELD_ENUM_STRING_MEMBER |
( |
DirtyBits | , |
|
|
shape | , |
|
|
state | ) |
◆ renderMode()
| RenderMode gamp::graph::gl::GraphRegion::renderMode |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ hasNormalChannel()
| bool gamp::graph::gl::GraphRegion::hasNormalChannel |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ hasColorChannel()
| bool gamp::graph::gl::GraphRegion::hasColorChannel |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ arrayCompsPerElement()
| GLsizei gamp::graph::gl::GraphRegion::arrayCompsPerElement |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ indexCount()
| GLsizei gamp::graph::gl::GraphRegion::indexCount |
( |
| ) |
const |
|
inlinenoexcept |
◆ vertexCount()
| GLsizei gamp::graph::gl::GraphRegion::vertexCount |
( |
| ) |
const |
|
inlinenoexcept |
◆ clear()
| void gamp::graph::gl::GraphRegion::clear |
( |
GL & | gl | ) |
|
|
inline |
◆ seal()
| void gamp::graph::gl::GraphRegion::seal |
( |
GL & | gl, |
|
|
bool | seal_ ) |
|
inline |
◆ addOutlineShape() [1/2]
| void gamp::graph::gl::GraphRegion::addOutlineShape |
( |
GL & | gl, |
|
|
OutlineShape & | shape ) |
|
inline |
◆ addOutlineShape() [2/2]
| void gamp::graph::gl::GraphRegion::addOutlineShape |
( |
OutlineShape & | shape | ) |
|
|
inline |
◆ draw()
| void gamp::graph::gl::GraphRegion::draw |
( |
GL & | gl, |
|
|
GraphRenderer & | renderer ) |
|
inline |
Renders the associated OGL objects specifying current width/hight of window for optional multi pass rendering of the region.
User shall consider enabling the renderer beforehand and disabling it afterwards when used in conjunction with other renderer.
Users shall also consider setting the clear-color appropriately:
Definition at line 227 of file GraphRegion.hpp.
◆ bounds()
| const AABBox3f & gamp::graph::gl::GraphRegion::bounds |
( |
| ) |
const |
|
inlineconstexprnoexcept |
- Returns
- the AxisAligned bounding box of current region
Definition at line 282 of file GraphRegion.hpp.
◆ markShapeDirty()
| void gamp::graph::gl::GraphRegion::markShapeDirty |
( |
| ) |
|
|
inlinenoexcept |
Mark this region's shape dirty, i.e.
its vertices, triangles, lines and/or color-texture coordinates changed.
The data will be re-uploaded to the GPU at next draw(..).
In 2-pass mode, this implies updating the FBO itself as well.
Definition at line 294 of file GraphRegion.hpp.
◆ isShapeDirty()
| bool gamp::graph::gl::GraphRegion::isShapeDirty |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ markStateDirty()
| void gamp::graph::gl::GraphRegion::markStateDirty |
( |
| ) |
|
|
inlinenoexcept |
Mark this region's render-state dirty, i.e.
re-selecting a shader program regarding color-texture and -channel, and rendering the region into the FBO in 2-pass mode.
In 1-pass mode, re-selection of the shader-program is based on color-texture and -channel only.
Definition at line 306 of file GraphRegion.hpp.
◆ isStateDirty()
| bool gamp::graph::gl::GraphRegion::isStateDirty |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ dirtyBits()
| DirtyBits gamp::graph::gl::GraphRegion::dirtyBits |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ toString()
| std::string gamp::graph::gl::GraphRegion::toString |
( |
| ) |
|
|
inlinenoexcept |
◆ DEFAULT_TWO_PASS_TEXTURE_UNIT
| int gamp::graph::gl::GraphRegion::DEFAULT_TWO_PASS_TEXTURE_UNIT = 0 |
|
staticconstexpr |
The documentation for this class was generated from the following file: