CommonLibSSE NG
Loading...
Searching...
No Matches
NiFrustumPlanes.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/N/NiPlane.h"
4
5namespace RE
6{
8 {
9 public:
10 struct Planes
11 {
12 enum Plane
13 {
20
21 kTotal
22 };
23 };
24
25 enum class ActivePlane
26 {
27 kNear = 1 << 0,
28 kFar = 1 << 1,
29 kLeft = 1 << 2,
30 kRight = 1 << 3,
31 kTop = 1 << 4,
32 kBottom = 1 << 5
33 };
34
35 // members
38 std::uint32_t basePlaneStates; // 64
39 std::uint32_t unk68; // 68
40 std::uint32_t unk6C; // 6C
41 };
42 static_assert(sizeof(NiFrustumPlanes) == 0x70);
43}
Definition NiFrustumPlanes.h:8
std::uint32_t unk6C
Definition NiFrustumPlanes.h:40
ActivePlane
Definition NiFrustumPlanes.h:26
stl::enumeration< ActivePlane, std::uint32_t > activePlanes
Definition NiFrustumPlanes.h:37
std::uint32_t unk68
Definition NiFrustumPlanes.h:39
NiPlane cullingPlanes[Planes::kTotal]
Definition NiFrustumPlanes.h:36
std::uint32_t basePlaneStates
Definition NiFrustumPlanes.h:38
Definition NiPlane.h:8
Definition PCH.h:223
Definition AbsorbEffect.h:6
Definition NiFrustumPlanes.h:11
Plane
Definition NiFrustumPlanes.h:13
@ kTotal
Definition NiFrustumPlanes.h:21
@ kNear
Definition NiFrustumPlanes.h:14
@ kFar
Definition NiFrustumPlanes.h:15
@ kTop
Definition NiFrustumPlanes.h:18
@ kRight
Definition NiFrustumPlanes.h:17
@ kBottom
Definition NiFrustumPlanes.h:19
@ kLeft
Definition NiFrustumPlanes.h:16