retain method
Increments the reference count of this texture. Call this if you are keeping an additional reference to the texture elsewhere to prevent premature disposal.
Implementation
void retain() {
_refCount++;
}
Increments the reference count of this texture. Call this if you are keeping an additional reference to the texture elsewhere to prevent premature disposal.
void retain() {
_refCount++;
}