CommonLibSSE NG
GImageInfoBase.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/G/GMemory.h
"
4
#include "
RE/G/GRect.h
"
5
#include "
RE/G/GRefCountBaseNTS.h
"
6
#include "
RE/G/GStats.h
"
7
#include "
RE/G/GTexture.h
"
8
9
namespace
RE
10
{
11
class
GRenderer;
12
13
class
GImageInfoBase
:
14
public
GRefCountBaseNTS
<GImageInfoBase, GStatGroups::kGStat_Default_Mem>,
// 00
15
public
GTexture::ChangeHandler
// 10
16
{
17
public
:
18
enum class
ImageInfoType
19
{
20
kImageInfo
,
21
kSubImageInfo
,
22
kOther
23
};
24
25
virtual
~GImageInfoBase
();
// 00
26
27
// add
28
virtual
std::uint32_t
GetWidth
()
const
= 0;
// 01
29
virtual
std::uint32_t
GetHeight
()
const
= 0;
// 02
30
virtual
GTexture
*
GetTexture
(
GRenderer
* a_renderer) = 0;
// 03
31
virtual
GImageInfoBase
*
CreateSubImage
(
const
GRect<std::int32_t>
& a_rect,
GMemoryHeap
* a_heap =
GMemory::GetGlobalHeap
());
// 04
32
virtual
GRect<std::int32_t>
GetRect
()
const
;
// 05
33
virtual
std::uint32_t
GetImageInfoType
()
const
;
// 06
34
};
35
static_assert(
sizeof
(
GImageInfoBase
) == 0x18);
36
}
GMemory.h
GRect.h
GRefCountBaseNTS.h
GStats.h
GTexture.h
RE::GImageInfoBase
Definition:
GImageInfoBase.h:16
RE::GImageInfoBase::~GImageInfoBase
virtual ~GImageInfoBase()
RE::GImageInfoBase::GetImageInfoType
virtual std::uint32_t GetImageInfoType() const
RE::GImageInfoBase::CreateSubImage
virtual GImageInfoBase * CreateSubImage(const GRect< std::int32_t > &a_rect, GMemoryHeap *a_heap=GMemory::GetGlobalHeap())
RE::GImageInfoBase::GetHeight
virtual std::uint32_t GetHeight() const =0
RE::GImageInfoBase::GetWidth
virtual std::uint32_t GetWidth() const =0
RE::GImageInfoBase::ImageInfoType
ImageInfoType
Definition:
GImageInfoBase.h:19
RE::GImageInfoBase::ImageInfoType::kOther
@ kOther
RE::GImageInfoBase::ImageInfoType::kSubImageInfo
@ kSubImageInfo
RE::GImageInfoBase::ImageInfoType::kImageInfo
@ kImageInfo
RE::GImageInfoBase::GetRect
virtual GRect< std::int32_t > GetRect() const
RE::GImageInfoBase::GetTexture
virtual GTexture * GetTexture(GRenderer *a_renderer)=0
RE::GMemoryHeap
Definition:
GMemoryHeap.h:16
RE::GMemory::GetGlobalHeap
static GMemoryHeap * GetGlobalHeap()
RE::GRect< std::int32_t >
RE::GRefCountBaseNTS
Definition:
GRefCountBaseNTS.h:10
RE::GRenderer
Definition:
GRenderer.h:19
RE::GTexture::ChangeHandler
Definition:
GTexture.h:55
RE::GTexture
Definition:
GTexture.h:15
RE
Definition:
AbsorbEffect.h:6
CommonLibSSE-NG
include
RE
G
GImageInfoBase.h
Generated by
1.9.1