Ignore:
Timestamp:
Jun 11, 2012, 11:21:36 PM (7 years ago)
Author:
sam
Message:

gpu: first shot at a Shader::SetTexture() function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/shader.h

    r1385 r1452  
    7272    void SetUniform(ShaderUniform const &uni, mat4 const &m);
    7373
     74    /* FIXME: this should be called SetUniform, too, but we need a new
     75     * type to represent textures. */
     76    void SetTexture(ShaderUniform const &uni, int id, int index);
     77
    7478    void Bind() const;
    7579    void Unbind() const;
Note: See TracChangeset for help on using the changeset viewer.