1 /*
2  * Copyright (c) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef RENDER_GFX__PIPELINE_STATE_OBJECT_H
17 #define RENDER_GFX__PIPELINE_STATE_OBJECT_H
18 
19 #include <render/namespace.h>
20 
RENDER_BEGIN_NAMESPACE()21 RENDER_BEGIN_NAMESPACE()
22 
23 /** Graphics pipeline state object.
24  * Full compiled pipeline with all the static state data.
25  */
26 class GraphicsPipelineStateObject {
27 public:
28     GraphicsPipelineStateObject() = default;
29     virtual ~GraphicsPipelineStateObject() = default;
30 
31     GraphicsPipelineStateObject(const GraphicsPipelineStateObject&) = delete;
32     GraphicsPipelineStateObject& operator=(const GraphicsPipelineStateObject&) = delete;
33 };
34 
35 /** Compute pipeline state obect.
36  * Full compiled pipeline.
37  */
38 class ComputePipelineStateObject {
39 public:
40     ComputePipelineStateObject() = default;
41     virtual ~ComputePipelineStateObject() = default;
42 
43     ComputePipelineStateObject(const ComputePipelineStateObject&) = delete;
44     ComputePipelineStateObject& operator=(const ComputePipelineStateObject&) = delete;
45 };
46 RENDER_END_NAMESPACE()
47 
48 #endif // CORE__GFX__PIPELINE_STATE_OBJECT_H
49