Opaque reference to a texture stored in the RV_TextureCache.
More...
#include <RV_TextureRef.h>
Opaque reference to a texture stored in the RV_TextureCache.
Definition at line 21 of file RV_TextureRef.h.
| RV_TextureRef::RV_TextureRef |
( |
| ) |
|
|
default |
| RV_TextureRef::~RV_TextureRef |
( |
| ) |
|
|
inline |
| int RV_TextureRef::getChannels |
( |
| ) |
const |
|
inline |
| fpreal RV_TextureRef::getImageAspectRatio |
( |
| ) |
const |
|
inline |
| void RV_TextureRef::getRes |
( |
int * |
w, |
|
|
int * |
h = nullptr, |
|
|
int * |
d = nullptr |
|
) |
| const |
|
inline |
| int RV_TextureRef::getTypeInfo |
( |
| ) |
const |
|
inline |
Returns the UDIM range of the texture files (eg. (0,0) -> (3,2))
Definition at line 61 of file RV_TextureRef.h.
| exint RV_TextureRef::id |
( |
| ) |
const |
|
inline |
| bool RV_TextureRef::isDirty |
( |
| ) |
const |
|
inline |
Texture has been changed since last check.
Definition at line 42 of file RV_TextureRef.h.
| bool RV_TextureRef::isLoading |
( |
| ) |
const |
|
inline |
Texture is currently loading in the background.
Definition at line 39 of file RV_TextureRef.h.
| bool RV_TextureRef::isMissingTex |
( |
| ) |
const |
|
inline |
Texture couldn't be found or resolved.
Definition at line 36 of file RV_TextureRef.h.
| bool RV_TextureRef::isPlaceholder |
( |
| ) |
const |
|
inline |
Texture is missing; a default color used instead.
Definition at line 33 of file RV_TextureRef.h.
| bool RV_TextureRef::isUDIM |
( |
| ) |
const |
|
inline |
Returns true if the reference is to a series of UDIM texture files.
Definition at line 59 of file RV_TextureRef.h.
| bool RV_TextureRef::isValid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: