Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
22454183
Commit
22454183
authored
Nov 12, 2013
by
Philip Trettner
Browse files
Exposed glDrawRangeElements through VAO interface.
parent
1a97ed4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ACGL/OpenGL/Objects/VertexArrayObject.hh
View file @
22454183
...
...
@@ -312,6 +312,12 @@ public:
glMultiDrawElements
(
mMode
,
count
,
type
,
indices
,
primcount
);
}
inline
void
drawRangeElements
(
GLuint
start
,
GLsizei
count
)
{
glDrawRangeElements
(
mMode
,
start
,
getIndexCount
(),
count
,
getIndexType
(),
nullptr
);
}
#if (ACGL_OPENGL_VERSION >= 32)
inline
void
multiDrawElements
(
GLsizei
*
count
,
GLenum
type
,
GLvoid
**
indices
,
GLsizei
primcount
,
GLint
*
basevertex
)
const
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment