![]() |
OTB
7.2.0
Orfeo Toolbox
|
Classes | |
struct | BufferObject |
struct | BufferObjectPolicy |
struct | Error |
class | Handle |
struct | Mesh |
struct | TypeTraits |
struct | TypeTraits< type > |
struct | VertexArrayObjectPolicy |
Typedefs | |
using | Id_t = GLuint |
using | IndexBufferObject = BufferObject< element::index > |
using | VertexArrayObject = Handle< VertexArrayObjectPolicy > |
using | VertexBufferObject = BufferObject< element::vertex > |
Enumerations | |
enum | element : GLenum { element::vertex = GL_ARRAY_BUFFER, element::index = GL_ELEMENT_ARRAY_BUFFER } |
enum | error : int { error::clear = 0, error::trace, error::assertion, error::exception } |
Functions | |
template<error E = error::exception> | |
GLenum | CheckError () |
Mesh | MakeInterleavedTexturedQuad (Id_t xy, Id_t uv) |
Mesh | MakeQuad (Id_t xy) |
Mesh | MakeTexturedQuad (Id_t xy, Id_t uv) |
template<> | |
struct otb::gl::TypeTraits< type > | OTB_GL_TYPE_TRAITS (GLfloat, GL_FLOAT, "GLfloat") |
OTB_GL_TYPE_TRAITS (GLdouble, GL_DOUBLE, "GLdouble") | |
OTB_GL_TYPE_TRAITS (GLint, GL_INT, "GLint") | |
OTB_GL_TYPE_TRAITS (GLuint, GL_UNSIGNED_INT, "GLuint") | |
typedef GLuint otb::gl::Id_t |
Definition at line 40 of file otbGlHandle.h.
using otb::gl::IndexBufferObject = typedef BufferObject< element::index > |
Definition at line 167 of file otbGlBufferObject.h.
using otb::gl::VertexArrayObject = typedef Handle< VertexArrayObjectPolicy > |
VertexArrayObject type definition.
Definition at line 46 of file otbGlVertexArrayObject.h.
using otb::gl::VertexBufferObject = typedef BufferObject< element::vertex > |
Definition at line 166 of file otbGlBufferObject.h.
|
strong |
OpenGL element-type of buffer-object.
Enumerator | |
---|---|
vertex | |
index |
Definition at line 36 of file otbGlBufferObject.h.
|
strong |
Enumerator | |
---|---|
clear | |
trace | |
assertion | |
exception |
Definition at line 69 of file otbGlError.h.
GLenum otb::gl::CheckError | ( | ) |
Definition at line 80 of file otbGlError.h.
References assertion, exception, and trace.
Referenced by otb::gl::Handle< VertexArrayObjectPolicy >::Bind(), otb::gl::BufferObject< element::vertex >::BufferObject(), otb::gl::Handle< VertexArrayObjectPolicy >::Handle(), and otb::gl::Handle< VertexArrayObjectPolicy >::Release().
otb::gl::OTB_GL_TYPE_TRAITS | ( | GLdouble | , |
GL_DOUBLE | , | ||
"GLdouble" | |||
) |
otb::gl::OTB_GL_TYPE_TRAITS | ( | GLint | , |
GL_INT | , | ||
"GLint" | |||
) |
otb::gl::OTB_GL_TYPE_TRAITS | ( | GLuint | , |
GL_UNSIGNED_INT | , | ||
"GLuint" | |||
) |
struct otb::gl::TypeTraits< type > otb::gl::OTB_GL_TYPE_TRAITS | ( | GLfloat | , |
GL_FLOAT | , | ||
"GLfloat" | |||
) |
Referenced by otb::gl::TypeTraits< type >::name().