![]() |
Blamite Game Engine - Guerilla (Library)
00386.06.16.23.0646.blamite
The tag editor for the Blamite Game Engine.
|
#include "bitmap.h"
#include <sail/sail.h>
#include <sail-manip/sail-manip.h>
#include <map>
#include <Strings/components/utils/io/io.h>
#include <Strings/components/classes/map/map.h>
#include <Strings/components/logger/logger.h>
#include "components/tags/fields/enum/enum.h"
#include "components/tags/fields/int/int.h"
#include "components/tags/fields/dataref/dataref.h"
#include "components/tags/fields/vector/vector.h"
#include "components/tags/fields/block/block.h"
#include "components/tags/fields/ascii/ascii.h"
#include "components/tags/tags.h"
Functions | |
bool | validate_image_pixel_format (sail_image **image_pointer) |
Ensures that the provided image is converted to a supported pixel format. More... | |
bool validate_image_pixel_format | ( | sail_image ** | image_pointer | ) |
Ensures that the provided image is converted to a supported pixel format.
If the source image data does not use a pixel format supported by the engine, then sail will attempt to convert the image to the best possible pixel format.
image_pointer | - Pointer to the created image data. |
true
if the image was either already in a supported format, or was successfully converted. If image conversion failed, then this will return false
.