Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Helpers
PNG
DecodedPNG.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Graphics.h"
6
7
namespace
Eegeo
8
{
9
namespace
Helpers
10
{
11
namespace
PNG
12
{
13
class
DecodedPNG
:
public
Eegeo::NonCopyable
14
{
15
public
:
16
17
DecodedPNG
(
int
width,
int
height,
int
bitsPerPixel,
int
bytesPerRow, GLenum textureFormat,
const
GLubyte* imageData);
18
~
DecodedPNG
();
19
20
int
GetWidth()
const
;
21
int
GetHeight()
const
;
22
int
GetBitsPerPixel()
const
;
23
int
GetBytesPerRow()
const
;
24
GLenum GetTextureFormat()
const
;
25
const
GLubyte* GetImageData()
const
;
26
27
private
:
28
29
const
int
m_width;
30
const
int
m_height;
31
const
int
m_bitsPerPixel;
32
const
int
m_bytesPerRow;
33
const
GLenum m_textureFormat;
34
const
GLubyte* m_imageData;
35
};
36
}
37
}
38
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1