Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
background.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 "../object/object.h"
21#include "../variant/types.h"
22
23#include <memory>
24
25namespace cil
26{
28 class Background : public Object
29 {
30 private:
31 Background() = delete;
32
33 public:
39
41 const Color4fPtr& colorMask = nullptr,
42 const RealPtr& depthMask = nullptr,
43 const IntegerPtr& stencilMask = nullptr,
44 const Vector2iPtr& coordinate = nullptr);
45 };
46}
The Background class represents the configuration for a background element used in a rendering Pass.
Definition background.h:29
Color4fPtr colorMask
This memeber is a shared pointer to the color value with four floats(RGBA) defining the base color of...
Definition background.h:35
Vector2iPtr coordinate
This memeber is a shared pointer to a 2D integer vector specifying the screen-space coordinates where...
Definition background.h:38
RealPtr depthMask
This memeber is a shared pointer to a Real value used for controlling the depth contributes of the ba...
Definition background.h:36
Vector2iPtr size
This memeber is a shared pointer to a 2D integer vector specifying the size(width and height) of the ...
Definition background.h:34
IntegerPtr stencilMask
This memeber is a shared pointer to a Integer value used for stencil buffer operation in the renderin...
Definition background.h:37
Background(const Vector2iPtr &size, const Color4fPtr &colorMask=nullptr, const RealPtr &depthMask=nullptr, const IntegerPtr &stencilMask=nullptr, const Vector2iPtr &coordinate=nullptr)
Definition object.h:23
Definition decal.h:23
std::shared_ptr< Integer > IntegerPtr
Definition types.h:60
std::shared_ptr< Vector2i > Vector2iPtr
Definition types.h:136
std::shared_ptr< Real > RealPtr
Definition types.h:88
std::shared_ptr< Color4f > Color4fPtr
Definition types.h:45