OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ObjBindingOps< tag::Sampler > Class Template Reference

Sampler binding operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/sampler.hpp>

Inheritance diagram for oglplus::ObjBindingOps< tag::Sampler >:

Public Types

typedef TextureUnitSelector Target
 Sampler bind targets.
 

Static Public Member Functions

static SamplerName Binding (Target target)
 Returns the current Sampler bound to specified target (tex. unit) More...
 
static void Bind (Target target, SamplerName sampler)
 Binds the specified sampler to the specified target (tex. unit) More...
 
static void Bind (GLuint first, const Sequence< SamplerName > &samplers)
 Sequentially bind samplers to texture units starting with first. More...
 

Detailed Description

template<>
class oglplus::ObjBindingOps< tag::Sampler >

Sampler binding operations.

Member Function Documentation

static void oglplus::ObjBindingOps< tag::Sampler >::Bind ( Target  target,
SamplerName  sampler 
)
static

Binds the specified sampler to the specified target (tex. unit)

Related OpenGL symbols:
glBindSampler

References oglplus::GetGLName().

static void oglplus::ObjBindingOps< tag::Sampler >::Bind ( GLuint  first,
const Sequence< SamplerName > &  samplers 
)
static

Sequentially bind samplers to texture units starting with first.

Exceptions
Error
Related OpenGL symbols:
glBindSamplers Requires OpenGL 4.4 or the GL_ARB_multi_bind extension.

References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().

static SamplerName oglplus::ObjBindingOps< tag::Sampler >::Binding ( Target  target)
static

Returns the current Sampler bound to specified target (tex. unit)

Related OpenGL symbols:
glGetIntegerv

The documentation for this class was generated from the following file:
  • /home/chochlik/devel/oglplus/include/oglplus/sampler.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).