public interface TextureBinder
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Prepares the binder for operation, must be matched with a call to
end(). |
int |
bind(GLTexture texture)
Binds the texture to an available unit.
|
int |
bind(TextureDescriptor textureDescriptor)
Binds the texture to an available unit and applies the filters in the descriptor.
|
void |
end()
Disables all used texture units and unbinds textures.
|
int |
getBindCount() |
int |
getReuseCount() |
void |
resetCounts()
Resets the bind/reuse counts
|
void begin()
end().void end()
int bind(TextureDescriptor textureDescriptor)
textureDescriptor - the TextureDescriptorint bind(GLTexture texture)
texture - the Textureint getBindCount()
resetCounts()int getReuseCount()
void resetCounts()