All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GlfTexture::Binding Class Reference

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. More...

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
 

Detailed Description

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".

Definition at line 73 of file texture.h.


The documentation for this class was generated from the following file: