|
sculpto
|
#include <texture.h>
Public Member Functions | |
| int | GetWidth () const |
| int | GetHeight () const |
| virtual | ~texture_2d ()=default |
| virtual void | Bind (u32 Slot) const =0 |
| virtual void | Unbind () const =0 |
| virtual image | GetImage ()=0 |
| virtual void | Free ()=0 |
Static Public Member Functions | |
| static shared< texture_2d > | Create (const image &Image, texture_type Type=texture_type::COLOR) |
Protected Attributes | |
| int | Width {} |
| int | Height {} |
|
virtualdefault |
Texture default deatructor.
|
pure virtual |
| Slot | - texture slot to bind it in. |
Implemented in scl::gl_texture_2d.
|
static |
| Image | - image container to get data from. |
Definition at line 14 of file texture.cpp.
|
pure virtual |
| None. |
Implemented in scl::gl_texture_2d.
|
inline |
|
pure virtual |
| None. |
Implemented in scl::gl_texture_2d.
|
inline |
|
pure virtual |
| Slot | - texture slot to unbind it from. |
Implemented in scl::gl_texture_2d.