/******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp The following code is licensed under the BSD 1 clause license. SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once #include #include "common/Utils.hpp" struct Texture { int m_width; int m_height; uint32_t* m_pixels; uint8_t field_C; uint8_t field_D; Texture() { m_width = 0; m_height = 0; m_pixels = nullptr; field_C = false; field_D = false; } Texture(int width, int height, void* pixels, uint8_t a1, uint8_t a2) : m_width(width), m_height(height), m_pixels((uint32_t*)pixels), field_C(a1), field_D(a2) {} }; struct GLTexture { unsigned m_textureID; // GL texture ID Texture m_textureData; };