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

#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
 

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.

Constructor & Destructor Documentation

GlfTexture::Binding::Binding ( TfToken  name,
TfToken  role,
GLenum  target,
GLuint  textureId,
GLuint  samplerId 
)
inline

Definition at line 74 of file texture.h.

Member Data Documentation

TfToken GlfTexture::Binding::name

Definition at line 82 of file texture.h.

TfToken GlfTexture::Binding::role

Definition at line 83 of file texture.h.

GLuint GlfTexture::Binding::samplerId

Definition at line 86 of file texture.h.

GLenum GlfTexture::Binding::target

Definition at line 84 of file texture.h.

GLuint GlfTexture::Binding::textureId

Definition at line 85 of file texture.h.


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