#include <StkLineRenderer.h>
|
|
void | clearBuffers () |
| |
|
bool | initBuffers (const std::vector< STK::Vector3f > &points) |
| |
|
bool | initShader () |
| |
|
void | clearStippleTexture () |
| |
|
void | initStippleTexture () |
| |
|
void | initBuffersAdj () |
| |
|
bool | initShaderAdj () |
| |
|
void | redrawAdj (const STK::Matrix4x4f &mv, const STK::Matrix4x4f &pj, const STK::Viewport &vp) |
| |
|
|
std::shared_ptr< STK::ShaderProgramManager > | shader_mgr_ |
| |
|
std::shared_ptr< STK::ShaderProgram > | line_shader_ |
| |
|
int | vtx_attrib_id_ |
| |
|
int | next_attrib_id_ |
| |
|
int | prev_attrib_id_ |
| |
|
GLuint | vao_ = 0 |
| |
|
GLuint | idx_vbo_ |
| |
|
GLuint | vtx_vbo_ |
| |
|
GLuint | next_vbo_ |
| |
|
GLuint | prev_vbo_ |
| |
|
bool | buffers_dirty_ |
| |
|
STK::Vector4f | color_ |
| |
|
float | thickness_ |
| |
|
float | miter_limit_ |
| |
|
std::vector< STK::Vector3f > | points_ |
| |
|
int | num_idx_ |
| |
|
float | stipple_factor_ |
| |
|
std::vector< unsigned char > | dashes_ |
| |
|
bool | stipple_dirty_ |
| |
|
GLuint | stip_tex_ |
| |
|
bool | use_geom_shaders_ |
| |
LineRenderer - Short description. Detailed description.
◆ setDashes()
| void STK::LineRenderer::setDashes |
( |
const std::vector< unsigned char > & |
pattern | ) |
|
|
inline |
Set stippling as a pattern of alternating dashes and spaces.
◆ setUseGeometryShaders()
| void STK::LineRenderer::setUseGeometryShaders |
( |
bool |
use_geom_shaders | ) |
|
|
inline |
Use geometry shaders, if available. This is the most advanced version, and probably the most efficient.
The documentation for this class was generated from the following files:
- Native/SilentToolkit/StkScene/StkLineRenderer.h
- Native/SilentToolkit/StkScene/StkLineRenderer.cpp