ACMX 2.136.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
interface_client.hpp
Go to the documentation of this file.
1#ifndef ACMXVK_APP_INTERFACE_CLIENT_HPP
2#define ACMXVK_APP_INTERFACE_CLIENT_HPP
3
4#include <array>
5#include <cstdint>
6#include <memory>
7#include <string>
8#include <vector>
9
10namespace acmxvk {
12 std::string name;
13 float value = 0.0F;
14 };
15
17 bool enabled = false;
18 std::vector<std::string> shader_names;
19 };
20
22 bool repeat = false;
23 bool normalized_time = false;
24 };
25
27 bool display_filter = false;
28 bool watermark_enabled = false;
29 std::string watermark_text;
30 std::array<std::uint8_t, 3> watermark_color{};
31 };
32
34 bool enabled = false;
36 std::vector<int> filter_indices;
37 };
38
40 bool enabled = false;
41 bool fp16 = false;
42 bool gpu_filter_first = false;
43 int iterations = 1;
45 int channel = -1;
46 int octaves = 1;
47 int jitter = 0;
48 int smoothing = 0;
49 float strength = 0.05F;
50 float feedback = 0.9F;
51 float zoom = 1.01F;
52 float rotation = 0.1F;
53 float octave_scale = 1.4F;
54 std::string model_path;
55 std::string layer;
56 };
57
59 std::uint32_t request_sequence = 0;
60 std::string path;
61 int output_device = -1;
62 bool pass_through = false;
63 bool trunc = false;
64 bool repeat = false;
65 };
66
68 std::uint32_t request_sequence = 0;
69 std::int32_t shader_index = -1;
70 std::string path;
71 };
72
85
87 public:
94
95 [[nodiscard]] bool open();
96 void close() noexcept;
97 [[nodiscard]] bool is_open() const noexcept;
98 [[nodiscard]] bool read(InterfaceState &state) const;
99
100 private:
101 struct Impl;
102 std::unique_ptr<Impl> impl;
103 };
104} // namespace acmxvk
105
106#endif
bool is_open() const noexcept
InterfaceClient & operator=(InterfaceClient &&)=delete
InterfaceClient(const InterfaceClient &)=delete
bool read(InterfaceState &state) const
InterfaceClient(InterfaceClient &&)=delete
std::unique_ptr< Impl > impl
InterfaceClient & operator=(const InterfaceClient &)=delete
std::vector< std::string > shader_names
std::array< std::uint8_t, 3 > watermark_color
InterfaceOverlayState overlay
std::vector< InterfaceUniformValue > uniform_values
InterfaceAudioFileState audio_file
InterfaceMultipassState multipass
InterfaceGpuFilterState gpu_filters
InterfaceReloadState reload
InterfacePlaybackState playback
InterfaceDeepDreamState deep_dream