Symphony Of Empires
|
#include <texture.hpp>
Public Types | |
enum | Target { TEXTURE_2D } |
enum | Wrap { REPEAT , CLAMP_TO_EDGE } |
enum | Filter { NEAREST , LINEAR , LINEAR_MIPMAP , NEAREST_MIPMAP , NEAREST_LINEAR_MIPMAP , LINEAR_NEAREST_MIPMAP } |
enum | Format { RGBA , RED , RGB32F , SRGB , SRGB_ALPHA } |
enum | Type { UNSIGNED_BYTE } |
Public Member Functions | |
TextureOptions ()=default | |
constexpr bool | operator== (const TextureOptions &o) const |
Public Attributes | |
enum Eng3D::TextureOptions::Target | target = Eng3D::TextureOptions::Target::TEXTURE_2D |
enum Eng3D::TextureOptions::Wrap | wrap_s = Eng3D::TextureOptions::Wrap::REPEAT |
Wrap | wrap_t = Eng3D::TextureOptions::Wrap::REPEAT |
enum Eng3D::TextureOptions::Filter | min_filter = Eng3D::TextureOptions::Filter::NEAREST |
Filter | mag_filter = Eng3D::TextureOptions::Filter::NEAREST |
enum Eng3D::TextureOptions::Format | format = Eng3D::TextureOptions::Format::RGBA |
Format | internal_format = Eng3D::TextureOptions::Format::RGBA |
enum Eng3D::TextureOptions::Type | type = Eng3D::TextureOptions::Type::UNSIGNED_BYTE |
bool | editable = false |
bool | compressed = true |
bool | instant_upload = false |
Definition at line 62 of file texture.hpp.
Enumerator | |
---|---|
NEAREST | |
LINEAR | |
LINEAR_MIPMAP | |
NEAREST_MIPMAP | |
NEAREST_LINEAR_MIPMAP | |
LINEAR_NEAREST_MIPMAP |
Definition at line 73 of file texture.hpp.
Enumerator | |
---|---|
RGBA | |
RED | |
RGB32F | |
SRGB | |
SRGB_ALPHA |
Definition at line 82 of file texture.hpp.
Enumerator | |
---|---|
TEXTURE_2D |
Definition at line 65 of file texture.hpp.
Enumerator | |
---|---|
UNSIGNED_BYTE |
Definition at line 90 of file texture.hpp.
Enumerator | |
---|---|
REPEAT | |
CLAMP_TO_EDGE |
Definition at line 68 of file texture.hpp.
|
default |
|
inlineconstexpr |
Definition at line 97 of file texture.hpp.
bool Eng3D::TextureOptions::compressed = true |
Definition at line 94 of file texture.hpp.
bool Eng3D::TextureOptions::editable = false |
Definition at line 93 of file texture.hpp.
enum Eng3D::TextureOptions::Format Eng3D::TextureOptions::format = Eng3D::TextureOptions::Format::RGBA |
bool Eng3D::TextureOptions::instant_upload = false |
Definition at line 95 of file texture.hpp.
Format Eng3D::TextureOptions::internal_format = Eng3D::TextureOptions::Format::RGBA |
Definition at line 89 of file texture.hpp.
Filter Eng3D::TextureOptions::mag_filter = Eng3D::TextureOptions::Filter::NEAREST |
Definition at line 81 of file texture.hpp.
enum Eng3D::TextureOptions::Filter Eng3D::TextureOptions::min_filter = Eng3D::TextureOptions::Filter::NEAREST |
enum Eng3D::TextureOptions::Target Eng3D::TextureOptions::target = Eng3D::TextureOptions::Target::TEXTURE_2D |
enum Eng3D::TextureOptions::Type Eng3D::TextureOptions::type = Eng3D::TextureOptions::Type::UNSIGNED_BYTE |
enum Eng3D::TextureOptions::Wrap Eng3D::TextureOptions::wrap_s = Eng3D::TextureOptions::Wrap::REPEAT |
Wrap Eng3D::TextureOptions::wrap_t = Eng3D::TextureOptions::Wrap::REPEAT |
Definition at line 72 of file texture.hpp.