|
KiCad PCB EDA Suite
|
Common defines and consts used in vertex related classes. More...
Go to the source code of this file.
Classes | |
| struct | KIGFX::VERTEX |
Namespaces | |
| namespace | KIGFX |
| The Cairo implementation of the graphics abstraction layer. | |
Enumerations | |
| enum | KIGFX::SHADER_MODE { KIGFX::SHADER_NONE = 0 , KIGFX::SHADER_FILLED_CIRCLE = 2 , KIGFX::SHADER_STROKED_CIRCLE = 3 , KIGFX::SHADER_FONT = 4 , KIGFX::SHADER_LINE_A = 5 , KIGFX::SHADER_LINE_B = 6 , KIGFX::SHADER_LINE_C = 7 , KIGFX::SHADER_LINE_D = 8 , KIGFX::SHADER_LINE_E = 9 , KIGFX::SHADER_LINE_F = 10 , KIGFX::SHADER_HOLE_WALL = 11 } |
| < Possible types of shaders (keep consistent with the actual shader source in kicad_vert.glsl and kicad_frag.glsl). More... | |
Variables | |
| static constexpr size_t | KIGFX::VERTEX_SIZE = sizeof( VERTEX ) |
| static constexpr size_t | KIGFX::VERTEX_STRIDE = VERTEX_SIZE / sizeof( GLfloat ) |
| static constexpr size_t | KIGFX::COORD_OFFSET = offsetof( VERTEX, x ) |
| static constexpr size_t | KIGFX::COORD_SIZE |
| static constexpr size_t | KIGFX::COORD_STRIDE = COORD_SIZE / sizeof( GLfloat ) |
| static constexpr size_t | KIGFX::COLOR_OFFSET = offsetof( VERTEX, r ) |
| static constexpr size_t | KIGFX::COLOR_SIZE |
| static constexpr size_t | KIGFX::COLOR_STRIDE = COLOR_SIZE / sizeof( GLubyte ) |
| static constexpr size_t | KIGFX::SHADER_OFFSET = offsetof( VERTEX, shader ) |
| static constexpr size_t | KIGFX::SHADER_SIZE = sizeof( VERTEX::shader ) |
| static constexpr size_t | KIGFX::SHADER_STRIDE = SHADER_SIZE / sizeof( GLfloat ) |
| static constexpr size_t | KIGFX::INDEX_SIZE = sizeof( GLuint ) |
Common defines and consts used in vertex related classes.
Definition in file vertex_common.h.