#include <ImageLoader.hpp>
|
virtual | ~ImageLoaderImpl () noexcept=default |
|
virtual CU_API ImageLayout | load (String const &imageFormat, uint8_t const *data, uint32_t size, PxBufferBaseUPtr &buffer) const =0 |
| Loads an image file data.
|
|
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.
|
|
◆ ~ImageLoaderImpl()
virtual castor::ImageLoaderImpl::~ImageLoaderImpl |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ load() [1/4]
virtual CU_API ImageLayout castor::ImageLoaderImpl::load |
( |
String const & | imageFormat, |
|
|
uint8_t const * | data, |
|
|
uint32_t | size, |
|
|
PxBufferBaseUPtr & | buffer ) const |
|
pure virtual |
◆ load() [2/4]
CU_API Image castor::ImageLoaderImpl::load |
( |
String const & | name, |
|
|
Path const & | imagePath, |
|
|
String const & | imageFormat, |
|
|
uint8_t const * | data, |
|
|
uint32_t | size ) const |
Loads an image file data.
- Parameters
-
[in] | name | The image name. |
[in] | imagePath | Path to the image file. |
[in] | imageFormat | The image format, loader wise. |
[in] | data | The image data. |
[in] | size | The image data size. |
- Returns
- The image.
◆ load() [3/4]
CU_API Image castor::ImageLoaderImpl::load |
( |
String const & | name, |
|
|
Path const & | imagePath, |
|
|
uint8_t const * | data, |
|
|
uint32_t | size ) const |
Loads an image file data.
- Parameters
-
[in] | name | The image name. |
[in] | imagePath | Path to the image file. |
[in] | data | The image data. |
[in] | size | The image data size. |
- Returns
- The image.
◆ load() [4/4]
CU_API Image castor::ImageLoaderImpl::load |
( |
String const & | name, |
|
|
String const & | imageFormat, |
|
|
uint8_t const * | data, |
|
|
uint32_t | size ) const |
Loads an image file data.
- Parameters
-
[in] | name | The image name. |
[in] | imageFormat | The image format, loader wise. |
[in] | data | The image data. |
[in] | size | The image data size. |
- Returns
- The image.
The documentation for this class was generated from the following file: