| <<< Texture example (client side) | Index | What is texture unit? >>> |
A texture object is configured by the following two calls:
// Create an ID for a texture buffer
glGenTextures( 1, &tex_buffer_ID );
// Bind texture buffer to GL_TEXTURE_2D target
glBindTexture( GL_TEXTURE_2D, tex_buffer_ID );
| <<< Texture example (client side) | Index | What is texture unit? >>> |