[{"data":1,"prerenderedAt":442},["ShallowReactive",2],{"to4y57vvWZ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":441,"_id":4},"VkDedicatedAllocationImageCreateInfoNV","Specify that an image is bound to a dedicated memory resource","VK_NV_dedicated_allocation","structs",[],{"type":10,"children":11,"toc":439},"root",[12,36,48,265,319,335,405,433],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,34],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain includes a\n",{"type":13,"tag":21,"props":30,"children":32},{"className":31},[],[33],{"type":18,"value":4},{"type":18,"value":35}," structure, then that structure\nincludes an enable controlling whether the image will have a dedicated\nmemory allocation bound to it.",{"type":13,"tag":14,"props":37,"children":38},{},[39,41,46],{"type":18,"value":40},"The ",{"type":13,"tag":21,"props":42,"children":44},{"className":43},[],[45],{"type":18,"value":4},{"type":18,"value":47}," structure is defined as:",{"type":13,"tag":49,"props":50,"children":51},"code-group",{},[52,133],{"type":13,"tag":53,"props":54,"children":60},"pre",{"className":55,"code":56,"filename":57,"language":58,"meta":59,"style":59},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDedicatedAllocationImageCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkBool32 dedicatedAllocation;\n} VkDedicatedAllocationImageCreateInfoNV;\n","C","c","",[61],{"type":13,"tag":21,"props":62,"children":63},{"__ignoreMap":59},[64,87,96,115,124],{"type":13,"tag":65,"props":66,"children":69},"span",{"class":67,"line":68},"line",1,[70,76,81],{"type":13,"tag":65,"props":71,"children":73},{"style":72},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[74],{"type":18,"value":75},"typedef",{"type":13,"tag":65,"props":77,"children":78},{"style":72},[79],{"type":18,"value":80}," struct",{"type":13,"tag":65,"props":82,"children":84},{"style":83},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[85],{"type":18,"value":86}," VkDedicatedAllocationImageCreateInfoNV {\n",{"type":13,"tag":65,"props":88,"children":90},{"class":67,"line":89},2,[91],{"type":13,"tag":65,"props":92,"children":93},{"style":83},[94],{"type":18,"value":95}," VkStructureType sType;\n",{"type":13,"tag":65,"props":97,"children":99},{"class":67,"line":98},3,[100,105,110],{"type":13,"tag":65,"props":101,"children":102},{"style":72},[103],{"type":18,"value":104}," const",{"type":13,"tag":65,"props":106,"children":107},{"style":72},[108],{"type":18,"value":109}," void*",{"type":13,"tag":65,"props":111,"children":112},{"style":83},[113],{"type":18,"value":114}," pNext;\n",{"type":13,"tag":65,"props":116,"children":118},{"class":67,"line":117},4,[119],{"type":13,"tag":65,"props":120,"children":121},{"style":83},[122],{"type":18,"value":123}," VkBool32 dedicatedAllocation;\n",{"type":13,"tag":65,"props":125,"children":127},{"class":67,"line":126},5,[128],{"type":13,"tag":65,"props":129,"children":130},{"style":83},[131],{"type":18,"value":132},"} VkDedicatedAllocationImageCreateInfoNV;\n",{"type":13,"tag":53,"props":134,"children":139},{"className":135,"code":136,"filename":137,"language":138,"meta":59,"style":59},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DedicatedAllocationImageCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n dedicated_allocation: vk::Bool32, // Whether this image uses a dedicated allocation\n}\n","Rust","rs",[140],{"type":13,"tag":21,"props":141,"children":142},{"__ignoreMap":59},[143,166,199,221,257],{"type":13,"tag":65,"props":144,"children":145},{"class":67,"line":68},[146,151,155,161],{"type":13,"tag":65,"props":147,"children":148},{"style":72},[149],{"type":18,"value":150},"pub",{"type":13,"tag":65,"props":152,"children":153},{"style":72},[154],{"type":18,"value":80},{"type":13,"tag":65,"props":156,"children":158},{"style":157},"--shiki-default:#953800;--shiki-dark:#FFA657",[159],{"type":18,"value":160}," DedicatedAllocationImageCreateInfoNV",{"type":13,"tag":65,"props":162,"children":163},{"style":83},[164],{"type":18,"value":165}," {\n",{"type":13,"tag":65,"props":167,"children":168},{"class":67,"line":89},[169,174,179,184,189,194],{"type":13,"tag":65,"props":170,"children":171},{"style":83},[172],{"type":18,"value":173}," s_type",{"type":13,"tag":65,"props":175,"children":176},{"style":72},[177],{"type":18,"value":178},":",{"type":13,"tag":65,"props":180,"children":181},{"style":157},[182],{"type":18,"value":183}," vk",{"type":13,"tag":65,"props":185,"children":186},{"style":72},[187],{"type":18,"value":188},"::",{"type":13,"tag":65,"props":190,"children":191},{"style":157},[192],{"type":18,"value":193},"StructureType",{"type":13,"tag":65,"props":195,"children":196},{"style":83},[197],{"type":18,"value":198},",\n",{"type":13,"tag":65,"props":200,"children":201},{"class":67,"line":98},[202,207,211,216],{"type":13,"tag":65,"props":203,"children":204},{"style":83},[205],{"type":18,"value":206}," p_next",{"type":13,"tag":65,"props":208,"children":209},{"style":72},[210],{"type":18,"value":178},{"type":13,"tag":65,"props":212,"children":213},{"style":72},[214],{"type":18,"value":215}," *const",{"type":13,"tag":65,"props":217,"children":218},{"style":83},[219],{"type":18,"value":220}," c_void,\n",{"type":13,"tag":65,"props":222,"children":223},{"class":67,"line":117},[224,229,233,237,241,246,251],{"type":13,"tag":65,"props":225,"children":226},{"style":83},[227],{"type":18,"value":228}," dedicated_allocation",{"type":13,"tag":65,"props":230,"children":231},{"style":72},[232],{"type":18,"value":178},{"type":13,"tag":65,"props":234,"children":235},{"style":157},[236],{"type":18,"value":183},{"type":13,"tag":65,"props":238,"children":239},{"style":72},[240],{"type":18,"value":188},{"type":13,"tag":65,"props":242,"children":243},{"style":157},[244],{"type":18,"value":245},"Bool32",{"type":13,"tag":65,"props":247,"children":248},{"style":83},[249],{"type":18,"value":250},", ",{"type":13,"tag":65,"props":252,"children":254},{"style":253},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[255],{"type":18,"value":256},"// Whether this image uses a dedicated allocation\n",{"type":13,"tag":65,"props":258,"children":259},{"class":67,"line":126},[260],{"type":13,"tag":65,"props":261,"children":262},{"style":83},[263],{"type":18,"value":264},"}\n",{"type":13,"tag":266,"props":267,"children":268},"ul",{},[269,290,308],{"type":13,"tag":270,"props":271,"children":272},"li",{},[273,279,281,288],{"type":13,"tag":21,"props":274,"children":276},{"className":275},[],[277],{"type":18,"value":278},"sType",{"type":18,"value":280}," is a ",{"type":13,"tag":282,"props":283,"children":285},"a",{"href":284},"/man/VkStructureType",[286],{"type":18,"value":287},"VkStructureType",{"type":18,"value":289}," value identifying this structure.",{"type":13,"tag":270,"props":291,"children":292},{},[293,298,300,306],{"type":13,"tag":21,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":26},{"type":18,"value":299}," is ",{"type":13,"tag":21,"props":301,"children":303},{"className":302},[],[304],{"type":18,"value":305},"NULL",{"type":18,"value":307}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":270,"props":309,"children":310},{},[311,317],{"type":13,"tag":21,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"dedicatedAllocation",{"type":18,"value":318}," specifies whether the image will have a\ndedicated allocation bound to it.",{"type":13,"tag":320,"props":321,"children":322},"note",{},[323],{"type":13,"tag":14,"props":324,"children":325},{},[326,328,333],{"type":18,"value":327},"Using a dedicated allocation for color and depth/stencil attachments or\nother large images ",{"type":13,"tag":329,"props":330,"children":332},"normative",{"type":331},"may",[],{"type":18,"value":334}," improve performance on some devices.",{"type":13,"tag":336,"props":337,"children":339},"validity-group",{"name":338},"Valid Usage",[340],{"type":13,"tag":341,"props":342,"children":344},"validity-field",{"name":343},"VUID-VkDedicatedAllocationImageCreateInfoNV-dedicatedAllocation-00994",[345],{"type":13,"tag":14,"props":346,"children":347},{},[348,350,355,356,362,363,369,370,376,378,382,384,390,391,397,399],{"type":18,"value":349},"If ",{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":316},{"type":18,"value":299},{"type":13,"tag":21,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":361},"VK_TRUE",{"type":18,"value":198},{"type":13,"tag":282,"props":364,"children":366},{"href":365},"/man/VkImageCreateInfo",[367],{"type":18,"value":368},"VkImageCreateInfo",{"type":18,"value":188},{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"flags",{"type":18,"value":377}," ",{"type":13,"tag":329,"props":379,"children":381},{"type":380},"must",[],{"type":18,"value":383}," not include\n",{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"VK_IMAGE_CREATE_SPARSE_BINDING_BIT",{"type":18,"value":198},{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT",{"type":18,"value":398},", or\n",{"type":13,"tag":21,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":404},"VK_IMAGE_CREATE_SPARSE_ALIASED_BIT",{"type":13,"tag":336,"props":406,"children":408},{"name":407},"Valid Usage (Implicit)",[409],{"type":13,"tag":341,"props":410,"children":412},{"name":411},"VUID-VkDedicatedAllocationImageCreateInfoNV-sType-sType",[413],{"type":13,"tag":14,"props":414,"children":415},{},[416,421,422,425,427],{"type":13,"tag":21,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":278},{"type":18,"value":377},{"type":13,"tag":329,"props":423,"children":424},{"type":380},[],{"type":18,"value":426}," be ",{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV",{"type":13,"tag":434,"props":435,"children":436},"style",{},[437],{"type":18,"value":438},"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":59,"searchDepth":89,"depth":89,"links":440},[],"markdown",1729612441382]