#ifndef __EFFEKSEERRENDERER_PNG_TEXTURE_LOADER_H__ #define __EFFEKSEERRENDERER_PNG_TEXTURE_LOADER_H__ #ifndef __DISABLED_DEFAULT_TEXTURE_LOADER__ #include #include #include #include namespace EffekseerRenderer { class PngTextureLoader { private: std::vector textureData; int32_t textureWidth; int32_t textureHeight; public: bool Load(const void* data, int32_t size, bool rev); void Unload(); std::vector& GetData() { return textureData; } int32_t GetWidth() { return textureWidth; } int32_t GetHeight() { return textureHeight; } }; } // namespace EffekseerRenderer #endif #endif