#include <texture.hpp>
|
GLuint | get_texture_handle (sys::state &state, dcon::texture_id id, bool keep_data) |
|
GLuint | load_file_and_return_handle (native_string const &native_name, simple_fs::file_system const &fs, texture &asset_texture, bool keep_data) |
|
GLuint | get_flag_handle (sys::state &state, dcon::national_identity_id nat_id, culture::flag_type type) |
|
GLuint | get_rebel_flag_handle (sys::state &state, dcon::rebel_faction_id faction) |
|
GLuint | get_late_load_texture_handle (sys::state &state, dcon::texture_id &id, std::string_view asset_name) |
|
Definition at line 28 of file texture.hpp.
◆ texture() [1/3]
ogl::texture::texture |
( |
| ) |
|
|
inline |
◆ texture() [2/3]
ogl::texture::texture |
( |
texture const & |
| ) |
|
|
delete |
◆ texture() [3/3]
ogl::texture::texture |
( |
texture && |
other | ) |
|
|
noexcept |
◆ ~texture()
ogl::texture::~texture |
( |
| ) |
|
◆ get_texture_handle()
GLuint ogl::texture::get_texture_handle |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ get_flag_handle
◆ get_late_load_texture_handle
GLuint get_late_load_texture_handle |
( |
sys::state & |
state, |
|
|
dcon::texture_id & |
id, |
|
|
std::string_view |
asset_name |
|
) |
| |
|
friend |
◆ get_rebel_flag_handle
GLuint get_rebel_flag_handle |
( |
sys::state & |
state, |
|
|
dcon::rebel_faction_id |
faction |
|
) |
| |
|
friend |
◆ get_texture_handle
GLuint get_texture_handle |
( |
sys::state & |
state, |
|
|
dcon::texture_id |
id, |
|
|
bool |
keep_data |
|
) |
| |
|
friend |
◆ load_file_and_return_handle
◆ channels
int32_t ogl::texture::channels = 4 |
◆ data
uint8_t* ogl::texture::data = nullptr |
◆ loaded
bool ogl::texture::loaded = false |
◆ size_x
int32_t ogl::texture::size_x = 0 |
◆ size_y
int32_t ogl::texture::size_y = 0 |
The documentation for this class was generated from the following files: