[{"data":1,"prerenderedAt":271},["ShallowReactive",2],{"vmI4cPQPfb":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":270,"_id":4},"VkSampleLocationEXT","Structure specifying the coordinates of a sample location","VK_EXT_sample_locations","structs",[],{"type":10,"children":11,"toc":268},"root",[12,28,187,214,219,262],{"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,103],{"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 VkSampleLocationEXT {\n float x;\n float y;\n} VkSampleLocationEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,94],{"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}," VkSampleLocationEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76],{"type":13,"tag":45,"props":72,"children":73},{"style":52},[74],{"type":18,"value":75}," float",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," x;\n",{"type":13,"tag":45,"props":82,"children":84},{"class":47,"line":83},3,[85,89],{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":75},{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," y;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},4,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102},"} VkSampleLocationEXT;\n",{"type":13,"tag":33,"props":104,"children":109},{"className":105,"code":106,"filename":107,"language":108,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SampleLocationEXT {\n x: f32,\n y: f32,\n}\n","Rust","rs",[110],{"type":13,"tag":21,"props":111,"children":112},{"__ignoreMap":39},[113,136,159,179],{"type":13,"tag":45,"props":114,"children":115},{"class":47,"line":48},[116,121,125,131],{"type":13,"tag":45,"props":117,"children":118},{"style":52},[119],{"type":18,"value":120},"pub",{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":60},{"type":13,"tag":45,"props":126,"children":128},{"style":127},"--shiki-default:#953800;--shiki-dark:#FFA657",[129],{"type":18,"value":130}," SampleLocationEXT",{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135}," {\n",{"type":13,"tag":45,"props":137,"children":138},{"class":47,"line":69},[139,144,149,154],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143}," x",{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},":",{"type":13,"tag":45,"props":150,"children":151},{"style":127},[152],{"type":18,"value":153}," f32",{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":158},",\n",{"type":13,"tag":45,"props":160,"children":161},{"class":47,"line":83},[162,167,171,175],{"type":13,"tag":45,"props":163,"children":164},{"style":63},[165],{"type":18,"value":166}," y",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":148},{"type":13,"tag":45,"props":172,"children":173},{"style":127},[174],{"type":18,"value":153},{"type":13,"tag":45,"props":176,"children":177},{"style":63},[178],{"type":18,"value":158},{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":96},[182],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186},"}\n",{"type":13,"tag":188,"props":189,"children":190},"ul",{},[191,203],{"type":13,"tag":192,"props":193,"children":194},"li",{},[195,201],{"type":13,"tag":21,"props":196,"children":198},{"className":197},[],[199],{"type":18,"value":200},"x",{"type":18,"value":202}," is the horizontal coordinate of the sample’s location.",{"type":13,"tag":192,"props":204,"children":205},{},[206,212],{"type":13,"tag":21,"props":207,"children":209},{"className":208},[],[210],{"type":18,"value":211},"y",{"type":18,"value":213}," is the vertical coordinate of the sample’s location.",{"type":13,"tag":14,"props":215,"children":216},{},[217],{"type":18,"value":218},"The domain space of the sample location coordinates has an upper-left origin\nwithin the pixel in framebuffer space.",{"type":13,"tag":14,"props":220,"children":221},{},[222,224,229,231,237,239,244,246,251,253,260],{"type":18,"value":223},"The values specified in a ",{"type":13,"tag":21,"props":225,"children":227},{"className":226},[],[228],{"type":18,"value":4},{"type":18,"value":230}," structure are always\nclamped to the implementation-dependent sample location coordinate range\n[",{"type":13,"tag":21,"props":232,"children":234},{"className":233},[],[235],{"type":18,"value":236},"sampleLocationCoordinateRange",{"type":18,"value":238},"[0],",{"type":13,"tag":21,"props":240,"children":242},{"className":241},[],[243],{"type":18,"value":236},{"type":18,"value":245},"[1]]\nthat ",{"type":13,"tag":247,"props":248,"children":250},"normative",{"type":249},"can",[],{"type":18,"value":252}," be queried using\n",{"type":13,"tag":254,"props":255,"children":257},"a",{"href":256},"/man/VkPhysicalDeviceSampleLocationsPropertiesEXT",[258],{"type":18,"value":259},"VkPhysicalDeviceSampleLocationsPropertiesEXT",{"type":18,"value":261},".",{"type":13,"tag":263,"props":264,"children":265},"style",{},[266],{"type":18,"value":267},"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":269},[],"markdown",1729612478262]