Opaque reference to a texture stored in the RV_TextureCache.
More...
#include <RV_Type.h>
Opaque reference to a texture stored in the RV_TextureCache.
Definition at line 203 of file RV_Type.h.
RV_TextureRef::~RV_TextureRef |
( |
| ) |
|
|
inline |
Returns texture dimension.
Definition at line 259 of file RV_Type.h.
void RV_TextureRef::getRes |
( |
int * |
w, |
|
|
int * |
h = nullptr , |
|
|
int * |
d = nullptr |
|
) |
| const |
|
inline |
Returns the UDIM range of the texture files (eg. (0,0) -> (3,2))
Definition at line 240 of file RV_Type.h.
exint RV_TextureRef::id |
( |
| ) |
const |
|
inline |
bool RV_TextureRef::isDirty |
( |
| ) |
const |
|
inline |
Texture has been changed since last check.
Definition at line 222 of file RV_Type.h.
bool RV_TextureRef::isLoading |
( |
| ) |
const |
|
inline |
Texture is currently loading in the background.
Definition at line 219 of file RV_Type.h.
bool RV_TextureRef::isMissingTex |
( |
| ) |
const |
|
inline |
Texture couldn't be found or resolved.
Definition at line 216 of file RV_Type.h.
bool RV_TextureRef::isPlaceholder |
( |
| ) |
const |
|
inline |
Texture is missing; a default color used instead.
Definition at line 213 of file RV_Type.h.
bool RV_TextureRef::isUDIM |
( |
| ) |
const |
|
inline |
Returns true if the reference is to a series of UDIM texture files.
Definition at line 238 of file RV_Type.h.
bool RV_TextureRef::isValid |
( |
| ) |
const |
|
inline |
Reference to a valid texture.
Definition at line 209 of file RV_Type.h.
Reset the reference to a null handle.
Definition at line 226 of file RV_Type.h.
The documentation for this class was generated from the following file: