[{"data":1,"prerenderedAt":491},["ShallowReactive",2],{"5LwNXb2fGx":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":490,"_id":4},"VkPipelineSampleLocationsStateCreateInfoEXT","Structure specifying sample locations for a pipeline","VK_EXT_sample_locations","structs",[],{"type":10,"children":11,"toc":488},"root",[12,27,57,69,317,424,482],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","Applications ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," also control the sample locations used for rasterization.",{"type":13,"tag":14,"props":28,"children":29},{},[30,32,39,41,48,50,55],{"type":18,"value":31},"If the ",{"type":13,"tag":33,"props":34,"children":36},"code",{"className":35},[],[37],{"type":18,"value":38},"pNext",{"type":18,"value":40}," chain of the ",{"type":13,"tag":42,"props":43,"children":45},"a",{"href":44},"/man/VkPipelineMultisampleStateCreateInfo",[46],{"type":18,"value":47},"VkPipelineMultisampleStateCreateInfo",{"type":18,"value":49},"\nstructure specified at pipeline creation time includes a\n",{"type":13,"tag":33,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure, then that\nstructure controls the sample locations used when rasterizing primitives\nwith the pipeline.",{"type":13,"tag":14,"props":58,"children":59},{},[60,62,67],{"type":18,"value":61},"The ",{"type":13,"tag":33,"props":63,"children":65},{"className":64},[],[66],{"type":18,"value":4},{"type":18,"value":68}," structure is defined\nas:",{"type":13,"tag":70,"props":71,"children":72},"code-group",{},[73,163],{"type":13,"tag":74,"props":75,"children":81},"pre",{"className":76,"code":77,"filename":78,"language":79,"meta":80,"style":80},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPipelineSampleLocationsStateCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkBool32 sampleLocationsEnable;\n VkSampleLocationsInfoEXT sampleLocationsInfo;\n} VkPipelineSampleLocationsStateCreateInfoEXT;\n","C","c","",[82],{"type":13,"tag":33,"props":83,"children":84},{"__ignoreMap":80},[85,108,117,136,145,154],{"type":13,"tag":86,"props":87,"children":90},"span",{"class":88,"line":89},"line",1,[91,97,102],{"type":13,"tag":86,"props":92,"children":94},{"style":93},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[95],{"type":18,"value":96},"typedef",{"type":13,"tag":86,"props":98,"children":99},{"style":93},[100],{"type":18,"value":101}," struct",{"type":13,"tag":86,"props":103,"children":105},{"style":104},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[106],{"type":18,"value":107}," VkPipelineSampleLocationsStateCreateInfoEXT {\n",{"type":13,"tag":86,"props":109,"children":111},{"class":88,"line":110},2,[112],{"type":13,"tag":86,"props":113,"children":114},{"style":104},[115],{"type":18,"value":116}," VkStructureType sType;\n",{"type":13,"tag":86,"props":118,"children":120},{"class":88,"line":119},3,[121,126,131],{"type":13,"tag":86,"props":122,"children":123},{"style":93},[124],{"type":18,"value":125}," const",{"type":13,"tag":86,"props":127,"children":128},{"style":93},[129],{"type":18,"value":130}," void*",{"type":13,"tag":86,"props":132,"children":133},{"style":104},[134],{"type":18,"value":135}," pNext;\n",{"type":13,"tag":86,"props":137,"children":139},{"class":88,"line":138},4,[140],{"type":13,"tag":86,"props":141,"children":142},{"style":104},[143],{"type":18,"value":144}," VkBool32 sampleLocationsEnable;\n",{"type":13,"tag":86,"props":146,"children":148},{"class":88,"line":147},5,[149],{"type":13,"tag":86,"props":150,"children":151},{"style":104},[152],{"type":18,"value":153}," VkSampleLocationsInfoEXT sampleLocationsInfo;\n",{"type":13,"tag":86,"props":155,"children":157},{"class":88,"line":156},6,[158],{"type":13,"tag":86,"props":159,"children":160},{"style":104},[161],{"type":18,"value":162},"} VkPipelineSampleLocationsStateCreateInfoEXT;\n",{"type":13,"tag":74,"props":164,"children":169},{"className":165,"code":166,"filename":167,"language":168,"meta":80,"style":80},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineSampleLocationsStateCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n sample_locations_enable: vk::Bool32,\n sample_locations_info: vk::SampleLocationsInfoEXT,\n}\n","Rust","rs",[170],{"type":13,"tag":33,"props":171,"children":172},{"__ignoreMap":80},[173,196,229,251,280,309],{"type":13,"tag":86,"props":174,"children":175},{"class":88,"line":89},[176,181,185,191],{"type":13,"tag":86,"props":177,"children":178},{"style":93},[179],{"type":18,"value":180},"pub",{"type":13,"tag":86,"props":182,"children":183},{"style":93},[184],{"type":18,"value":101},{"type":13,"tag":86,"props":186,"children":188},{"style":187},"--shiki-default:#953800;--shiki-dark:#FFA657",[189],{"type":18,"value":190}," PipelineSampleLocationsStateCreateInfoEXT",{"type":13,"tag":86,"props":192,"children":193},{"style":104},[194],{"type":18,"value":195}," {\n",{"type":13,"tag":86,"props":197,"children":198},{"class":88,"line":110},[199,204,209,214,219,224],{"type":13,"tag":86,"props":200,"children":201},{"style":104},[202],{"type":18,"value":203}," s_type",{"type":13,"tag":86,"props":205,"children":206},{"style":93},[207],{"type":18,"value":208},":",{"type":13,"tag":86,"props":210,"children":211},{"style":187},[212],{"type":18,"value":213}," vk",{"type":13,"tag":86,"props":215,"children":216},{"style":93},[217],{"type":18,"value":218},"::",{"type":13,"tag":86,"props":220,"children":221},{"style":187},[222],{"type":18,"value":223},"StructureType",{"type":13,"tag":86,"props":225,"children":226},{"style":104},[227],{"type":18,"value":228},",\n",{"type":13,"tag":86,"props":230,"children":231},{"class":88,"line":119},[232,237,241,246],{"type":13,"tag":86,"props":233,"children":234},{"style":104},[235],{"type":18,"value":236}," p_next",{"type":13,"tag":86,"props":238,"children":239},{"style":93},[240],{"type":18,"value":208},{"type":13,"tag":86,"props":242,"children":243},{"style":93},[244],{"type":18,"value":245}," *const",{"type":13,"tag":86,"props":247,"children":248},{"style":104},[249],{"type":18,"value":250}," c_void,\n",{"type":13,"tag":86,"props":252,"children":253},{"class":88,"line":138},[254,259,263,267,271,276],{"type":13,"tag":86,"props":255,"children":256},{"style":104},[257],{"type":18,"value":258}," sample_locations_enable",{"type":13,"tag":86,"props":260,"children":261},{"style":93},[262],{"type":18,"value":208},{"type":13,"tag":86,"props":264,"children":265},{"style":187},[266],{"type":18,"value":213},{"type":13,"tag":86,"props":268,"children":269},{"style":93},[270],{"type":18,"value":218},{"type":13,"tag":86,"props":272,"children":273},{"style":187},[274],{"type":18,"value":275},"Bool32",{"type":13,"tag":86,"props":277,"children":278},{"style":104},[279],{"type":18,"value":228},{"type":13,"tag":86,"props":281,"children":282},{"class":88,"line":147},[283,288,292,296,300,305],{"type":13,"tag":86,"props":284,"children":285},{"style":104},[286],{"type":18,"value":287}," sample_locations_info",{"type":13,"tag":86,"props":289,"children":290},{"style":93},[291],{"type":18,"value":208},{"type":13,"tag":86,"props":293,"children":294},{"style":187},[295],{"type":18,"value":213},{"type":13,"tag":86,"props":297,"children":298},{"style":93},[299],{"type":18,"value":218},{"type":13,"tag":86,"props":301,"children":302},{"style":187},[303],{"type":18,"value":304},"SampleLocationsInfoEXT",{"type":13,"tag":86,"props":306,"children":307},{"style":104},[308],{"type":18,"value":228},{"type":13,"tag":86,"props":310,"children":311},{"class":88,"line":156},[312],{"type":13,"tag":86,"props":313,"children":314},{"style":104},[315],{"type":18,"value":316},"}\n",{"type":13,"tag":318,"props":319,"children":320},"ul",{},[321,341,359,392],{"type":13,"tag":322,"props":323,"children":324},"li",{},[325,331,333,339],{"type":13,"tag":33,"props":326,"children":328},{"className":327},[],[329],{"type":18,"value":330},"sType",{"type":18,"value":332}," is a ",{"type":13,"tag":42,"props":334,"children":336},{"href":335},"/man/VkStructureType",[337],{"type":18,"value":338},"VkStructureType",{"type":18,"value":340}," value identifying this structure.",{"type":13,"tag":322,"props":342,"children":343},{},[344,349,351,357],{"type":13,"tag":33,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":38},{"type":18,"value":350}," is ",{"type":13,"tag":33,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"NULL",{"type":18,"value":358}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":322,"props":360,"children":361},{},[362,368,370,375,376,382,384,390],{"type":13,"tag":33,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":367},"sampleLocationsEnable",{"type":18,"value":369}," controls whether custom sample locations are\nused.\nIf ",{"type":13,"tag":33,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":367},{"type":18,"value":350},{"type":13,"tag":33,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"VK_FALSE",{"type":18,"value":383},", the default sample\nlocations are used and the values specified in ",{"type":13,"tag":33,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"sampleLocationsInfo",{"type":18,"value":391},"\nare ignored.",{"type":13,"tag":322,"props":393,"children":394},{},[395,400,402,407,408,414,416,422],{"type":13,"tag":33,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":389},{"type":18,"value":401}," is the sample locations to use during\nrasterization if ",{"type":13,"tag":33,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":367},{"type":18,"value":350},{"type":13,"tag":33,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":413},"VK_TRUE",{"type":18,"value":415}," and the\ngraphics pipeline is not created with\n",{"type":13,"tag":33,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":421},"VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT",{"type":18,"value":423},".",{"type":13,"tag":425,"props":426,"children":428},"validity-group",{"name":427},"Valid Usage (Implicit)",[429,456],{"type":13,"tag":430,"props":431,"children":433},"validity-field",{"name":432},"VUID-VkPipelineSampleLocationsStateCreateInfoEXT-sType-sType",[434],{"type":13,"tag":14,"props":435,"children":436},{},[437,442,444,448,450],{"type":13,"tag":33,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":330},{"type":18,"value":443}," ",{"type":13,"tag":21,"props":445,"children":447},{"type":446},"must",[],{"type":18,"value":449}," be ",{"type":13,"tag":33,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":455},"VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT",{"type":13,"tag":430,"props":457,"children":459},{"name":458},"VUID-VkPipelineSampleLocationsStateCreateInfoEXT-sampleLocationsInfo-parameter",[460],{"type":13,"tag":14,"props":461,"children":462},{},[463,468,469,472,474,480],{"type":13,"tag":33,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":389},{"type":18,"value":443},{"type":13,"tag":21,"props":470,"children":471},{"type":446},[],{"type":18,"value":473}," be a valid ",{"type":13,"tag":42,"props":475,"children":477},{"href":476},"/man/VkSampleLocationsInfoEXT",[478],{"type":18,"value":479},"VkSampleLocationsInfoEXT",{"type":18,"value":481}," structure",{"type":13,"tag":483,"props":484,"children":485},"style",{},[486],{"type":18,"value":487},"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":80,"searchDepth":110,"depth":110,"links":489},[],"markdown",1725732579485]