[{"data":1,"prerenderedAt":663},["ShallowReactive",2],{"esQenBVfxP":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":662,"_id":4},"VkPhysicalDeviceSampleLocationsPropertiesEXT","Structure describing sample location limits that can be supported by an implementation","VK_EXT_sample_locations","structs",[],{"type":10,"children":11,"toc":660},"root",[12,28,415,589,624,654],{"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\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,171],{"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 VkPhysicalDeviceSampleLocationsPropertiesEXT {\n VkStructureType sType;\n void* pNext;\n VkSampleCountFlags sampleLocationSampleCounts;\n VkExtent2D maxSampleLocationGridSize;\n float sampleLocationCoordinateRange[2];\n uint32_t sampleLocationSubPixelBits;\n VkBool32 variableSampleLocations;\n} VkPhysicalDeviceSampleLocationsPropertiesEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,139,153,162],{"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}," VkPhysicalDeviceSampleLocationsPropertiesEXT {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkSampleCountFlags sampleLocationSampleCounts;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkExtent2D maxSampleLocationGridSize;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112,117,123,128,134],{"type":13,"tag":45,"props":113,"children":114},{"style":52},[115],{"type":18,"value":116}," float",{"type":13,"tag":45,"props":118,"children":120},{"style":119},"--shiki-default:#953800;--shiki-dark:#FFA657",[121],{"type":18,"value":122}," sampleLocationCoordinateRange",{"type":13,"tag":45,"props":124,"children":125},{"style":63},[126],{"type":18,"value":127},"[",{"type":13,"tag":45,"props":129,"children":131},{"style":130},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[132],{"type":18,"value":133},"2",{"type":13,"tag":45,"props":135,"children":136},{"style":63},[137],{"type":18,"value":138},"];\n",{"type":13,"tag":45,"props":140,"children":142},{"class":47,"line":141},7,[143,148],{"type":13,"tag":45,"props":144,"children":145},{"style":52},[146],{"type":18,"value":147}," uint32_t",{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152}," sampleLocationSubPixelBits;\n",{"type":13,"tag":45,"props":154,"children":156},{"class":47,"line":155},8,[157],{"type":13,"tag":45,"props":158,"children":159},{"style":63},[160],{"type":18,"value":161}," VkBool32 variableSampleLocations;\n",{"type":13,"tag":45,"props":163,"children":165},{"class":47,"line":164},9,[166],{"type":13,"tag":45,"props":167,"children":168},{"style":63},[169],{"type":18,"value":170},"} VkPhysicalDeviceSampleLocationsPropertiesEXT;\n",{"type":13,"tag":33,"props":172,"children":177},{"className":173,"code":174,"filename":175,"language":176,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceSampleLocationsPropertiesEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n sample_location_sample_counts: vk::SampleCountFlags,\n max_sample_location_grid_size: vk::Extent2D,\n sample_location_coordinate_range: *const [f32 ; 2],\n sample_location_sub_pixel_bits: u32,\n variable_sample_locations: vk::Bool32,\n}\n","Rust","rs",[178],{"type":13,"tag":21,"props":179,"children":180},{"__ignoreMap":39},[181,203,236,258,287,316,357,378,407],{"type":13,"tag":45,"props":182,"children":183},{"class":47,"line":48},[184,189,193,198],{"type":13,"tag":45,"props":185,"children":186},{"style":52},[187],{"type":18,"value":188},"pub",{"type":13,"tag":45,"props":190,"children":191},{"style":52},[192],{"type":18,"value":60},{"type":13,"tag":45,"props":194,"children":195},{"style":119},[196],{"type":18,"value":197}," PhysicalDeviceSampleLocationsPropertiesEXT",{"type":13,"tag":45,"props":199,"children":200},{"style":63},[201],{"type":18,"value":202}," {\n",{"type":13,"tag":45,"props":204,"children":205},{"class":47,"line":69},[206,211,216,221,226,231],{"type":13,"tag":45,"props":207,"children":208},{"style":63},[209],{"type":18,"value":210}," s_type",{"type":13,"tag":45,"props":212,"children":213},{"style":52},[214],{"type":18,"value":215},":",{"type":13,"tag":45,"props":217,"children":218},{"style":119},[219],{"type":18,"value":220}," vk",{"type":13,"tag":45,"props":222,"children":223},{"style":52},[224],{"type":18,"value":225},"::",{"type":13,"tag":45,"props":227,"children":228},{"style":119},[229],{"type":18,"value":230},"StructureType",{"type":13,"tag":45,"props":232,"children":233},{"style":63},[234],{"type":18,"value":235},",\n",{"type":13,"tag":45,"props":237,"children":238},{"class":47,"line":78},[239,244,248,253],{"type":13,"tag":45,"props":240,"children":241},{"style":63},[242],{"type":18,"value":243}," p_next",{"type":13,"tag":45,"props":245,"children":246},{"style":52},[247],{"type":18,"value":215},{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":252}," *mut",{"type":13,"tag":45,"props":254,"children":255},{"style":63},[256],{"type":18,"value":257}," c_void,\n",{"type":13,"tag":45,"props":259,"children":260},{"class":47,"line":92},[261,266,270,274,278,283],{"type":13,"tag":45,"props":262,"children":263},{"style":63},[264],{"type":18,"value":265}," sample_location_sample_counts",{"type":13,"tag":45,"props":267,"children":268},{"style":52},[269],{"type":18,"value":215},{"type":13,"tag":45,"props":271,"children":272},{"style":119},[273],{"type":18,"value":220},{"type":13,"tag":45,"props":275,"children":276},{"style":52},[277],{"type":18,"value":225},{"type":13,"tag":45,"props":279,"children":280},{"style":119},[281],{"type":18,"value":282},"SampleCountFlags",{"type":13,"tag":45,"props":284,"children":285},{"style":63},[286],{"type":18,"value":235},{"type":13,"tag":45,"props":288,"children":289},{"class":47,"line":101},[290,295,299,303,307,312],{"type":13,"tag":45,"props":291,"children":292},{"style":63},[293],{"type":18,"value":294}," max_sample_location_grid_size",{"type":13,"tag":45,"props":296,"children":297},{"style":52},[298],{"type":18,"value":215},{"type":13,"tag":45,"props":300,"children":301},{"style":119},[302],{"type":18,"value":220},{"type":13,"tag":45,"props":304,"children":305},{"style":52},[306],{"type":18,"value":225},{"type":13,"tag":45,"props":308,"children":309},{"style":119},[310],{"type":18,"value":311},"Extent2D",{"type":13,"tag":45,"props":313,"children":314},{"style":63},[315],{"type":18,"value":235},{"type":13,"tag":45,"props":317,"children":318},{"class":47,"line":110},[319,324,328,333,338,343,348,352],{"type":13,"tag":45,"props":320,"children":321},{"style":63},[322],{"type":18,"value":323}," sample_location_coordinate_range",{"type":13,"tag":45,"props":325,"children":326},{"style":52},[327],{"type":18,"value":215},{"type":13,"tag":45,"props":329,"children":330},{"style":52},[331],{"type":18,"value":332}," *const",{"type":13,"tag":45,"props":334,"children":335},{"style":63},[336],{"type":18,"value":337}," [",{"type":13,"tag":45,"props":339,"children":340},{"style":119},[341],{"type":18,"value":342},"f32",{"type":13,"tag":45,"props":344,"children":345},{"style":63},[346],{"type":18,"value":347}," ; ",{"type":13,"tag":45,"props":349,"children":350},{"style":130},[351],{"type":18,"value":133},{"type":13,"tag":45,"props":353,"children":354},{"style":63},[355],{"type":18,"value":356},"],\n",{"type":13,"tag":45,"props":358,"children":359},{"class":47,"line":141},[360,365,369,374],{"type":13,"tag":45,"props":361,"children":362},{"style":63},[363],{"type":18,"value":364}," sample_location_sub_pixel_bits",{"type":13,"tag":45,"props":366,"children":367},{"style":52},[368],{"type":18,"value":215},{"type":13,"tag":45,"props":370,"children":371},{"style":119},[372],{"type":18,"value":373}," u32",{"type":13,"tag":45,"props":375,"children":376},{"style":63},[377],{"type":18,"value":235},{"type":13,"tag":45,"props":379,"children":380},{"class":47,"line":155},[381,386,390,394,398,403],{"type":13,"tag":45,"props":382,"children":383},{"style":63},[384],{"type":18,"value":385}," variable_sample_locations",{"type":13,"tag":45,"props":387,"children":388},{"style":52},[389],{"type":18,"value":215},{"type":13,"tag":45,"props":391,"children":392},{"style":119},[393],{"type":18,"value":220},{"type":13,"tag":45,"props":395,"children":396},{"style":52},[397],{"type":18,"value":225},{"type":13,"tag":45,"props":399,"children":400},{"style":119},[401],{"type":18,"value":402},"Bool32",{"type":13,"tag":45,"props":404,"children":405},{"style":63},[406],{"type":18,"value":235},{"type":13,"tag":45,"props":408,"children":409},{"class":47,"line":164},[410],{"type":13,"tag":45,"props":411,"children":412},{"style":63},[413],{"type":18,"value":414},"}\n",{"type":13,"tag":416,"props":417,"children":418},"ul",{},[419,440,459,485,515,530,546],{"type":13,"tag":420,"props":421,"children":422},"li",{},[423,429,431,438],{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"sType",{"type":18,"value":430}," is a ",{"type":13,"tag":432,"props":433,"children":435},"a",{"href":434},"/man/VkStructureType",[436],{"type":18,"value":437},"VkStructureType",{"type":18,"value":439}," value identifying this structure.",{"type":13,"tag":420,"props":441,"children":442},{},[443,449,451,457],{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":448},"pNext",{"type":18,"value":450}," is ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"NULL",{"type":18,"value":458}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":420,"props":460,"children":461},{},[462,467,469,475,477,483],{"type":13,"tag":463,"props":464,"children":466},"anchor",{"id":465},"limits-sampleLocationSampleCounts",[],{"type":18,"value":468}," ",{"type":13,"tag":21,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"sampleLocationSampleCounts",{"type":18,"value":476},"\nis a bitmask of ",{"type":13,"tag":432,"props":478,"children":480},{"href":479},"/man/VkSampleCountFlagBits",[481],{"type":18,"value":482},"VkSampleCountFlagBits",{"type":18,"value":484}," indicating the sample counts\nsupporting custom sample locations.",{"type":13,"tag":420,"props":486,"children":487},{},[488,492,493,499,501,506,508,513],{"type":13,"tag":463,"props":489,"children":491},{"id":490},"limits-maxSampleLocationGridSize",[],{"type":18,"value":468},{"type":13,"tag":21,"props":494,"children":496},{"className":495},[],[497],{"type":18,"value":498},"maxSampleLocationGridSize",{"type":18,"value":500}," is\nthe maximum size of the pixel grid in which sample locations ",{"type":13,"tag":502,"props":503,"children":505},"normative",{"type":504},"can",[],{"type":18,"value":507}," vary\nthat is supported for all sample counts in\n",{"type":13,"tag":21,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":474},{"type":18,"value":514},".",{"type":13,"tag":420,"props":516,"children":517},{},[518,522,528],{"type":13,"tag":463,"props":519,"children":521},{"id":520},"limits-sampleLocationCoordinateRange",[],{"type":13,"tag":21,"props":523,"children":525},{"className":524},[],[526],{"type":18,"value":527},"sampleLocationCoordinateRange",{"type":18,"value":529},"[2] is the range of supported sample\nlocation coordinates.",{"type":13,"tag":420,"props":531,"children":532},{},[533,537,538,544],{"type":13,"tag":463,"props":534,"children":536},{"id":535},"limits-sampleLocationSubPixelBits",[],{"type":18,"value":468},{"type":13,"tag":21,"props":539,"children":541},{"className":540},[],[542],{"type":18,"value":543},"sampleLocationSubPixelBits",{"type":18,"value":545},"\nis the number of bits of subpixel precision for sample locations.",{"type":13,"tag":420,"props":547,"children":548},{},[549,553,554,560,562,566,568,574,576,582,584,587],{"type":13,"tag":463,"props":550,"children":552},{"id":551},"limits-variableSampleLocations",[],{"type":18,"value":468},{"type":13,"tag":21,"props":555,"children":557},{"className":556},[],[558],{"type":18,"value":559},"variableSampleLocations",{"type":18,"value":561},"\nspecifies whether the sample locations used by all pipelines that will\nbe bound to a command buffer during a subpass ",{"type":13,"tag":502,"props":563,"children":565},{"type":564},"must",[],{"type":18,"value":567}," match.\nIf set to ",{"type":13,"tag":21,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":573},"VK_TRUE",{"type":18,"value":575},", the implementation supports variable sample\nlocations in a subpass.\nIf set to ",{"type":13,"tag":21,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":581},"VK_FALSE",{"type":18,"value":583},", then the sample locations ",{"type":13,"tag":502,"props":585,"children":586},{"type":564},[],{"type":18,"value":588}," stay constant\nin each subpass.",{"type":13,"tag":14,"props":590,"children":591},{},[592,594,599,601,606,608,614,616,622],{"type":18,"value":593},"If the ",{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":4},{"type":18,"value":600}," structure is included in the ",{"type":13,"tag":21,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":448},{"type":18,"value":607}," chain of the\n",{"type":13,"tag":432,"props":609,"children":611},{"href":610},"/man/VkPhysicalDeviceProperties2",[612],{"type":18,"value":613},"VkPhysicalDeviceProperties2",{"type":18,"value":615}," structure passed to\n",{"type":13,"tag":432,"props":617,"children":619},{"href":618},"/man/vkGetPhysicalDeviceProperties2",[620],{"type":18,"value":621},"vkGetPhysicalDeviceProperties2",{"type":18,"value":623},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":625,"props":626,"children":628},"validity-group",{"name":627},"Valid Usage (Implicit)",[629],{"type":13,"tag":630,"props":631,"children":633},"validity-field",{"name":632},"VUID-VkPhysicalDeviceSampleLocationsPropertiesEXT-sType-sType",[634],{"type":13,"tag":14,"props":635,"children":636},{},[637,642,643,646,648],{"type":13,"tag":21,"props":638,"children":640},{"className":639},[],[641],{"type":18,"value":428},{"type":18,"value":468},{"type":13,"tag":502,"props":644,"children":645},{"type":564},[],{"type":18,"value":647}," be ",{"type":13,"tag":21,"props":649,"children":651},{"className":650},[],[652],{"type":18,"value":653},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT",{"type":13,"tag":655,"props":656,"children":657},"style",{},[658],{"type":18,"value":659},"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":661},[],"markdown",1729612468016]