Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
program.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/source.h"
21#include "../object/object.h"
22
23#include <memory>
24
25namespace cil
26{
28 class Program : public Object
29 {
30 public:
31 std::shared_ptr<VertexSource> vertex;
32 std::shared_ptr<FragmentSource> fragment;
33 std::shared_ptr<GeometrySource> geometry;
34
35 Program(const std::shared_ptr<VertexSource>& vertex,
36 const std::shared_ptr<FragmentSource>& fragment,
37 const std::shared_ptr<GeometrySource>& geometry);
38 };
39}
Definition object.h:23
The Program class represents a shader program containing vertex and fragment shaders used for renderi...
Definition program.h:29
std::shared_ptr< VertexSource > vertex
Definition program.h:31
std::shared_ptr< GeometrySource > geometry
Definition program.h:33
Program(const std::shared_ptr< VertexSource > &vertex, const std::shared_ptr< FragmentSource > &fragment, const std::shared_ptr< GeometrySource > &geometry)
std::shared_ptr< FragmentSource > fragment
Definition program.h:32
Definition decal.h:23