Go to the SVN repository for this file.
1 #ifndef GUI_OPENGL___GL_VBO_NODE__HPP 2 #define GUI_OPENGL___GL_VBO_NODE__HPP 80 voidSetVBOGeom(GLenum drawMode);
84 size_t GetVertexCount()
const{
returnm_VBOGeom ? m_VBOGeom->GetVertexCount() : 0; }
90GLenum
GetDrawMode()
const{
return(m_VBOGeom==
NULL) ? GL_INVALID_ENUM : m_VBOGeom->GetDrawMode();}
100 voidSetColorBuffer(
constvector<CRgbaColor>&
data);
101 voidGetColorBuffer(vector<CRgbaColor>&
data)
const;
106 voidSetTexCoordBuffer1D(
constvector<float>&
data);
107 voidGetTexCoordBuffer1D(vector<float>&
data)
const;
112 voidGet2DVertexBuffer(std::vector<
CVect2<float>>& verts)
const;
114 boolGetColors(std::vector<CRgbaColor>&
colors,
boolis_greyscale)
const;
119 boolGetDefaultColor(
CRgbaColor& default_color,
boolis_greyscale)
const;
CGlRenderNode A unit of renderable geometry and the associated state information needed for rendering...
CGlVboNode A rendering node that holds a vertex buffer object.
class CRgbaColor provides a simple abstraction for managing colors.
static const Colors colors
CIRef< IVboGeom > m_VBOGeom
subclass for vboset representing point, line, tri or quad geometry
CIRef< IVboGeom > GetVBOGeom()
virtual void x_Render()
Does actual rendering work.
void SetVBOGeom(IVboGeom *geom)
Set/get geometry object. These can be shared between nodes.
size_t GetVertexCount() const
GLenum GetDrawMode() const
Return the current drawing mode (e.g.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOPENGL_EXPORT
Standard mechanism to include OpenGL headers for all platforms.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4