LeviLamina
Loading...
Searching...
No Matches
UpscalingConfiguration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/options/UpscalingMode.h"
7#include "mc/client/options/UpscalingQuality.h"
8#include "mc/external/render_dragon/frame_renderer/modules/UpscalingParameters.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
16public:
17 // UpscalingConfiguration inner types declare
18 // clang-format off
19 struct Configs;
20 // clang-format on
21
22 // UpscalingConfiguration inner types define
23 struct Configs {
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> automatic;
28 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> oneThird;
29 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> oneHalf;
30 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> twoThirds;
31 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> threeQuarters;
32 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> native;
33 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> taau;
34 ::ll::TypedStorage<4, 52, ::dragon::framerenderer::modules::UpscalingParameters> bilinear;
35 // NOLINTEND
36
37 public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI Configs();
41 // NOLINTEND
42
43 public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor();
47 // NOLINTEND
48 };
49
50public:
51 // member variables
52 // NOLINTBEGIN
53 ::ll::TypedStorage<4, 416, ::UpscalingConfiguration::Configs> mConfigs;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI ::dragon::framerenderer::modules::UpscalingParameters getUpscalingParameters(::UpscalingMode mode) const;
60
61 MCAPI ::dragon::framerenderer::modules::UpscalingParameters
62 getUpscalingParameters(::UpscalingQuality quality, ::glm::vec<2, ushort> const& targetResolution) const;
63 // NOLINTEND
64
65public:
66 // static functions
67 // NOLINTBEGIN
68 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
69
70 MCAPI static ::dragon::framerenderer::modules::UpscalingParameters resolveAutomaticUpscalingParameters(
71 ::dragon::framerenderer::modules::UpscalingParameters params,
72 ::glm::vec2 const& targetResolution
73 );
74 // NOLINTEND
75};
76
77// free functions
78// NOLINTBEGIN
80// NOLINTEND
Definition UpscalingConfiguration.h:13
Definition UpscalingConfiguration.h:5
Definition ReflectionCtx.h:11