[{"data":1,"prerenderedAt":346},["ShallowReactive",2],{"a16dWhngC1":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":345,"_id":4},"VkAttachmentSampleLocationsEXT","Structure specifying the sample locations state to use in the initial layout transition of attachments","VK_EXT_sample_locations","structs",[],{"type":10,"children":11,"toc":343},"root",[12,28,194,221,248,307,337],{"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,99],{"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 VkAttachmentSampleLocationsEXT {\n uint32_t attachmentIndex;\n VkSampleLocationsInfoEXT sampleLocationsInfo;\n} VkAttachmentSampleLocationsEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,90],{"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}," VkAttachmentSampleLocationsEXT {\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}," uint32_t",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," attachmentIndex;\n",{"type":13,"tag":45,"props":82,"children":84},{"class":47,"line":83},3,[85],{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," VkSampleLocationsInfoEXT sampleLocationsInfo;\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},"} VkAttachmentSampleLocationsEXT;\n",{"type":13,"tag":33,"props":100,"children":105},{"className":101,"code":102,"filename":103,"language":104,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AttachmentSampleLocationsEXT {\n attachment_index: u32,\n sample_locations_info: vk::SampleLocationsInfoEXT,\n}\n","Rust","rs",[106],{"type":13,"tag":21,"props":107,"children":108},{"__ignoreMap":39},[109,132,155,186],{"type":13,"tag":45,"props":110,"children":111},{"class":47,"line":48},[112,117,121,127],{"type":13,"tag":45,"props":113,"children":114},{"style":52},[115],{"type":18,"value":116},"pub",{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":60},{"type":13,"tag":45,"props":122,"children":124},{"style":123},"--shiki-default:#953800;--shiki-dark:#FFA657",[125],{"type":18,"value":126}," AttachmentSampleLocationsEXT",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131}," {\n",{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":69},[135,140,145,150],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," attachment_index",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144},":",{"type":13,"tag":45,"props":146,"children":147},{"style":123},[148],{"type":18,"value":149}," u32",{"type":13,"tag":45,"props":151,"children":152},{"style":63},[153],{"type":18,"value":154},",\n",{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":83},[158,163,167,172,177,182],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," sample_locations_info",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":144},{"type":13,"tag":45,"props":168,"children":169},{"style":123},[170],{"type":18,"value":171}," vk",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":176},"::",{"type":13,"tag":45,"props":178,"children":179},{"style":123},[180],{"type":18,"value":181},"SampleLocationsInfoEXT",{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":154},{"type":13,"tag":45,"props":187,"children":188},{"class":47,"line":92},[189],{"type":13,"tag":45,"props":190,"children":191},{"style":63},[192],{"type":18,"value":193},"}\n",{"type":13,"tag":195,"props":196,"children":197},"ul",{},[198,210],{"type":13,"tag":199,"props":200,"children":201},"li",{},[202,208],{"type":13,"tag":21,"props":203,"children":205},{"className":204},[],[206],{"type":18,"value":207},"attachmentIndex",{"type":18,"value":209}," is the index of the attachment for which the\nsample locations state is provided.",{"type":13,"tag":199,"props":211,"children":212},{},[213,219],{"type":13,"tag":21,"props":214,"children":216},{"className":215},[],[217],{"type":18,"value":218},"sampleLocationsInfo",{"type":18,"value":220}," is the sample locations state to use for the\nlayout transition of the given attachment from the initial layout of the\nattachment to the image layout specified for the attachment in the first\nsubpass using it.",{"type":13,"tag":14,"props":222,"children":223},{},[224,226,231,233,239,241,246],{"type":18,"value":225},"If the image referenced by the framebuffer attachment at index\n",{"type":13,"tag":21,"props":227,"children":229},{"className":228},[],[230],{"type":18,"value":207},{"type":18,"value":232}," was not created with\n",{"type":13,"tag":21,"props":234,"children":236},{"className":235},[],[237],{"type":18,"value":238},"VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT",{"type":18,"value":240}," then the\nvalues specified in ",{"type":13,"tag":21,"props":242,"children":244},{"className":243},[],[245],{"type":18,"value":218},{"type":18,"value":247}," are ignored.",{"type":13,"tag":249,"props":250,"children":252},"validity-group",{"name":251},"Valid Usage",[253],{"type":13,"tag":254,"props":255,"children":257},"validity-field",{"name":256},"VUID-VkAttachmentSampleLocationsEXT-attachmentIndex-01531",[258],{"type":13,"tag":14,"props":259,"children":260},{},[261,266,268,273,275,281,283,290,292,298,299,305],{"type":13,"tag":21,"props":262,"children":264},{"className":263},[],[265],{"type":18,"value":207},{"type":18,"value":267}," ",{"type":13,"tag":269,"props":270,"children":272},"normative",{"type":271},"must",[],{"type":18,"value":274}," be less than the ",{"type":13,"tag":21,"props":276,"children":278},{"className":277},[],[279],{"type":18,"value":280},"attachmentCount",{"type":18,"value":282},"\nspecified in ",{"type":13,"tag":284,"props":285,"children":287},"a",{"href":286},"/man/VkRenderPassCreateInfo",[288],{"type":18,"value":289},"VkRenderPassCreateInfo",{"type":18,"value":291}," the render pass specified by\n",{"type":13,"tag":284,"props":293,"children":295},{"href":294},"/man/VkRenderPassBeginInfo",[296],{"type":18,"value":297},"VkRenderPassBeginInfo",{"type":18,"value":176},{"type":13,"tag":21,"props":300,"children":302},{"className":301},[],[303],{"type":18,"value":304},"renderPass",{"type":18,"value":306}," was created with",{"type":13,"tag":249,"props":308,"children":310},{"name":309},"Valid Usage (Implicit)",[311],{"type":13,"tag":254,"props":312,"children":314},{"name":313},"VUID-VkAttachmentSampleLocationsEXT-sampleLocationsInfo-parameter",[315],{"type":13,"tag":14,"props":316,"children":317},{},[318,323,324,327,329,335],{"type":13,"tag":21,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":218},{"type":18,"value":267},{"type":13,"tag":269,"props":325,"children":326},{"type":271},[],{"type":18,"value":328}," be a valid ",{"type":13,"tag":284,"props":330,"children":332},{"href":331},"/man/VkSampleLocationsInfoEXT",[333],{"type":18,"value":334},"VkSampleLocationsInfoEXT",{"type":18,"value":336}," structure",{"type":13,"tag":338,"props":339,"children":340},"style",{},[341],{"type":18,"value":342},"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":344},[],"markdown",1725732539551]