Aeon Engine
c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
PngImage.h
1
/*
2
Copyright (C) 2016-2018,2020,2025,2026 Rodrigo Jose Hernandez Cordoba
3
4
Licensed under the Apache License, Version 2.0 (the "License");
5
you may not use this file except in compliance with the License.
6
You may obtain a copy of the License at
7
8
http://www.apache.org/licenses/LICENSE-2.0
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
*/
16
#ifndef AEONGAMES_PNGIMAGE_H
17
#define AEONGAMES_PNGIMAGE_H
18
#include <string>
19
#include <vector>
20
#include "aeongames/Texture.hpp"
21
22
namespace
AeonGames
23
{
29
bool
DecodePNG
(
Texture
& aTexture,
size_t
aBufferSize,
const
void
* aBuffer );
30
}
31
#endif
AeonGames::Texture
Represents a 2D texture image resource.
Definition
Texture.hpp:33
AeonGames
<- This is here just for the literals
Definition
AABB.hpp:31
AeonGames::DecodePNG
bool DecodePNG(Texture &aTexture, size_t aBufferSize, const void *aBuffer)
Decodes PNG image data from a memory buffer into a Texture.
Definition
PngImage.cpp:61
engine
images
png
PngImage.h
Generated by
1.16.1