Browse Source

Doc++

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
8590d351b1
  1. 4
      src/Magnum/AbstractShaderProgram.h

4
src/Magnum/AbstractShaderProgram.h

@ -103,8 +103,8 @@ MyShader& setNormalMatrix(const Matrix3x3& matrix) {
}
@endcode
- <strong>%Texture setting functions</strong> in which you bind the textures
to particular texture units using @ref *Texture::bind() and equivalents,
for example:
to particular texture units using @ref Texture::bind() "*Texture::bind()"
and equivalents, for example:
@code
MyShader& setDiffuseTexture(Texture2D& texture) {
texture.bind(0);

Loading…
Cancel
Save