|
Ream v0.1.0-1
C++ graphics library for Linux
|
Constraints applied when allocating an RImage. More...
#include <RImage.h>
Public Attributes | |
| std::unordered_map< RDevice *, CZBitset< RImageCap > > | caps |
| Required caps for each device. Leave empty to disable constraints. | |
| std::unordered_set< RFormat > | readFormats |
| Required read formats (the image must support at least one). Leave empty to disable constraints. | |
| std::unordered_set< RFormat > | writeFormats |
| Required write formats (the image must support at least one). Leave empty to disable constraints. | |
| RDevice * | allocator { nullptr } |
| The allocator device; if nullptr, RCore::mainDevice() is used. | |
Constraints applied when allocating an RImage.
Used by the RImage factory functions to require specific capabilities and formats.
| std::unordered_map<RDevice*, CZBitset<RImageCap> > caps |
Required caps for each device. Leave empty to disable constraints.
| std::unordered_set<RFormat> readFormats |
Required read formats (the image must support at least one). Leave empty to disable constraints.
| std::unordered_set<RFormat> writeFormats |
Required write formats (the image must support at least one). Leave empty to disable constraints.
| RDevice* allocator { nullptr } |
The allocator device; if nullptr, RCore::mainDevice() is used.