#include <texture.h>
|
| texture ()=default |
|
| texture (const char *_path, std::uint64_t _flags=BGFX_TEXTURE_NONE|BGFX_SAMPLER_NONE, std::uint8_t _skip=0, texture_info *_info=nullptr) |
|
| texture (std::uint16_t _width, std::uint16_t _height, bool _hasMips, std::uint16_t _numLayers, texture_format _format, std::uint64_t _flags=BGFX_TEXTURE_NONE|BGFX_SAMPLER_NONE, const memory_view *_mem=nullptr) |
|
| texture (std::uint16_t _width, std::uint16_t _height, std::uint16_t _depth, bool _hasMips, texture_format _format, std::uint64_t _flags=BGFX_TEXTURE_NONE|BGFX_SAMPLER_NONE, const memory_view *_mem=nullptr) |
|
| texture (std::uint16_t _size, bool _hasMips, std::uint16_t _numLayers, texture_format _format, std::uint64_t _flags=BGFX_TEXTURE_NONE|BGFX_SAMPLER_NONE, const memory_view *_mem=nullptr) |
|
auto | get_size () const -> usize32_t |
|
auto | is_render_target () const -> bool |
|
Public Member Functions inherited from gfx::handle_impl< texture, texture_handle > |
| ~handle_impl () |
|
void | dispose () |
|
auto | is_valid () const -> bool |
|
auto | native_handle () const -> texture_handle |
|
Definition at line 9 of file texture.h.
◆ texture() [1/5]
gfx::texture::texture |
( |
| ) |
|
|
default |
◆ texture() [2/5]
gfx::texture::texture |
( |
const char * | _path, |
|
|
std::uint64_t | _flags = BGFX_TEXTURE_NONE | BGFX_SAMPLER_NONE, |
|
|
std::uint8_t | _skip = 0, |
|
|
texture_info * | _info = nullptr ) |
◆ texture() [3/5]
gfx::texture::texture |
( |
std::uint16_t | _width, |
|
|
std::uint16_t | _height, |
|
|
bool | _hasMips, |
|
|
std::uint16_t | _numLayers, |
|
|
texture_format | _format, |
|
|
std::uint64_t | _flags = BGFX_TEXTURE_NONE | BGFX_SAMPLER_NONE, |
|
|
const memory_view * | _mem = nullptr ) |
◆ texture() [4/5]
gfx::texture::texture |
( |
std::uint16_t | _width, |
|
|
std::uint16_t | _height, |
|
|
std::uint16_t | _depth, |
|
|
bool | _hasMips, |
|
|
texture_format | _format, |
|
|
std::uint64_t | _flags = BGFX_TEXTURE_NONE | BGFX_SAMPLER_NONE, |
|
|
const memory_view * | _mem = nullptr ) |
◆ texture() [5/5]
gfx::texture::texture |
( |
std::uint16_t | _size, |
|
|
bool | _hasMips, |
|
|
std::uint16_t | _numLayers, |
|
|
texture_format | _format, |
|
|
std::uint64_t | _flags = BGFX_TEXTURE_NONE | BGFX_SAMPLER_NONE, |
|
|
const memory_view * | _mem = nullptr ) |
◆ get_size()
auto gfx::texture::get_size |
( |
| ) |
const -> usize32_t |
◆ is_render_target()
auto gfx::texture::is_render_target |
( |
| ) |
const -> bool |
◆ flags
std::uint64_t gfx::texture::flags = BGFX_TEXTURE_NONE |
Creation flags.
Definition at line 97 of file texture.h.
◆ info
Texture detail info.
Definition at line 95 of file texture.h.
The documentation for this struct was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/core/graphics/texture.h
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/core/graphics/texture.cpp