Which backend a device belongs to and which native device it records against. Two devices can name each other's textures only when both fields match. The pointers are compared, never dereferenced.
More...
#include "donner/gpu/TextureExport.h"
|
|
bool | isValid () const |
| | Whether both fields name something; a backend that cannot share textures reports neither.
|
| bool | operator== (const BackendDeviceIdentity &other) const =default |
| | Equality operator.
|
|
|
const void * | family = nullptr |
| | Address of a per-backend static tag.
|
|
const void * | nativeDevice = nullptr |
| | Native device object the backend records against.
|
Which backend a device belongs to and which native device it records against. Two devices can name each other's textures only when both fields match. The pointers are compared, never dereferenced.
◆ operator==()
Equality operator.
- Parameters
-
| other | Identity to compare against. |
The documentation for this struct was generated from the following file: