Browse Source

Added TODOs for easily implementable things.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
aa3c703c25
  1. 4
      src/AbstractShaderProgram.h
  2. 4
      src/Buffer.h
  3. 1
      src/CubeMapTexture.h
  4. 6
      src/Mesh.h
  5. 1
      src/Scene.h

4
src/AbstractShaderProgram.h

@ -100,6 +100,8 @@ class MAGNUM_EXPORT AbstractShaderProgram {
*
* See AbstractShaderProgram documentation or Mesh::bindAttribute()
* for an example.
*
* @todo Support for BGRA attribute type (OpenGL 3.2, ARB_vertex_array_bgra)
*/
template<size_t i, class T> struct Attribute {
static const size_t Location = i; /**< Location to which the attribute is bound */
@ -186,6 +188,8 @@ class MAGNUM_EXPORT AbstractShaderProgram {
glUniform1i(location, value);
}
/** @todo setUniform() for arbitrary vectors (size and also type) */
/**
* @copydoc setUniform(GLint, GLint)
*

4
src/Buffer.h

@ -24,7 +24,9 @@
namespace Magnum {
/**
* @brief Class for managing buffers
@brief Class for managing buffers
@todo Support for buffer copying (OpenGL 3.1, ARB_copy_buffer)
*/
class Buffer {
Buffer(const Buffer& other) = delete;

1
src/CubeMapTexture.h

@ -44,6 +44,7 @@ the center of the cube, which intersects one of the six sides of the cube map.
See Texture documentation for more information about usage.
@todo The wrap mode is 3D, not 2D! http://www.opengl.org/wiki/Common_Mistakes#Creating_a_Cubemap_Texture
@todo Cube map arrays (OpenGL 4.0, ARB_texture_cube_map_array)
*/
class CubeMapTexture: public Texture2D {
public:

6
src/Mesh.h

@ -38,6 +38,12 @@ class Buffer;
@requires_gl30 Extension <tt>APPLE_vertex_array_object</tt>
@requires_gl30 Extension <tt>EXT_gpu_shader4</tt> (for unsigned integer attributes)
@todo Support for provoking vertex (OpenGL 3.2, ARB_provoking_vertex)
@todo Support for packed unsigned integer types for attributes (OpenGL 3.3, ARB_vertex_type_2_10_10_10_rev)
@todo Support for fixed precision type for attributes (OpenGL 4.1, ARB_ES2_compatibility)
@todo Support for double type for attributes (OpenGL 4.1, ARB_vertex_attrib_64bit)
@todo Support for indirect draw buffer (OpenGL 4.0, ARB_draw_indirect)
*/
class MAGNUM_EXPORT Mesh {
Mesh(const Mesh& other) = delete;

1
src/Scene.h

@ -47,6 +47,7 @@ class MAGNUM_EXPORT Scene: public Object {
inline unsigned int features() const { return _features; }
/** @brief Set feature */
/** @todo Depth clamping (OpenGL 3.2, ARB_depth_clamp) */
void setFeature(Feature feature, bool enabled);
private:

Loading…
Cancel
Save