Browse Source

Doc++

pull/331/head
Vladimír Vondruš 7 years ago
parent
commit
18d8b11ecd
  1. 1
      doc/custom-buildsystems.dox
  2. 4
      src/Magnum/Audio/Context.h
  3. 4
      src/Magnum/GL/Buffer.h

1
doc/custom-buildsystems.dox

@ -29,6 +29,7 @@ namespace Magnum {
@m_keyword{Using custom buildsystems,,}
@m_keyword{Custom buildsystems,,}
@m_footernavigation
While Magnum uses CMake as its primary buildsystem, it's possible to use Magnum
with a custom buildsystem as well. The following guide will highlight the most

4
src/Magnum/Audio/Context.h

@ -57,8 +57,8 @@ Encapsulates runtime information about OpenAL extension, such as name string,
minimal required OpenAL version and version in which the extension was adopted
to core.
See also @ref Audio::Extensions namespace, which contain compile-time information
about OpenAL extensions.
See also the @ref Audio::Extensions namespace, which contain compile-time
information about OpenAL extensions.
*/
class MAGNUM_AUDIO_EXPORT Extension {
public:

4
src/Magnum/GL/Buffer.h

@ -161,8 +161,8 @@ the buffer to desired size by passing @cpp nullptr @ce to @ref setData(), e.g.:
Then you can map the buffer to client memory and operate with the memory
directly. After you are done with the operation, call @ref unmap() to unmap the
buffer again. The @ref map() functions return a view on `char` array and you
may want to cast it to some useful type first using @ref Containers::arrayCast():
buffer again. The @ref map() functions return a view on a @cpp char @ce array
and you may want to cast it to some useful type first using @ref Containers::arrayCast():
@snippet MagnumGL.cpp Buffer-map

Loading…
Cancel
Save