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    "compatibility_info": {
17        "version": "22.00",
18        "type": "rendernodegraph"
19    },
20    "nodes": [
21	    {
22			"typeName": "RenderNodeDefaultCameras",
23			"nodeName": "RenderNodeCameras"
24            },
25        {
26            "typeName": "RenderNodeFullscreenGeneric",
27            "nodeName": "RenderNodeComposeMask",
28            "queue": {
29                "type": "graphics",
30                "index": 0
31            }, 
32            "renderDataStoreShaderSpecialization": {
33			    "dataStoreName": "RenderDataStorePod",
34				"typeName": "ShaderSpecializationRenderPod",
35				"configurationName": "ShaderSpecializationConfig"
36            },
37            "shader": "shaders://shader/London.shader",
38            "renderPass": {
39                "attachments": [
40                    {               
41                        "loadOp": "dont_care",
42                        "storeOp": "store",
43                        "name": "CORE_DEFAULT_BACKBUFFER"
44                    }               
45                ],
46                "subpassIndex": 0,
47                "subpassCount": 1,			
48                "subpass": {        
49                    "colorAttachmentIndices": [ 0 ]
50                }
51            },
52            "resources": {
53                "buffers": [
54                    {
55                        "set": 0,
56                        "binding": 0,
57                        "optionalOffset": 0,
58                        "resourceLocation": "from_named_render_node_output",
59                        "resourceIndex": 0,
60                        "nodeName": "RenderNodeCameras"
61                    },
62                    {
63                        "set": 0,
64	                    "binding": 1,
65	                    "optionalOffset": 0,
66	                    "name": "INPUT_BUFFER"
67	                },
68	                {
69	                    "set": 0,
70	                    "binding": 2,
71	                    "optionalOffset": 0,
72	                    "name": "RESOLUTION_BUFFER"
73	                }
74	            ],
75	            "samplers": [
76	               {
77	                    "set": 1,
78	                    "binding": 0,
79	                    "name": "CORE_DEFAULT_SAMPLER_LINEAR_MIPMAP_REPEAT"
80	               }
81	            ],
82	            "images": [
83	               {
84	                    "set": 1,
85	                    "binding": 1,
86	                    "optionalOffset": 0,
87	                    "name": "IMAGE_0"
88	               }
89	            ]
90	        }
91	    }
92 
93    ]
94}