[{"data":1,"prerenderedAt":483},["ShallowReactive",2],{"5FSX54eCTa":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":482,"_id":4},"VkSamplerReductionModeCreateInfo","Structure specifying sampler reduction mode","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":480},"root",[12,28,238,243,308,370,397,417,474],{"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,113],{"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 VkSamplerReductionModeCreateInfo {\n VkStructureType sType;\n const void* pNext;\n VkSamplerReductionMode reductionMode;\n} VkSamplerReductionModeCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104],{"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}," VkSamplerReductionModeCreateInfo {\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}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkSamplerReductionMode reductionMode;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112},"} VkSamplerReductionModeCreateInfo;\n",{"type":13,"tag":33,"props":114,"children":119},{"className":115,"code":116,"filename":117,"language":118,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SamplerReductionModeCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n reduction_mode: vk::SamplerReductionMode,\n}\n","Rust","rs",[120],{"type":13,"tag":21,"props":121,"children":122},{"__ignoreMap":39},[123,146,179,201,230],{"type":13,"tag":45,"props":124,"children":125},{"class":47,"line":48},[126,131,135,141],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":130},"pub",{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":60},{"type":13,"tag":45,"props":136,"children":138},{"style":137},"--shiki-default:#953800;--shiki-dark:#FFA657",[139],{"type":18,"value":140}," SamplerReductionModeCreateInfo",{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145}," {\n",{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":69},[149,154,159,164,169,174],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," s_type",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},":",{"type":13,"tag":45,"props":160,"children":161},{"style":137},[162],{"type":18,"value":163}," vk",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":168},"::",{"type":13,"tag":45,"props":170,"children":171},{"style":137},[172],{"type":18,"value":173},"StructureType",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178},",\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":78},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," p_next",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":158},{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195}," *const",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," c_void,\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":97},[204,209,213,217,221,226],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," reduction_mode",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":158},{"type":13,"tag":45,"props":214,"children":215},{"style":137},[216],{"type":18,"value":163},{"type":13,"tag":45,"props":218,"children":219},{"style":52},[220],{"type":18,"value":168},{"type":13,"tag":45,"props":222,"children":223},{"style":137},[224],{"type":18,"value":225},"SamplerReductionMode",{"type":13,"tag":45,"props":227,"children":228},{"style":63},[229],{"type":18,"value":178},{"type":13,"tag":45,"props":231,"children":232},{"class":47,"line":106},[233],{"type":13,"tag":45,"props":234,"children":235},{"style":63},[236],{"type":18,"value":237},"}\n",{"type":13,"tag":14,"props":239,"children":240},{},[241],{"type":18,"value":242},"or the equivalent",{"type":13,"tag":29,"props":244,"children":245},{},[246,265],{"type":13,"tag":33,"props":247,"children":249},{"className":35,"code":248,"filename":37,"language":38,"meta":39,"style":39},"typedef VkSamplerReductionModeCreateInfo VkSamplerReductionModeCreateInfoEXT;\n",[250],{"type":13,"tag":21,"props":251,"children":252},{"__ignoreMap":39},[253],{"type":13,"tag":45,"props":254,"children":255},{"class":47,"line":48},[256,260],{"type":13,"tag":45,"props":257,"children":258},{"style":52},[259],{"type":18,"value":55},{"type":13,"tag":45,"props":261,"children":262},{"style":63},[263],{"type":18,"value":264}," VkSamplerReductionModeCreateInfo VkSamplerReductionModeCreateInfoEXT;\n",{"type":13,"tag":33,"props":266,"children":268},{"className":115,"code":267,"filename":117,"language":118,"meta":39,"style":39},"type SamplerReductionModeCreateInfoEXT = vk::SamplerReductionModeCreateInfo;\n",[269],{"type":13,"tag":21,"props":270,"children":271},{"__ignoreMap":39},[272],{"type":13,"tag":45,"props":273,"children":274},{"class":47,"line":48},[275,280,285,290,294,298,303],{"type":13,"tag":45,"props":276,"children":277},{"style":52},[278],{"type":18,"value":279},"type",{"type":13,"tag":45,"props":281,"children":282},{"style":137},[283],{"type":18,"value":284}," SamplerReductionModeCreateInfoEXT",{"type":13,"tag":45,"props":286,"children":287},{"style":52},[288],{"type":18,"value":289}," =",{"type":13,"tag":45,"props":291,"children":292},{"style":137},[293],{"type":18,"value":163},{"type":13,"tag":45,"props":295,"children":296},{"style":52},[297],{"type":18,"value":168},{"type":13,"tag":45,"props":299,"children":300},{"style":137},[301],{"type":18,"value":302},"SamplerReductionModeCreateInfo",{"type":13,"tag":45,"props":304,"children":305},{"style":63},[306],{"type":18,"value":307},";\n",{"type":13,"tag":309,"props":310,"children":311},"ul",{},[312,333,352],{"type":13,"tag":313,"props":314,"children":315},"li",{},[316,322,324,331],{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"sType",{"type":18,"value":323}," is a ",{"type":13,"tag":325,"props":326,"children":328},"a",{"href":327},"/man/VkStructureType",[329],{"type":18,"value":330},"VkStructureType",{"type":18,"value":332}," value identifying this structure.",{"type":13,"tag":313,"props":334,"children":335},{},[336,342,344,350],{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"pNext",{"type":18,"value":343}," is ",{"type":13,"tag":21,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"NULL",{"type":18,"value":351}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":313,"props":353,"children":354},{},[355,361,362,368],{"type":13,"tag":21,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":360},"reductionMode",{"type":18,"value":323},{"type":13,"tag":325,"props":363,"children":365},{"href":364},"/man/VkSamplerReductionMode",[366],{"type":18,"value":367},"VkSamplerReductionMode",{"type":18,"value":369}," value controlling\nhow texture filtering combines texel values.",{"type":13,"tag":14,"props":371,"children":372},{},[373,375,380,382,388,390,395],{"type":18,"value":374},"If the ",{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":341},{"type":18,"value":381}," chain of ",{"type":13,"tag":325,"props":383,"children":385},{"href":384},"/man/VkSamplerCreateInfo",[386],{"type":18,"value":387},"VkSamplerCreateInfo",{"type":18,"value":389}," includes a\n",{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":4},{"type":18,"value":396}," structure, then that structure\nincludes a mode controlling how texture filtering combines texel values.",{"type":13,"tag":14,"props":398,"children":399},{},[400,402,407,409,415],{"type":18,"value":401},"If this structure is not present, ",{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":360},{"type":18,"value":408}," is considered to be\n",{"type":13,"tag":21,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":414},"VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE",{"type":18,"value":416},".",{"type":13,"tag":418,"props":419,"children":421},"validity-group",{"name":420},"Valid Usage (Implicit)",[422,450],{"type":13,"tag":423,"props":424,"children":426},"validity-field",{"name":425},"VUID-VkSamplerReductionModeCreateInfo-sType-sType",[427],{"type":13,"tag":14,"props":428,"children":429},{},[430,435,437,442,444],{"type":13,"tag":21,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":321},{"type":18,"value":436}," ",{"type":13,"tag":438,"props":439,"children":441},"normative",{"type":440},"must",[],{"type":18,"value":443}," be ",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO",{"type":13,"tag":423,"props":451,"children":453},{"name":452},"VUID-VkSamplerReductionModeCreateInfo-reductionMode-parameter",[454],{"type":13,"tag":14,"props":455,"children":456},{},[457,462,463,466,468,472],{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":360},{"type":18,"value":436},{"type":13,"tag":438,"props":464,"children":465},{"type":440},[],{"type":18,"value":467}," be a valid ",{"type":13,"tag":325,"props":469,"children":470},{"href":364},[471],{"type":18,"value":367},{"type":18,"value":473}," value",{"type":13,"tag":475,"props":476,"children":477},"style",{},[478],{"type":18,"value":479},"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":481},[],"markdown",1725732584735]