<commit_before>// Copyright (c) 2017 <NAME>
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.

#ifndef CODEHERO_CORE_TEXTURE_H_
#define CODEHERO_CORE_TEXTURE_H_

#include <glad/glad.h>
#include <array>
#include <memory>
#include "core/gpuobject.h"
#include "core/image.h"

namespace CodeHero {

// Forward declaration
class EngineContext;

enum TextureCoordinate {
    TC_U = 0,
    TC_V,
    TC_W,
    TC_MaxCoords
};

enum TextureWrapMode {
    TWM_Repeat = 0,
    TWM_MirroredRepeat,
    TWM_ClampEdge,
    TWM_MirroredClampEdge,
    TWM_ClampBorder,
    TWM_MaxWrapModes
};

enum TextureFace : uint32_t {
    TF_Main2D = 0, // Used for 2D textures
    // Next 6 are used in Cubemaps
    TF_PosX = TF_Main2D,
    TF_NegX = 1,<commit_msg>Removing glad dependency from main texture file<commit_after>// Copyright (c) 2017 <NAME>
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.

#ifndef CODEHERO_CORE_TEXTURE_H_
#define CODEHERO_CORE_TEXTURE_H_

#include <array>
#include <memory>
#include "core/gpuobject.h"
#include "core/image.h"

namespace CodeHero {

// Forward declaration
class EngineContext;

enum TextureCoordinate {
    TC_U = 0,
    TC_V,
    TC_W,
    TC_MaxCoords
};

enum TextureWrapMode {
    TWM_Repeat = 0,
    TWM_MirroredRepeat,
    TWM_ClampEdge,
    TWM_MirroredClampEdge,
    TWM_ClampBorder,
    TWM_MaxWrapModes
};

enum TextureFace : uint32_t {
    TF_Main2D = 0, // Used for 2D textures
    // Next 6 are used in Cubemaps
    TF_PosX = TF_Main2D,
    TF_NegX = 1,
{'fraction_non_alphanumeric': 0.08359522313010685, 'fraction_numerical': 0.01759899434318039, 'mean_word_length': 3.4593837535014007, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '201792', 'n_tokens_mistral': 636, 'n_tokens_neox': 589, 'n_words': 161}