OpenGL functions | Visualization Library classes and functions |
Texturing |
|
|
| Mipmaps are automatically generated when requested by the texture constructor or by one of the vl::Texture::prepareTexture*() methods. The texture generation uses the hardware acceleration where available otherwise glu is used.
|
| You can use them as usual:
vl::Texture* texture = ... init texture ...
glBindTexture(GL_TEXTURE_2D, texture->handle());
glTexSubImage2D(GL_TEXTURE_2D, ...);
glBindTexture(GL_TEXTURE_2D, 0);
|
|
|
|
|
|
|
|
|
|
|
Matrices |
|
|
Camera viewing and projection matrices |
|
|
Vertex attributes |
|
|
|
|
|
|
|
|
|
|
|
|
Draw commands |
|
|
|
|
Enables |
|
|
glReadPixels |
|
|
OpenGL Shading Language |
|
|
Vertex and pixel buffer objects (BufferObject, PBO) |
|
|
Framebuffer object extension (see http://www.opengl.org/registry/specs/ARB/framebuffer_object.txt) |
- glFramebufferTexture1D()
- glFramebufferTexture2D()
- glFramebufferTexture()
- glFramebufferTexture3D()
- glFramebufferTextureLayer()
- glCheckFramebufferStatus()
- glGenRenderbuffers()
- glDeleteRenderbuffers()
- glRenderbufferStorage()
- glFramebufferRenderbuffer()
- glGenFramebuffers()
- glDeleteFramebuffers()
- glBindFramebuffer()
|
|
Display lists |
|
|
Render states |
|
|
OpenGL Enables |
- GL_ALPHA_TEST
- GL_BLEND
- GL_COLOR_LOGIC_OP
- GL_LIGHTING
- GL_COLOR_SUM
- GL_CULL_FACE
- GL_DEPTH_TEST
- GL_FOG
- GL_LINE_SMOOTH
- GL_LINE_STIPPLE
- GL_POLYGON_STIPPLE
- GL_NORMALIZE
- GL_POINT_SMOOTH
- GL_POINT_SPRITE
- GL_POLYGON_SMOOTH
- GL_POLYGON_OFFSET_FILL
- GL_POLYGON_OFFSET_LINE
- GL_POLYGON_OFFSET_POINT
- GL_RESCALE_NORMAL
- GL_STENCIL_TEST
- GL_VERTEX_PROGRAM_POINT_SIZE
- GL_VERTEX_PROGRAM_TWO_SIDE
- GL_SAMPLE_ALPHA_TO_COVERAGE
- GL_SAMPLE_ALPHA_TO_ONE
- GL_SAMPLE_COVERAGE
- GL_LIGHTi
- GL_CLIP_PLANEi
- GL_SCISSOR_TEST
- GL_COLOR_MATERIAL
- GL_TEXTURE_1D
- GL_TEXTURE_2D
- GL_TEXTURE_3D
- GL_TEXTURE_CUBE_MAP
- GL_TEXTURE_GEN_Q/R/S/T
- GL_INDEX_LOGIC_OP
|
- vl::EN_ALPHA_TEST
- vl::EN_BLEND
- vl::EN_COLOR_LOGIC_OP
- vl::EN_LIGHTING
- vl::EN_COLOR_SUM
- vl::EN_CULL_FACE
- vl::EN_DEPTH_TEST
- vl::EN_FOG
- vl::EN_LINE_SMOOTH
- vl::EN_LINE_STIPPLE
- vl::EN_POLYGON_STIPPLE
- vl::EN_NORMALIZE
- vl::EN_POINT_SMOOTH
- vl::EN_POINT_SPRITE
- vl::EN_POLYGON_SMOOTH
- vl::EN_POLYGON_OFFSET_FILL
- vl::EN_POLYGON_OFFSET_LINE
- vl::EN_POLYGON_OFFSET_POINT
- vl::EN_RESCALE_NORMAL
- vl::EN_STENCIL_TEST
- vl::EN_PROGRAM_POINT_SIZE
- vl::EN_VERTEX_PROGRAM_TWO_SIDE
- vl::EN_SAMPLE_ALPHA_TO_COVERAGE
- vl::EN_SAMPLE_ALPHA_TO_ONE
- vl::EN_SAMPLE_COVERAGE
- automatically managed by vl::Light
- automatically managed by vl::ClipPlane
- automatically manaded by vl::Scissor
- see vl::Material::setColorMaterial(), vl::Material::setColorMaterialEnabled()
- automatically managed, see vl::Texture, vl::TextureImageUnit, vl::TexParameter
- automatically managed, see vl::Texture, vl::TextureImageUnit, vl::TexParameter
- automatically managed, see vl::Texture, vl::TextureImageUnit, vl::TexParameter
- automatically managed, see vl::Texture, vl::TextureImageUnit, vl::TexParameter
- automatically managed by vl::TexGen
- deprecated functionality
|