Raw data image loader.
More...
#include <DataImageLoader.hpp>
|
CU_API ImageLayout | load (String const &imageFormat, uint8_t const *data, uint32_t size, PxBufferBaseUPtr &buffer) const override |
| Loads an image file data.
|
|
virtual | ~ImageLoaderImpl () noexcept=default |
|
CU_API Image | load (String const &name, Path const &imagePath, String const &imageFormat, uint8_t const *data, uint32_t size) const |
| Loads an image file data.
|
|
CU_API Image | load (String const &name, String const &imageFormat, uint8_t const *data, uint32_t size) const |
| Loads an image file data.
|
|
CU_API Image | load (String const &name, Path const &imagePath, uint8_t const *data, uint32_t size) const |
| Loads an image file data.
|
|
◆ load()
CU_API ImageLayout castor::DataImageLoader::load |
( |
String const & | imageFormat, |
|
|
uint8_t const * | data, |
|
|
uint32_t | size, |
|
|
PxBufferBaseUPtr & | buffer ) const |
|
overridevirtual |
Loads an image file data.
- Parameters
-
[in] | imageFormat | The image format, loader wise. |
[in] | data | The image data. |
[in] | size | The image data size. |
[out] | buffer | Receives the buffer data. |
- Returns
- The image layout.
Implements castor::ImageLoaderImpl.
◆ registerLoader()
◆ unregisterLoader()
The documentation for this class was generated from the following file: