#include "sml/graphics_wrapper/texture.h"
Go to the source code of this file.
|
enum class | ImageFormat { INVALID
, BMP
, PNG
} |
|
|
void | Sgl::renderImage (const Image *image, const Sml::Rectangle< int32_t > &targetRegion) |
|
void | Sgl::renderImage (const Image *image, const Sml::Rectangle< int32_t > &targetRegion, int32_t scaledWidth, int32_t scaledHeight) |
|
- Author
- Nikita Mochalov (github.com/tralf-strues)
- Date
- 2021-11-06
- Copyright
- Copyright (c) 2021
Definition in file image.h.
◆ ImageFormat
enum class Sgl::ImageFormat |
|
strong |
◆ renderImage() [1/2]
void Sgl::renderImage |
( |
const Image * |
image, |
|
|
const Sml::Rectangle< int32_t > & |
targetRegion |
|
) |
| |
◆ renderImage() [2/2]
void Sgl::renderImage |
( |
const Image * |
image, |
|
|
const Sml::Rectangle< int32_t > & |
targetRegion, |
|
|
int32_t |
scaledWidth, |
|
|
int32_t |
scaledHeight |
|
) |
| |