CommonLibSSE NG
Loading...
Searching...
No Matches
DecalData.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
6 {
7 public:
8 enum Flag : std::uint8_t
9 {
10 kNone = 0,
11 kParallax = 1 << 0,
13 kAlphaTesting = 1 << 2,
14 kNoSubtextures = 1 << 3
15 };
16
17 // members
18 float decalMinWidth; // 00
19 float decalMaxWidth; // 04
20 float decalMinHeight; // 08
21 float decalMaxHeight; // 0C
22 float depth; // 10
23 float shininess; // 14
24 float parallaxScale; // 18
25 std::int8_t parallaxPasses; // 1C
26 Flag flags; // 1D
27 std::uint16_t pad1E; // 1E
28 Color color; // 20
29 };
30 static_assert(sizeof(DECAL_DATA_DATA) == 0x24);
31
32 struct DecalData
33 {
34 public:
35 // members
37 };
38 static_assert(sizeof(DecalData) == 0x24);
39}
Definition AbsorbEffect.h:6
Definition Color.h:8
Definition DecalData.h:6
float decalMaxWidth
Definition DecalData.h:19
Flag
Definition DecalData.h:9
@ kNoSubtextures
Definition DecalData.h:14
@ kAlphaBlending
Definition DecalData.h:12
@ kNone
Definition DecalData.h:10
@ kParallax
Definition DecalData.h:11
@ kAlphaTesting
Definition DecalData.h:13
float parallaxScale
Definition DecalData.h:24
Flag flags
Definition DecalData.h:26
float shininess
Definition DecalData.h:23
float decalMinHeight
Definition DecalData.h:20
std::uint16_t pad1E
Definition DecalData.h:27
Color color
Definition DecalData.h:28
std::int8_t parallaxPasses
Definition DecalData.h:25
float depth
Definition DecalData.h:22
float decalMinWidth
Definition DecalData.h:18
float decalMaxHeight
Definition DecalData.h:21
Definition DecalData.h:33
DECAL_DATA_DATA data
Definition DecalData.h:36