Common sampler operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/sampler.hpp>
Public Types | |
typedef TextureUnitSelector | Target |
Sampler bind targets. | |
Public Member Functions | |
void | Bind (Target target) const |
Binds this sampler to the specified target (texture unit) More... | |
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... | |
Common sampler operations.
|
staticinherited |
Binds the specified sampler
to the specified target
(tex. unit)
References oglplus::GetGLName().
|
staticinherited |
Sequentially bind samplers
to texture units starting with first
.
Error |
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
void oglplus::ObjCommonOps< tag::Sampler >::Bind | ( | Target | target | ) | const |
Binds this sampler to the specified target
(texture unit)
|
staticinherited |
Returns the current Sampler bound to specified target
(tex. unit)