6584e1290b
* Add option to set stencil ref in Dynamic Draw Context * Add depth/stencil attachment slot to UI pass * Rework mask rendering to use Atom * Add missing circle mask image
69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "UIParentTemplate",
|
|
"PassClass": "ParentPass",
|
|
"Slots": [
|
|
{
|
|
"Name": "InputOutput",
|
|
"SlotType": "InputOutput"
|
|
},
|
|
{
|
|
"Name": "DepthInputOutput",
|
|
"SlotType": "InputOutput",
|
|
"ScopeAttachmentUsage": "DepthStencil"
|
|
}
|
|
],
|
|
"PassRequests": [
|
|
{
|
|
"Name": "2DPass",
|
|
"TemplateName": "UIPassTemplate",
|
|
"Enabled": true,
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "InputOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "InputOutput"
|
|
}
|
|
},
|
|
{
|
|
"LocalSlot": "DepthInputOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "Parent",
|
|
"Attachment": "DepthInputOutput"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "RasterPassData",
|
|
"DrawListTag": "2dpass",
|
|
"PipelineViewTag": "MainCamera"
|
|
}
|
|
},
|
|
{
|
|
"Name": "ImGuiPass",
|
|
"TemplateName": "ImGuiPassTemplate",
|
|
"Enabled": true,
|
|
"Connections": [
|
|
{
|
|
"LocalSlot": "InputOutput",
|
|
"AttachmentRef": {
|
|
"Pass": "2DPass",
|
|
"Attachment": "InputOutput"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "ImGuiPassData",
|
|
"IsDefaultImGui": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|