QResourceManager Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QResourceManager

Qt 5.6.2 Reference Documentation

# QResourceManager Class

(Qt3DCore::QResourceManager)

- List of all members, including inherited members

## Public Functions

| QResourceManager()
| ~QResourceManager()
QHandle<T, INDEXBITS> | acquire()
bool | contains(const C &id) const
T * | data(const QHandle<T, INDEXBITS> &handle)
QHandle<T, INDEXBITS> | getOrAcquireHandle(const C &id)
T * | getOrCreateResource(const C &id)
QHandle<T, INDEXBITS> | lookupHandle(const C &id)
T * | lookupResource(const C &id)
int | maxResourcesEntries() const
void | release(const QHandle<T, INDEXBITS> &handle)
void | releaseResource(const C &id)
void | reset()

## Member Function Documentation

### QResourceManager::QResourceManager()

Default constructs an instance of QResourceManager.

### QResourceManager::~QResourceManager()

Destroys the instance of QResourceManager.

### QHandle<T, INDEXBITS> QResourceManager::acquire()

### bool QResourceManager::contains(const C &id) const

### T *QResourceManager::data(const QHandle<T, INDEXBITS> &handle)

### QHandle<T, INDEXBITS> QResourceManager::getOrAcquireHandle(const C &id)

### T *QResourceManager::getOrCreateResource(const C &id)

### QHandle<T, INDEXBITS> QResourceManager::lookupHandle(const C &id)

### T *QResourceManager::lookupResource(const C &id)

### int QResourceManager::maxResourcesEntries() const

### void QResourceManager::release(const QHandle<T, INDEXBITS> &handle)

### void QResourceManager::releaseResource(const C &id)

### void QResourceManager::reset()