CommonLibSSE (Parapets fork)
BSScaleformImageLoader.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSTHashMap.h
"
4
#include "
RE/G/GFxImageLoader.h
"
5
#include "
RE/G/GPtr.h
"
6
7
namespace
RE
8
{
9
class
BSScaleformExternalTexture;
10
class
GTexture;
11
class
NiTexture;
12
13
class
BSScaleformImageLoader
:
public
GFxImageLoader
14
{
15
public
:
16
inline
static
constexpr
auto
RTTI
=
RTTI_BSScaleformImageLoader
;
17
18
class
TextureEntry
19
{
20
public
:
21
GPtr<GTexture>
texture
;
// 00
22
NiTexture
*
sourceTexture
;
// 08
23
std::uint32_t
refCount
;
// 10
24
std::uint32_t
pad14
;
// 14
25
};
26
static_assert(
sizeof
(
TextureEntry
) == 0x18);
27
28
virtual
~BSScaleformImageLoader
();
// 00
29
30
// override (GFxImageLoader)
31
GImageInfoBase
*
LoadImage
(
const
char
* a_url)
override
;
// 01
32
33
bool
AddTexture
(
BSScaleformExternalTexture
& a_texture);
34
void
RemoveTexture
(
BSScaleformExternalTexture
& a_texture);
35
36
// members
37
BSTHashMap<std::uint32_t, TextureEntry>
textures
;
// 18
38
};
39
static_assert(
sizeof
(
BSScaleformImageLoader
) == 0x48);
40
}
BSTHashMap.h
GFxImageLoader.h
GPtr.h
RE::BSScaleformExternalTexture
Definition:
BSScaleformExternalTexture.h:9
RE::BSScaleformImageLoader::TextureEntry
Definition:
BSScaleformImageLoader.h:19
RE::BSScaleformImageLoader::TextureEntry::sourceTexture
NiTexture * sourceTexture
Definition:
BSScaleformImageLoader.h:22
RE::BSScaleformImageLoader::TextureEntry::texture
GPtr< GTexture > texture
Definition:
BSScaleformImageLoader.h:21
RE::BSScaleformImageLoader::TextureEntry::refCount
std::uint32_t refCount
Definition:
BSScaleformImageLoader.h:23
RE::BSScaleformImageLoader::TextureEntry::pad14
std::uint32_t pad14
Definition:
BSScaleformImageLoader.h:24
RE::BSScaleformImageLoader
Definition:
BSScaleformImageLoader.h:14
RE::BSScaleformImageLoader::RTTI
static constexpr auto RTTI
Definition:
BSScaleformImageLoader.h:16
RE::BSScaleformImageLoader::textures
BSTHashMap< std::uint32_t, TextureEntry > textures
Definition:
BSScaleformImageLoader.h:37
RE::BSScaleformImageLoader::RemoveTexture
void RemoveTexture(BSScaleformExternalTexture &a_texture)
RE::BSScaleformImageLoader::~BSScaleformImageLoader
virtual ~BSScaleformImageLoader()
RE::BSScaleformImageLoader::LoadImage
GImageInfoBase * LoadImage(const char *a_url) override
RE::BSScaleformImageLoader::AddTexture
bool AddTexture(BSScaleformExternalTexture &a_texture)
RE::BSTScatterTable
Definition:
BSTHashMap.h:21
RE::GFxImageLoader
Definition:
GFxImageLoader.h:10
RE::GImageInfoBase
Definition:
GImageInfoBase.h:16
RE::GPtr
Definition:
GPtr.h:7
RE::NiTexture
Definition:
NiTexture.h:12
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_BSScaleformImageLoader
constexpr REL::ID RTTI_BSScaleformImageLoader
Definition:
Offsets_RTTI.h:2156
CommonLibSSE
include
RE
B
BSScaleformImageLoader.h
Generated by
1.9.1