RuntimeData/pipeline/alpha2d.xml

70 lines
1.9 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<root stageCount="2">
<tessellation PatchControlPoints="0"/>
<!--AlphaTest不是结构里仅在shader用的但因为关联Discard所以写在这里-->
<rasterizer
DepthClamp ="false"
Discard ="false"
AlaphTest ="0.0"
PolygonMode ="fill"
Cull ="none"
FrontFace ="CCW"
LineWidth ="1.0">
<!--不用写,写了代表打开 <depthbias
ConstantFactor ="0"
Clamp ="0"
SlopeFactor ="0"/>-->
</rasterizer>
<multisample
Samples ="1"
Shading ="false"
MinShading ="0"
AlphaToCoverage ="false"
AlphaToOne ="false"/>
<DepthStencil
DepthTest ="true"
DepthWrite ="true"
DepthCompareOp ="less_or_equal"
DepthBoundsTest ="false"
StencilTest ="false"
MinDepthBounds ="0"
MaxDepthBounds ="0">
<front
FailOp ="keep"
PassOp ="keep"
DepthFailOp ="keep"
CompareOp ="always"
CompareMask ="0"
Reference ="0"
WriteMask ="0"/>
<back
FailOp ="keep"
PassOp ="keep"
CompareOp ="always"
CompareMask ="0"
Reference ="0"
DepthFailOp ="keep"
WriteMask ="0"/>
</DepthStencil>
<ColorBlend
LogicOpEnable ="false"
LogicOp ="clear"
BlendConstants ="0,0,0,0">
<attachment
mask ="rgba"
blend ="true"
alpha ="add"
color ="add"
SrcColor="src_alpha"
DstColor="one_minus_src_alpha"
SrcAlpha="one"
DstAlpha="zero"/>
</ColorBlend>
</root>