|
Unravel Engine C++ Reference
|
#include <uniform.h>
Public Member Functions | |
| uniform ()=default | |
| ~uniform () | |
| uniform (const std::string &_name, uniform_type _type, std::uint16_t _num=1) | |
| uniform (handle_type_t _handle) | |
| void | set_texture (uint8_t _stage, const gfx::frame_buffer *_handle, uint8_t _attachment=0, uint32_t _flags=std::numeric_limits< uint32_t >::max()) |
| void | set_texture (uint8_t _stage, const gfx::texture *_texture, uint32_t _flags=std::numeric_limits< uint32_t >::max()) |
| void | set_uniform (const void *_value, uint16_t _num=1) |
Public Member Functions inherited from gfx::handle_impl< uniform, uniform_handle > | |
| ~handle_impl () | |
| void | dispose () |
| auto | is_valid () const -> bool |
| auto | native_handle () const -> uniform_handle |
Public Attributes | |
| uniform_info | info |
| Uniform info. | |
Additional Inherited Members | |
Public Types inherited from gfx::handle_impl< uniform, uniform_handle > | |
| using | ptr |
| using | uptr |
| using | weak_ptr |
| using | handle_type_t |
| using | base_type |
Static Public Member Functions inherited from gfx::handle_impl< uniform, uniform_handle > | |
| static auto | invalid_handle () -> uniform_handle |
Protected Attributes inherited from gfx::handle_impl< uniform, uniform_handle > | |
| uniform_handle | handle_ |
|
default |
| gfx::uniform::~uniform | ( | ) |
Definition at line 81 of file uniform.cpp.
| gfx::uniform::uniform | ( | const std::string & | _name, |
| uniform_type | _type, | ||
| std::uint16_t | _num = 1 ) |
Definition at line 67 of file uniform.cpp.
| gfx::uniform::uniform | ( | handle_type_t | _handle | ) |
Definition at line 74 of file uniform.cpp.
| void gfx::uniform::set_texture | ( | uint8_t | _stage, |
| const gfx::frame_buffer * | _handle, | ||
| uint8_t | _attachment = 0, | ||
| uint32_t | _flags = std::numeric_limits<uint32_t>::max() ) |
Definition at line 91 of file uniform.cpp.
| void gfx::uniform::set_texture | ( | uint8_t | _stage, |
| const gfx::texture * | _texture, | ||
| uint32_t | _flags = std::numeric_limits<uint32_t>::max() ) |
Definition at line 104 of file uniform.cpp.
| void gfx::uniform::set_uniform | ( | const void * | _value, |
| uint16_t | _num = 1 ) |
Definition at line 116 of file uniform.cpp.
| uniform_info gfx::uniform::info |