OGLplus  (0.59.0) a C++ wrapper for rendering APIs

param_format.hpp
Go to the documentation of this file.
1 #ifndef OGLPLUS_TEXGEN_PARAM_FORMAT_HPP
9 #define OGLPLUS_TEXGEN_PARAM_FORMAT_HPP
10 
11 #include "interface.hpp"
12 #include <iosfwd>
13 
14 namespace eagine::oglp::texgen {
15 namespace expr {
16 
17 struct render_param_decl {
18  output_intf& output;
19 };
20 std::ostream& operator<<(std::ostream& out, render_param_decl);
21 
22 struct render_param_pass {
23  output_intf& output;
24 };
25 std::ostream& operator<<(std::ostream& out, render_param_pass);
26 
27 struct render_param_pass_voxel_offs {
28  output_intf& output;
29  float offs[3];
30 };
31 std::ostream& operator<<(std::ostream& out, render_param_pass_voxel_offs);
32 
33 struct normalized_coord {
34  output_intf& output;
35 };
36 std::ostream& operator<<(std::ostream& out, normalized_coord);
37 
38 struct voxel_offset {
39  output_intf& output;
40 };
41 std::ostream& operator<<(std::ostream& out, voxel_offset);
42 
43 struct norm_voxel_size {
44  output_intf& output;
45 };
46 std::ostream& operator<<(std::ostream& out, norm_voxel_size);
47 
48 struct norm_voxel_offs {
49  output_intf& output;
50 };
51 std::ostream& operator<<(std::ostream& out, norm_voxel_offs);
52 
53 struct norm_sample_coord {
54  output_intf& output;
55 };
56 std::ostream& operator<<(std::ostream& out, norm_sample_coord);
57 
58 struct nhood2d_offs {};
59 std::ostream& operator<<(std::ostream& out, nhood2d_offs);
60 
61 struct nhood2d_offs_decl {
62  compile_context& context;
63 };
64 std::ostream& operator<<(std::ostream& out, nhood2d_offs_decl);
65 
66 struct nbors2d_offs {};
67 std::ostream& operator<<(std::ostream& out, nbors2d_offs);
68 
69 struct nbors2d_offs_decl {
70  compile_context& context;
71 };
72 std::ostream& operator<<(std::ostream& out, nbors2d_offs_decl);
73 
74 } // namespace expr
75 } // namespace eagine::oglp::texgen
76 
77 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
78 #include <oglplus/texgen/param_format.inl>
79 #endif
80 
81 #endif // OGLPLUS_TEXGEN_PARAM_FORMAT_HPP
static auto operator<<(std::ostream &out, const identifier_name< M > &n) -> std::ostream &
Operator for writing identifier_name into output streams.
Definition: identifier.hpp:159

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).