Browse Source

Doc++

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
9e0db81093
  1. 8
      src/Magnum/Buffer.h
  2. 2
      src/Magnum/Sampler.h

8
src/Magnum/Buffer.h

@ -174,8 +174,8 @@ The engine tracks currently bound buffers to avoid unnecessary calls to
and @ref unmap() use that target instead of binding the buffer to some specific and @ref unmap() use that target instead of binding the buffer to some specific
target. You can also use @ref setTargetHint() to possibly reduce unnecessary target. You can also use @ref setTargetHint() to possibly reduce unnecessary
rebinding. %Buffer limits and implementation-defined values (such as rebinding. %Buffer limits and implementation-defined values (such as
@ref maxVertexAttributeBindings()) are cached, so repeated queries don't result @ref maxUniformBindings()) are cached, so repeated queries don't result in
in repeated @fn_gl{Get} calls. repeated @fn_gl{Get} calls.
If extension @extension{EXT,direct_state_access} is available, functions If extension @extension{EXT,direct_state_access} is available, functions
@ref copy(), @ref setData(), @ref setSubData(), @ref map(), @ref flushMappedRange() @ref copy(), @ref setData(), @ref setSubData(), @ref map(), @ref flushMappedRange()
@ -664,7 +664,7 @@ class MAGNUM_EXPORT Buffer: public AbstractObject {
#ifdef MAGNUM_BUILD_DEPRECATED #ifdef MAGNUM_BUILD_DEPRECATED
/** /**
* @brief Set buffer data * @copybrief setData(Containers::ArrayReference<const void>, BufferUsage)
* @deprecated Use @ref Magnum::Buffer::setData(Containers::ArrayReference<const void>, BufferUsage) "setData(Containers::ArrayReference<const void>, BufferUsage)" * @deprecated Use @ref Magnum::Buffer::setData(Containers::ArrayReference<const void>, BufferUsage) "setData(Containers::ArrayReference<const void>, BufferUsage)"
* instead. * instead.
*/ */
@ -701,7 +701,7 @@ class MAGNUM_EXPORT Buffer: public AbstractObject {
#ifdef MAGNUM_BUILD_DEPRECATED #ifdef MAGNUM_BUILD_DEPRECATED
/** /**
* @brief Set buffer subdata * @copybrief setSubData(GLintptr, Containers::ArrayReference<const void>)
* @deprecated Use @ref Magnum::Buffer::setSubData(GLintptr, Containers::ArrayReference<const void>) "setSubData(GLintptr, Containers::ArrayReference<const void>)" * @deprecated Use @ref Magnum::Buffer::setSubData(GLintptr, Containers::ArrayReference<const void>) "setSubData(GLintptr, Containers::ArrayReference<const void>)"
* instead. * instead.
*/ */

2
src/Magnum/Sampler.h

@ -122,7 +122,7 @@ class MAGNUM_EXPORT Sampler {
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
/** /**
* Mirror the texture once in negative coordinates and clamp to * Mirror the texture once in negative coordinates and clamp to
* edge after that. * edge after that. **Unavailable on rectangle textures.**
* @requires_gl44 %Extension @extension{ARB,texture_mirror_clamp_to_edge}, * @requires_gl44 %Extension @extension{ARB,texture_mirror_clamp_to_edge},
* @extension{ATI,texture_mirror_once} or @extension{EXT,texture_mirror_clamp} * @extension{ATI,texture_mirror_once} or @extension{EXT,texture_mirror_clamp}
* @requires_gl Only separate @ref Magnum::Sampler::Wrapping "Wrapping::MirroredRepeat" * @requires_gl Only separate @ref Magnum::Sampler::Wrapping "Wrapping::MirroredRepeat"

Loading…
Cancel
Save