Texture binding operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/texture.hpp>
Public Types | |
typedef TextureTarget | Target |
Texture bind targets. | |
Static Public Member Functions | |
static TextureName | Binding (Target target) |
Returns the current Texture bound to specified target . More... | |
static void | Bind (Target target, TextureName texture) |
Binds the specified texture to the specified target . More... | |
static void | BindImage (ImageUnitSelector unit, TextureName texture, GLint level, bool layered, GLint layer, AccessSpecifier access, ImageUnitFormat format) |
Binds a level of texture to an image unit . More... | |
static void | Bind (GLuint first, const Sequence< TextureName > &textures) |
Sequentially bind textures to texture units starting with first . More... | |
static void | BindImage (GLuint first, const Sequence< TextureName > &textures) |
Sequentially bind textures to image units starting with first . More... | |
Texture binding operations.
|
static |
Binds the specified texture
to the specified target
.
References oglplus::GetGLName().
|
static |
Sequentially bind textures
to texture units starting with first
.
Error |
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
|
static |
Binds a level
of texture
to an image unit
.
Requires OpenGL 4.2 or the GL_ARB_shader_image_load_store extension.
References oglplus::GetGLName().
|
static |
Sequentially bind textures
to image units starting with first
.
Error |
References oglplus::GetGLNames(), and oglplus::Sequence< ObjName >::size().
|
static |
Returns the current Texture bound to specified target
.