Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
vizshader.h
1//##################################################################################################
2//
3// Copyright (c) 2024 Beijing Qiongqi Tech Co.,Ltd. All rights reserved.
4
5// This source code is confidential and proprietary to Beijing Qiongqi Tech Co.,Ltd(The Holder).
6// Any unauthorized use, copying, modification, or distribution of the code is strictly prohibited.
7// Any user shall obtain authorizaition from the Holder before modifying the source code. And the user shall not
8// sublicense, sell, distribute, or transfer the source code, whether in original or modified form, to any third party
9// without the prior written consent of the Holder.
10
11// This copyright notice and permission grant shall be included in all copies or substantial portions of the source code.
12
13// Author Cumulia Illustrator
14// Date 2025-08-05
15// Version V2.1.0
16//##################################################################################################
17
18#pragma once
19
20#include <cilcore.h>
21
22#include <memory>
23
24namespace cil
25{
26 std::shared_ptr<VertexSource> vizUnlightColorVertex();
27 std::shared_ptr<FragmentSource> vizUnlightColorFragment();
28 std::shared_ptr<VertexSource> vizUnlightScalarVertex();
29 std::shared_ptr<FragmentSource> vizUnlightScalarFragment();
30 std::shared_ptr<VertexSource> vizUnlightColorOffsetVertex();
31 std::shared_ptr<VertexSource> vizUnlightScalarOffsetVertex();
32
33 std::shared_ptr<VertexSource> vizShadedColorVertex();
34 std::shared_ptr<FragmentSource> vizShadedColorFragment();
35 std::shared_ptr<VertexSource> vizShadedScalarVertex();
36 std::shared_ptr<FragmentSource> vizShadedScalarFragment();
37 std::shared_ptr<VertexSource> vizShadedColorOffsetVertex();
38 std::shared_ptr<VertexSource> vizShadedScalarOffsetVertex();
39
40 std::shared_ptr<GeometrySource> vizShrinkColorGeometry();
41 std::shared_ptr<FragmentSource> vizShrinkColorFragment();
42 std::shared_ptr<GeometrySource> vizShrinkScalarGeometry();
43 std::shared_ptr<FragmentSource> vizShrinkScalarFragment();
44
45 std::shared_ptr<FragmentSource> vizStripColorFragment();
46 std::shared_ptr<FragmentSource> vizStripScalarFragment();
47
48 std::shared_ptr<FragmentSource> vizTransparentColorFragment();
49 std::shared_ptr<FragmentSource> vizTransparentScalarFragment();
50
51 std::shared_ptr<VertexSource> vizEnvironmentMappingColorVertex();
52 std::shared_ptr<FragmentSource> vizEnvironmentMappingColorFragment();
53 std::shared_ptr<VertexSource> vizEnvironmentMappingScalarVertex();
54 std::shared_ptr<FragmentSource> vizEnvironmentMappingScalarFragment();
55 std::shared_ptr<VertexSource> vizEnvironmentMappingColorOffsetVertex();
56 std::shared_ptr<VertexSource> vizEnvironmentMappingScalarOffsetVertex();
57
58 std::shared_ptr<VertexSource> vizFlatColorVertex();
59 std::shared_ptr<FragmentSource> vizFlatColorFragment();
60 std::shared_ptr<FragmentSource> vizFlatScalarFragment();
61 std::shared_ptr<VertexSource> vizFlatScalarVertex();
62 std::shared_ptr<VertexSource> vizFlatColorOffsetVertex();
63 std::shared_ptr<VertexSource> vizFlatScalarOffsetVertex();
64
65 std::shared_ptr<VertexSource> vizPositionVertex();
66 std::shared_ptr<FragmentSource> vizPositionFragment();
67 std::shared_ptr<VertexSource> vizPositionOffsetVertex();
68
69 std::shared_ptr<VertexSource> vizNormalVertex();
70 std::shared_ptr<FragmentSource> vizNormalFragment();
71 std::shared_ptr<VertexSource> vizNormalOffsetVertex();
72
73 std::shared_ptr<VertexSource> vizWidthLineColorVertex();
74 std::shared_ptr<GeometrySource> vizWidthLineColorGeometry();
75 std::shared_ptr<FragmentSource> vizWidthLineColorFragment();
76 std::shared_ptr<VertexSource> vizWidthLineScalarVertex();
77 std::shared_ptr<GeometrySource> vizWidthLineScalarGeometry();
78 std::shared_ptr<FragmentSource> vizWidthLineScalarFragment();
79 std::shared_ptr<VertexSource> vizWidthLineColorOffsetVertex();
80 std::shared_ptr<VertexSource> vizWidthLineScalarOffsetVertex();
81
82 std::shared_ptr<GeometrySource> vizRibbonColorGeometry();
83 std::shared_ptr<FragmentSource> vizRibbonColorFragment();
84 std::shared_ptr<GeometrySource> vizRibbonScalarGeometry();
85 std::shared_ptr<FragmentSource> vizRibbonScalarFragment();
86
87 std::shared_ptr<GeometrySource> vizCylinderColorGeometry();
88 std::shared_ptr<FragmentSource> vizCylinderColorFragment();
89 std::shared_ptr<GeometrySource> vizCylinderScalarGeometry();
90 std::shared_ptr<FragmentSource> vizCylinderScalarFragment();
91
92 std::shared_ptr<VertexSource> vizSphereColorVertex();
93 std::shared_ptr<FragmentSource> vizSphereColorFragment();
94 std::shared_ptr<VertexSource> vizSphereScalarVertex();
95 std::shared_ptr<FragmentSource> vizSphereScalarFragment();
96 std::shared_ptr<VertexSource> vizSphereColorOffsetVertex();
97 std::shared_ptr<VertexSource> vizSphereScalarOffsetVertex();
98
99 std::shared_ptr<VertexSource> vizFixedSphereColorVertex();
100 std::shared_ptr<VertexSource> vizFixedSphereScalarVertex();
101 std::shared_ptr<VertexSource> vizFixedSphereColorOffsetVertex();
102 std::shared_ptr<VertexSource> vizFixedSphereScalarOffsetVertex();
103
104 std::shared_ptr<FragmentSource> vizSquareColorFragment();
105 std::shared_ptr<FragmentSource> vizSquareScalarFragment();
106
107 std::shared_ptr<FragmentSource> vizDiscColorFragment();
108 std::shared_ptr<FragmentSource> vizDiscScalarFragment();
109
110 std::shared_ptr<FragmentSource> vizRectColorFragment();
111 std::shared_ptr<FragmentSource> vizRectScalarFragment();
112
113 std::shared_ptr<FragmentSource> vizSpiralColorFragment();
114 std::shared_ptr<FragmentSource> vizSpiralScalarFragment();
115
116 std::shared_ptr<FragmentSource> vizRoseColorFragment();
117 std::shared_ptr<FragmentSource> vizRoseScalarFragment();
118
119 std::shared_ptr<FragmentSource> vizStarColorFragment();
120 std::shared_ptr<FragmentSource> vizStarScalarFragment();
121
122 std::shared_ptr<FragmentSource> vizRingColorFragment();
123 std::shared_ptr<FragmentSource> vizRingScalarFragment();
124
125 std::shared_ptr<FragmentSource> vizDeltaColorFragment();
126 std::shared_ptr<FragmentSource> vizDeltaScalarFragment();
127
128 std::shared_ptr<FragmentSource> vizDiamondColorFragment();
129 std::shared_ptr<FragmentSource> vizDiamondScalarFragment();
130
131 std::shared_ptr<VertexSource> vizCloudColorVertex();
132 std::shared_ptr<FragmentSource> vizCloudColorFragment();
133 std::shared_ptr<VertexSource> vizCloudScalarVertex();
134 std::shared_ptr<FragmentSource> vizCloudScalarFragment();
135 std::shared_ptr<VertexSource> vizCloudColorOffsetVertex();
136 std::shared_ptr<VertexSource> vizCloudScalarOffsetVertex();
137
138 std::shared_ptr<VertexSource> vizAnimLineColorVertex();
139 std::shared_ptr<FragmentSource> vizAnimLineColorFragment();
140 std::shared_ptr<VertexSource> vizAnimLineScalarVertex();
141 std::shared_ptr<FragmentSource> vizAnimLineScalarFragment();
142
143 std::shared_ptr<GeometrySource> vizAnimWidthColorGeometry();
144 std::shared_ptr<FragmentSource> vizAnimWidthColorFragment();
145 std::shared_ptr<GeometrySource> vizAnimWidthScalarGeometry();
146 std::shared_ptr<FragmentSource> vizAnimWidthScalarFragment();
147
148 std::shared_ptr<GeometrySource> vizAnimRibbonColorGeometry();
149 std::shared_ptr<FragmentSource> vizAnimRibbonColorFragment();
150 std::shared_ptr<GeometrySource> vizAnimRibbonScalarGeometry();
151 std::shared_ptr<FragmentSource> vizAnimRibbonScalarFragment();
152
153 std::shared_ptr<GeometrySource> vizAnimCylinderColorGeometry();
154 std::shared_ptr<FragmentSource> vizAnimCylinderColorFragment();
155 std::shared_ptr<GeometrySource> vizAnimCylinderScalarGeometry();
156 std::shared_ptr<FragmentSource> vizAnimCylinderScalarFragment();
157
158 std::shared_ptr<VertexSource> vizInstanceColorVertex();
159 std::shared_ptr<VertexSource> vizInstanceScalarVertex();
160 std::shared_ptr<VertexSource> vizInstanceUnlightVertex();
161 std::shared_ptr<FragmentSource> vizInstanceFragment();
162
163 std::shared_ptr<VertexSource> vizPtclSphereColorVertex();
164 std::shared_ptr<FragmentSource> vizPtclSphereColorFragment();
165 std::shared_ptr<VertexSource> vizPtclSphereScalarVertex();
166 std::shared_ptr<FragmentSource> vizPtclSphereScalarFragment();
167 std::shared_ptr<VertexSource> vizPtclFixedSphereColorVertex();
168 std::shared_ptr<VertexSource> vizPtclFixedSphereScalarVertex();
169
170 std::shared_ptr<FragmentSource> vizAnimMeteorColorFragment();
171 std::shared_ptr<FragmentSource> vizAnimMeteorScalarFragment();
172
173 std::shared_ptr<VertexSource> vizArrowColorVertex();
174 std::shared_ptr<VertexSource> vizArrowScalarVertex();
175 std::shared_ptr<VertexSource> vizFixedArrowColorVertex();
176 std::shared_ptr<VertexSource> vizFixedArrowScalarVertex();
177}
Definition decal.h:23
std::shared_ptr< GeometrySource > vizAnimCylinderScalarGeometry()
std::shared_ptr< VertexSource > vizShadedScalarVertex()
std::shared_ptr< FragmentSource > vizUnlightScalarFragment()
std::shared_ptr< VertexSource > vizCloudColorOffsetVertex()
std::shared_ptr< VertexSource > vizFlatScalarOffsetVertex()
std::shared_ptr< FragmentSource > vizCloudColorFragment()
std::shared_ptr< GeometrySource > vizShrinkColorGeometry()
std::shared_ptr< VertexSource > vizInstanceScalarVertex()
std::shared_ptr< VertexSource > vizUnlightScalarOffsetVertex()
std::shared_ptr< VertexSource > vizNormalOffsetVertex()
std::shared_ptr< VertexSource > vizFixedSphereColorVertex()
std::shared_ptr< FragmentSource > vizEnvironmentMappingColorFragment()
std::shared_ptr< FragmentSource > vizWidthLineColorFragment()
std::shared_ptr< VertexSource > vizSphereScalarVertex()
std::shared_ptr< FragmentSource > vizRoseColorFragment()
std::shared_ptr< GeometrySource > vizWidthLineScalarGeometry()
std::shared_ptr< VertexSource > vizAnimLineColorVertex()
std::shared_ptr< FragmentSource > vizFlatScalarFragment()
std::shared_ptr< FragmentSource > vizStripScalarFragment()
std::shared_ptr< FragmentSource > vizSphereColorFragment()
std::shared_ptr< FragmentSource > vizFlatColorFragment()
std::shared_ptr< VertexSource > vizShadedScalarOffsetVertex()
std::shared_ptr< FragmentSource > vizStripColorFragment()
std::shared_ptr< VertexSource > vizFlatScalarVertex()
std::shared_ptr< FragmentSource > vizPtclSphereColorFragment()
std::shared_ptr< FragmentSource > vizRingScalarFragment()
std::shared_ptr< GeometrySource > vizAnimWidthScalarGeometry()
std::shared_ptr< GeometrySource > vizCylinderColorGeometry()
std::shared_ptr< FragmentSource > vizStarScalarFragment()
std::shared_ptr< VertexSource > vizWidthLineScalarVertex()
std::shared_ptr< FragmentSource > vizRectColorFragment()
std::shared_ptr< FragmentSource > vizDiamondColorFragment()
std::shared_ptr< FragmentSource > vizShrinkColorFragment()
std::shared_ptr< FragmentSource > vizRibbonScalarFragment()
std::shared_ptr< GeometrySource > vizAnimWidthColorGeometry()
std::shared_ptr< VertexSource > vizFixedSphereScalarVertex()
std::shared_ptr< FragmentSource > vizAnimWidthScalarFragment()
std::shared_ptr< GeometrySource > vizCylinderScalarGeometry()
std::shared_ptr< VertexSource > vizEnvironmentMappingScalarOffsetVertex()
std::shared_ptr< FragmentSource > vizAnimRibbonScalarFragment()
std::shared_ptr< VertexSource > vizPositionOffsetVertex()
std::shared_ptr< FragmentSource > vizAnimRibbonColorFragment()
std::shared_ptr< VertexSource > vizPtclFixedSphereScalarVertex()
std::shared_ptr< VertexSource > vizWidthLineScalarOffsetVertex()
std::shared_ptr< FragmentSource > vizCylinderColorFragment()
std::shared_ptr< FragmentSource > vizAnimLineColorFragment()
std::shared_ptr< FragmentSource > vizEnvironmentMappingScalarFragment()
std::shared_ptr< VertexSource > vizUnlightColorVertex()
std::shared_ptr< FragmentSource > vizAnimLineScalarFragment()
std::shared_ptr< FragmentSource > vizRingColorFragment()
std::shared_ptr< FragmentSource > vizNormalFragment()
std::shared_ptr< VertexSource > vizWidthLineColorOffsetVertex()
std::shared_ptr< FragmentSource > vizSquareScalarFragment()
std::shared_ptr< GeometrySource > vizRibbonColorGeometry()
std::shared_ptr< FragmentSource > vizAnimMeteorScalarFragment()
std::shared_ptr< VertexSource > vizFixedArrowScalarVertex()
std::shared_ptr< VertexSource > vizUnlightColorOffsetVertex()
std::shared_ptr< FragmentSource > vizSphereScalarFragment()
std::shared_ptr< VertexSource > vizNormalVertex()
std::shared_ptr< VertexSource > vizFixedArrowColorVertex()
std::shared_ptr< FragmentSource > vizRoseScalarFragment()
std::shared_ptr< FragmentSource > vizRectScalarFragment()
std::shared_ptr< FragmentSource > vizTransparentColorFragment()
std::shared_ptr< VertexSource > vizPtclSphereScalarVertex()
std::shared_ptr< VertexSource > vizArrowScalarVertex()
std::shared_ptr< FragmentSource > vizSpiralScalarFragment()
std::shared_ptr< FragmentSource > vizSpiralColorFragment()
std::shared_ptr< FragmentSource > vizSquareColorFragment()
std::shared_ptr< VertexSource > vizShadedColorOffsetVertex()
std::shared_ptr< VertexSource > vizFlatColorOffsetVertex()
std::shared_ptr< VertexSource > vizSphereColorOffsetVertex()
std::shared_ptr< VertexSource > vizArrowColorVertex()
std::shared_ptr< FragmentSource > vizDiamondScalarFragment()
std::shared_ptr< VertexSource > vizCloudScalarOffsetVertex()
std::shared_ptr< GeometrySource > vizWidthLineColorGeometry()
std::shared_ptr< FragmentSource > vizTransparentScalarFragment()
std::shared_ptr< VertexSource > vizShadedColorVertex()
std::shared_ptr< FragmentSource > vizUnlightColorFragment()
std::shared_ptr< VertexSource > vizEnvironmentMappingColorVertex()
std::shared_ptr< VertexSource > vizAnimLineScalarVertex()
std::shared_ptr< VertexSource > vizEnvironmentMappingColorOffsetVertex()
std::shared_ptr< VertexSource > vizPtclSphereColorVertex()
std::shared_ptr< FragmentSource > vizCylinderScalarFragment()
std::shared_ptr< FragmentSource > vizDiscScalarFragment()
std::shared_ptr< VertexSource > vizUnlightScalarVertex()
std::shared_ptr< VertexSource > vizInstanceUnlightVertex()
std::shared_ptr< FragmentSource > vizShadedScalarFragment()
std::shared_ptr< FragmentSource > vizPositionFragment()
std::shared_ptr< VertexSource > vizCloudColorVertex()
std::shared_ptr< FragmentSource > vizDeltaColorFragment()
std::shared_ptr< FragmentSource > vizInstanceFragment()
std::shared_ptr< VertexSource > vizFixedSphereScalarOffsetVertex()
std::shared_ptr< FragmentSource > vizCloudScalarFragment()
std::shared_ptr< VertexSource > vizSphereScalarOffsetVertex()
std::shared_ptr< FragmentSource > vizPtclSphereScalarFragment()
std::shared_ptr< FragmentSource > vizAnimCylinderScalarFragment()
std::shared_ptr< VertexSource > vizPositionVertex()
std::shared_ptr< GeometrySource > vizShrinkScalarGeometry()
std::shared_ptr< FragmentSource > vizAnimCylinderColorFragment()
std::shared_ptr< FragmentSource > vizWidthLineScalarFragment()
std::shared_ptr< VertexSource > vizCloudScalarVertex()
std::shared_ptr< FragmentSource > vizShadedColorFragment()
std::shared_ptr< FragmentSource > vizStarColorFragment()
std::shared_ptr< GeometrySource > vizAnimRibbonScalarGeometry()
std::shared_ptr< FragmentSource > vizAnimWidthColorFragment()
std::shared_ptr< VertexSource > vizEnvironmentMappingScalarVertex()
std::shared_ptr< GeometrySource > vizRibbonScalarGeometry()
std::shared_ptr< VertexSource > vizInstanceColorVertex()
std::shared_ptr< VertexSource > vizFlatColorVertex()
std::shared_ptr< FragmentSource > vizRibbonColorFragment()
std::shared_ptr< VertexSource > vizPtclFixedSphereColorVertex()
std::shared_ptr< FragmentSource > vizDiscColorFragment()
std::shared_ptr< VertexSource > vizWidthLineColorVertex()
std::shared_ptr< GeometrySource > vizAnimRibbonColorGeometry()
std::shared_ptr< VertexSource > vizFixedSphereColorOffsetVertex()
std::shared_ptr< FragmentSource > vizShrinkScalarFragment()
std::shared_ptr< FragmentSource > vizAnimMeteorColorFragment()
std::shared_ptr< GeometrySource > vizAnimCylinderColorGeometry()
std::shared_ptr< VertexSource > vizSphereColorVertex()
std::shared_ptr< FragmentSource > vizDeltaScalarFragment()