Sampler binding operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/sampler.hpp>
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... | |
Sampler binding operations.
|
static |
Binds the specified sampler
to the specified target
(tex. unit)
References oglplus::GetGLName().
|
static |
Sequentially bind samplers
to texture units starting with first
.
Error |
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
|
static |
Returns the current Sampler bound to specified target
(tex. unit)