* Bind the GL texture for mapping, etc.
*/
-void Texture::bind()
+void Texture::bind() const
{
// pass through
impl_->bind();
* Get the texture object, for the curious.
*/
-GLuint Texture::getObject()
+GLuint Texture::getObject() const
{
// pass through
return impl_->object_;
}
-unsigned Texture::getWidth()
+unsigned Texture::getWidth() const
{
// pass through
return impl_->width_;
}
-unsigned Texture::getHeight()
+unsigned Texture::getHeight() const
{
// pass through
return impl_->height_;