Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
source.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 2024-10-31
15// Version V1.1.0
16//##################################################################################################
17
18#pragma once
19
20#include "variant.h"
21
22#include <string>
23
24namespace cil
25{
27 class Source : public Variant
28 {
29 private:
30 std::string m_data;
31
32 public:
33 Source(const std::string& text);
34
35 const std::string& data() const;
36 };
37
38 class VertexSource final : public Source
39 {
40 public:
41 VertexSource(const std::string& text);
43 };
44
45 class FragmentSource final : public Source
46 {
47 public:
48 FragmentSource(const std::string& text);
50 };
51
52 class GeometrySource final : public Source
53 {
54 public:
55 GeometrySource(const std::string& text);
57 };
58
62}
Definition source.h:46
FragmentSource(const std::string &text)
FragmentSource(const FragmentSource &other)
Definition source.h:53
GeometrySource(const GeometrySource &other)
GeometrySource(const std::string &text)
The Source class inherits from the Variant, representing the OpenGl Shading Language.
Definition source.h:28
Source(const std::string &text)
const std::string & data() const
The Variant class is the most basic class of other mathamatic classes.
Definition variant.h:26
Definition source.h:39
VertexSource(const std::string &text)
VertexSource(const VertexSource &other)
Definition decal.h:23