[{"data":1,"prerenderedAt":588},["ShallowReactive",2],{"WxylpdXctq":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":587,"_id":4},"VkStencilOpState","Structure specifying stencil operation state","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":585},"root",[12,28,372,480,579],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,152],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkStencilOpState {\n VkStencilOp failOp;\n VkStencilOp passOp;\n VkStencilOp depthFailOp;\n VkCompareOp compareOp;\n uint32_t compareMask;\n uint32_t writeMask;\n uint32_t reference;\n} VkStencilOpState;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,94,103,117,130,143],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkStencilOpState {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStencilOp failOp;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkStencilOp passOp;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," VkStencilOp depthFailOp;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},5,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," VkCompareOp compareOp;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},6,[107,112],{"type":13,"tag":45,"props":108,"children":109},{"style":52},[110],{"type":18,"value":111}," uint32_t",{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," compareMask;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121,125],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":111},{"type":13,"tag":45,"props":126,"children":127},{"style":63},[128],{"type":18,"value":129}," writeMask;\n",{"type":13,"tag":45,"props":131,"children":133},{"class":47,"line":132},8,[134,138],{"type":13,"tag":45,"props":135,"children":136},{"style":52},[137],{"type":18,"value":111},{"type":13,"tag":45,"props":139,"children":140},{"style":63},[141],{"type":18,"value":142}," reference;\n",{"type":13,"tag":45,"props":144,"children":146},{"class":47,"line":145},9,[147],{"type":13,"tag":45,"props":148,"children":149},{"style":63},[150],{"type":18,"value":151},"} VkStencilOpState;\n",{"type":13,"tag":33,"props":153,"children":158},{"className":154,"code":155,"filename":156,"language":157,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct StencilOpState {\n fail_op: vk::StencilOp,\n pass_op: vk::StencilOp,\n depth_fail_op: vk::StencilOp,\n compare_op: vk::CompareOp,\n compare_mask: u32,\n write_mask: u32,\n reference: u32,\n}\n","Rust","rs",[159],{"type":13,"tag":21,"props":160,"children":161},{"__ignoreMap":39},[162,185,218,246,274,303,324,344,364],{"type":13,"tag":45,"props":163,"children":164},{"class":47,"line":48},[165,170,174,180],{"type":13,"tag":45,"props":166,"children":167},{"style":52},[168],{"type":18,"value":169},"pub",{"type":13,"tag":45,"props":171,"children":172},{"style":52},[173],{"type":18,"value":60},{"type":13,"tag":45,"props":175,"children":177},{"style":176},"--shiki-default:#953800;--shiki-dark:#FFA657",[178],{"type":18,"value":179}," StencilOpState",{"type":13,"tag":45,"props":181,"children":182},{"style":63},[183],{"type":18,"value":184}," {\n",{"type":13,"tag":45,"props":186,"children":187},{"class":47,"line":69},[188,193,198,203,208,213],{"type":13,"tag":45,"props":189,"children":190},{"style":63},[191],{"type":18,"value":192}," fail_op",{"type":13,"tag":45,"props":194,"children":195},{"style":52},[196],{"type":18,"value":197},":",{"type":13,"tag":45,"props":199,"children":200},{"style":176},[201],{"type":18,"value":202}," vk",{"type":13,"tag":45,"props":204,"children":205},{"style":52},[206],{"type":18,"value":207},"::",{"type":13,"tag":45,"props":209,"children":210},{"style":176},[211],{"type":18,"value":212},"StencilOp",{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217},",\n",{"type":13,"tag":45,"props":219,"children":220},{"class":47,"line":78},[221,226,230,234,238,242],{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":225}," pass_op",{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":197},{"type":13,"tag":45,"props":231,"children":232},{"style":176},[233],{"type":18,"value":202},{"type":13,"tag":45,"props":235,"children":236},{"style":52},[237],{"type":18,"value":207},{"type":13,"tag":45,"props":239,"children":240},{"style":176},[241],{"type":18,"value":212},{"type":13,"tag":45,"props":243,"children":244},{"style":63},[245],{"type":18,"value":217},{"type":13,"tag":45,"props":247,"children":248},{"class":47,"line":87},[249,254,258,262,266,270],{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":253}," depth_fail_op",{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":197},{"type":13,"tag":45,"props":259,"children":260},{"style":176},[261],{"type":18,"value":202},{"type":13,"tag":45,"props":263,"children":264},{"style":52},[265],{"type":18,"value":207},{"type":13,"tag":45,"props":267,"children":268},{"style":176},[269],{"type":18,"value":212},{"type":13,"tag":45,"props":271,"children":272},{"style":63},[273],{"type":18,"value":217},{"type":13,"tag":45,"props":275,"children":276},{"class":47,"line":96},[277,282,286,290,294,299],{"type":13,"tag":45,"props":278,"children":279},{"style":63},[280],{"type":18,"value":281}," compare_op",{"type":13,"tag":45,"props":283,"children":284},{"style":52},[285],{"type":18,"value":197},{"type":13,"tag":45,"props":287,"children":288},{"style":176},[289],{"type":18,"value":202},{"type":13,"tag":45,"props":291,"children":292},{"style":52},[293],{"type":18,"value":207},{"type":13,"tag":45,"props":295,"children":296},{"style":176},[297],{"type":18,"value":298},"CompareOp",{"type":13,"tag":45,"props":300,"children":301},{"style":63},[302],{"type":18,"value":217},{"type":13,"tag":45,"props":304,"children":305},{"class":47,"line":105},[306,311,315,320],{"type":13,"tag":45,"props":307,"children":308},{"style":63},[309],{"type":18,"value":310}," compare_mask",{"type":13,"tag":45,"props":312,"children":313},{"style":52},[314],{"type":18,"value":197},{"type":13,"tag":45,"props":316,"children":317},{"style":176},[318],{"type":18,"value":319}," u32",{"type":13,"tag":45,"props":321,"children":322},{"style":63},[323],{"type":18,"value":217},{"type":13,"tag":45,"props":325,"children":326},{"class":47,"line":119},[327,332,336,340],{"type":13,"tag":45,"props":328,"children":329},{"style":63},[330],{"type":18,"value":331}," write_mask",{"type":13,"tag":45,"props":333,"children":334},{"style":52},[335],{"type":18,"value":197},{"type":13,"tag":45,"props":337,"children":338},{"style":176},[339],{"type":18,"value":319},{"type":13,"tag":45,"props":341,"children":342},{"style":63},[343],{"type":18,"value":217},{"type":13,"tag":45,"props":345,"children":346},{"class":47,"line":132},[347,352,356,360],{"type":13,"tag":45,"props":348,"children":349},{"style":63},[350],{"type":18,"value":351}," reference",{"type":13,"tag":45,"props":353,"children":354},{"style":52},[355],{"type":18,"value":197},{"type":13,"tag":45,"props":357,"children":358},{"style":176},[359],{"type":18,"value":319},{"type":13,"tag":45,"props":361,"children":362},{"style":63},[363],{"type":18,"value":217},{"type":13,"tag":45,"props":365,"children":366},{"class":47,"line":145},[367],{"type":13,"tag":45,"props":368,"children":369},{"style":63},[370],{"type":18,"value":371},"}\n",{"type":13,"tag":373,"props":374,"children":375},"ul",{},[376,397,413,429,447,458,469],{"type":13,"tag":377,"props":378,"children":379},"li",{},[380,386,388,395],{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"failOp",{"type":18,"value":387}," is a ",{"type":13,"tag":389,"props":390,"children":392},"a",{"href":391},"/man/VkStencilOp",[393],{"type":18,"value":394},"VkStencilOp",{"type":18,"value":396}," value specifying the action\nperformed on samples that fail the stencil test.",{"type":13,"tag":377,"props":398,"children":399},{},[400,406,407,411],{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":405},"passOp",{"type":18,"value":387},{"type":13,"tag":389,"props":408,"children":409},{"href":391},[410],{"type":18,"value":394},{"type":18,"value":412}," value specifying the action\nperformed on samples that pass both the depth and stencil tests.",{"type":13,"tag":377,"props":414,"children":415},{},[416,422,423,427],{"type":13,"tag":21,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":421},"depthFailOp",{"type":18,"value":387},{"type":13,"tag":389,"props":424,"children":425},{"href":391},[426],{"type":18,"value":394},{"type":18,"value":428}," value specifying the action\nperformed on samples that pass the stencil test and fail the depth test.",{"type":13,"tag":377,"props":430,"children":431},{},[432,438,439,445],{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"compareOp",{"type":18,"value":387},{"type":13,"tag":389,"props":440,"children":442},{"href":441},"/man/VkCompareOp",[443],{"type":18,"value":444},"VkCompareOp",{"type":18,"value":446}," value specifying the comparison\noperator used in the stencil test.",{"type":13,"tag":377,"props":448,"children":449},{},[450,456],{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":455},"compareMask",{"type":18,"value":457}," selects the bits of the unsigned integer stencil\nvalues participating in the stencil test.",{"type":13,"tag":377,"props":459,"children":460},{},[461,467],{"type":13,"tag":21,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":466},"writeMask",{"type":18,"value":468}," selects the bits of the unsigned integer stencil values\nupdated by the stencil test in the stencil framebuffer attachment.",{"type":13,"tag":377,"props":470,"children":471},{},[472,478],{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":477},"reference",{"type":18,"value":479}," is an integer stencil reference value that is used in\nthe unsigned stencil comparison.",{"type":13,"tag":481,"props":482,"children":484},"validity-group",{"name":483},"Valid Usage (Implicit)",[485,513,535,557],{"type":13,"tag":486,"props":487,"children":489},"validity-field",{"name":488},"VUID-VkStencilOpState-failOp-parameter",[490],{"type":13,"tag":14,"props":491,"children":492},{},[493,498,500,505,507,511],{"type":13,"tag":21,"props":494,"children":496},{"className":495},[],[497],{"type":18,"value":385},{"type":18,"value":499}," ",{"type":13,"tag":501,"props":502,"children":504},"normative",{"type":503},"must",[],{"type":18,"value":506}," be a valid ",{"type":13,"tag":389,"props":508,"children":509},{"href":391},[510],{"type":18,"value":394},{"type":18,"value":512}," value",{"type":13,"tag":486,"props":514,"children":516},{"name":515},"VUID-VkStencilOpState-passOp-parameter",[517],{"type":13,"tag":14,"props":518,"children":519},{},[520,525,526,529,530,534],{"type":13,"tag":21,"props":521,"children":523},{"className":522},[],[524],{"type":18,"value":405},{"type":18,"value":499},{"type":13,"tag":501,"props":527,"children":528},{"type":503},[],{"type":18,"value":506},{"type":13,"tag":389,"props":531,"children":532},{"href":391},[533],{"type":18,"value":394},{"type":18,"value":512},{"type":13,"tag":486,"props":536,"children":538},{"name":537},"VUID-VkStencilOpState-depthFailOp-parameter",[539],{"type":13,"tag":14,"props":540,"children":541},{},[542,547,548,551,552,556],{"type":13,"tag":21,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":421},{"type":18,"value":499},{"type":13,"tag":501,"props":549,"children":550},{"type":503},[],{"type":18,"value":506},{"type":13,"tag":389,"props":553,"children":554},{"href":391},[555],{"type":18,"value":394},{"type":18,"value":512},{"type":13,"tag":486,"props":558,"children":560},{"name":559},"VUID-VkStencilOpState-compareOp-parameter",[561],{"type":13,"tag":14,"props":562,"children":563},{},[564,569,570,573,574,578],{"type":13,"tag":21,"props":565,"children":567},{"className":566},[],[568],{"type":18,"value":437},{"type":18,"value":499},{"type":13,"tag":501,"props":571,"children":572},{"type":503},[],{"type":18,"value":506},{"type":13,"tag":389,"props":575,"children":576},{"href":441},[577],{"type":18,"value":444},{"type":18,"value":512},{"type":13,"tag":580,"props":581,"children":582},"style",{},[583],{"type":18,"value":584},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":39,"searchDepth":69,"depth":69,"links":586},[],"markdown",1729612481887]