Initial commit: Final state of the master project
This commit is contained in:
20
Research/scene/PNG.h
Normal file
20
Research/scene/PNG.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
class PNG {
|
||||
|
||||
public:
|
||||
PNG(const char* png_file_path);
|
||||
~PNG();
|
||||
unsigned char* Data();
|
||||
unsigned W();
|
||||
unsigned H();
|
||||
bool Initialized();
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
std::vector<unsigned char> mImage;
|
||||
unsigned mWidth;
|
||||
unsigned mHeight;
|
||||
};
|
||||
Reference in New Issue
Block a user