|
| GlfTexture (const GlfTexture &)=delete |
|
GlfTexture & | operator= (const GlfTexture &)=delete |
|
virtual BindingVector | GetBindings (TfToken const &identifier, GLuint samplerId=0)=0 |
| Returns the bindings to use this texture for the shader resource named identifier. More...
|
|
virtual GLuint | GetGlTextureName ()=0 |
| Returns the OpenGl texture name for the texture. More...
|
|
GLF_API size_t | GetMemoryUsed () const |
| Amount of memory used to store the texture. More...
|
|
GLF_API size_t | GetMemoryRequested () const |
| Amount of memory the user wishes to allocate to the texture. More...
|
|
GLF_API void | SetMemoryRequested (size_t targetMemory) |
| Specify the amount of memory the user wishes to allocate to the texture. More...
|
|
virtual VtDictionary | GetTextureInfo (bool forceLoad)=0 |
|
virtual GLF_API bool | IsMinFilterSupported (GLenum filter) |
|
virtual GLF_API bool | IsMagFilterSupported (GLenum filter) |
|
GLF_API size_t | GetContentsID () const |
| Returns an identifier that can be used to determine when the contents of this texture (i.e. More...
|
|
GLF_API
HioImage::ImageOriginLocation | GetOriginLocation () const |
|
GLF_API bool | IsOriginLowerLeft () const |
|
size_t | GetCurrentCount () const |
| Return the current reference count of this object. More...
|
|
bool | IsUnique () const |
| Return true if only one TfRefPtr points to this object. More...
|
|
const TfRefCount & | GetRefCount () const |
|
void | SetShouldInvokeUniqueChangedListener (bool shouldCall) |
|
| TfWeakBase (const TfWeakBase &) |
|
const TfWeakBase & | __GetTfWeakBase__ () const |
|
const TfWeakBase & | operator= (const TfWeakBase &) |
|
void | EnableNotification2 () const |
|
TF_API void const * | GetUniqueIdentifier () const |
|
Represents a texture object in Glf.
A texture is typically defined by reading texture image data from an image file but a texture might also represent an attachment of a draw target.
Definition at line 62 of file texture.h.
GLF_API size_t GetContentsID |
( |
| ) |
const |
Returns an identifier that can be used to determine when the contents of this texture (i.e.
its image data) has changed.
The contents of most textures will be immutable for the lifetime of the texture. However, the contents of the texture attachments of a draw target change when the draw target is updated.