#include <GTexture.h>
|
virtual | ~GTexture ()=default |
|
virtual bool | InitTexture (GImageBase *a_im, ImageTexUsage a_usage=ImageTexUsage::kWrap)=0 |
|
virtual bool | InitDynamicTexture (std::int32_t a_width, std::int32_t a_height, GImage::ImageFormat a_format, std::int32_t a_mipmaps, ImageTexUsage a_usage)=0 |
|
virtual void | Update (std::int32_t a_level, std::int32_t a_num, const UpdateRect *a_rects, const GImageBase *a_im)=0 |
|
virtual std::int32_t | Map (std::int32_t a_level, std::int32_t a_num, MapRect *a_maps, MapFlags a_flags=MapFlags::kNone)=0 |
|
virtual bool | Unmap (std::int32_t a_level, std::int32_t a_num, MapRect *a_maps, MapFlags a_flags=MapFlags::kNone)=0 |
|
virtual GRenderer * | GetRenderer () const =0 |
|
virtual bool | IsDataValid () const =0 |
|
virtual Handle | GetUserData () const =0 |
|
virtual void | SetUserData (Handle a_data)=0 |
|
virtual void | AddChangeHandler (ChangeHandler *a_handler)=0 |
|
virtual void | RemoveChangeHandler (ChangeHandler *a_handler)=0 |
|
| GFC_MEMORY_REDEFINE_NEW (GNewOverrideBase, Stat) |
|
◆ Handle
◆ ImageTexUsage
Enumerator |
---|
kWrap | |
kUpdate | |
kMap | |
kRenderTarget | |
◆ MapFlags
◆ ~GTexture()
virtual RE::GTexture::~GTexture |
( |
| ) |
|
|
virtualdefault |
◆ AddChangeHandler()
virtual void RE::GTexture::AddChangeHandler |
( |
ChangeHandler * |
a_handler | ) |
|
|
pure virtual |
◆ GetRenderer()
virtual GRenderer * RE::GTexture::GetRenderer |
( |
| ) |
const |
|
pure virtual |
◆ GetUserData()
virtual Handle RE::GTexture::GetUserData |
( |
| ) |
const |
|
pure virtual |
◆ InitDynamicTexture()
virtual bool RE::GTexture::InitDynamicTexture |
( |
std::int32_t |
a_width, |
|
|
std::int32_t |
a_height, |
|
|
GImage::ImageFormat |
a_format, |
|
|
std::int32_t |
a_mipmaps, |
|
|
ImageTexUsage |
a_usage |
|
) |
| |
|
pure virtual |
◆ InitTexture()
◆ IsDataValid()
virtual bool RE::GTexture::IsDataValid |
( |
| ) |
const |
|
pure virtual |
◆ Map()
◆ RemoveChangeHandler()
virtual void RE::GTexture::RemoveChangeHandler |
( |
ChangeHandler * |
a_handler | ) |
|
|
pure virtual |
◆ SetUserData()
virtual void RE::GTexture::SetUserData |
( |
Handle |
a_data | ) |
|
|
pure virtual |
◆ Unmap()
◆ Update()
virtual void RE::GTexture::Update |
( |
std::int32_t |
a_level, |
|
|
std::int32_t |
a_num, |
|
|
const UpdateRect * |
a_rects, |
|
|
const GImageBase * |
a_im |
|
) |
| |
|
pure virtual |
◆ refCount
The documentation for this class was generated from the following file: