HDK
|
#include <texture.h>
Public Member Functions | |
Binding (TfToken name, TfToken role, GLenum target, GLuint textureId, GLuint samplerId) | |
Public Attributes | |
TfToken | name |
TfToken | role |
GLenum | target |
GLuint | textureId |
GLuint | samplerId |
A texture has one or more bindings which describe how the different aspects of the texture should be bound in order to allow shader access. Most textures will have a single binding for the role "texels", but some textures might need multiple bindings, e.g. a ptexTexture will have an additional binding for the role "layout".