[{"data":1,"prerenderedAt":597},["ShallowReactive",2],{"Vn843PgZ2Y":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":596,"_id":4},"VkSparseImageMemoryBindInfo","Structure specifying sparse image memory bind information","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":594},"root",[12,44,268,335,505,588],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,42],{"type":18,"value":19},"text","Memory ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be bound to sparse image blocks of ",{"type":13,"tag":28,"props":29,"children":31},"code",{"className":30},[],[32],{"type":18,"value":33},"VkImage",{"type":18,"value":35}," objects created\nwith the ",{"type":13,"tag":28,"props":37,"children":39},{"className":38},[],[40],{"type":18,"value":41},"VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT",{"type":18,"value":43}," flag using the following\nstructure:",{"type":13,"tag":45,"props":46,"children":47},"code-group",{},[48,139],{"type":13,"tag":49,"props":50,"children":56},"pre",{"className":51,"code":52,"filename":53,"language":54,"meta":55,"style":55},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkSparseImageMemoryBindInfo {\n VkImage image;\n uint32_t bindCount;\n const VkSparseImageMemoryBind* pBinds;\n} VkSparseImageMemoryBindInfo;\n","C","c","",[57],{"type":13,"tag":28,"props":58,"children":59},{"__ignoreMap":55},[60,83,92,106,130],{"type":13,"tag":61,"props":62,"children":65},"span",{"class":63,"line":64},"line",1,[66,72,77],{"type":13,"tag":61,"props":67,"children":69},{"style":68},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[70],{"type":18,"value":71},"typedef",{"type":13,"tag":61,"props":73,"children":74},{"style":68},[75],{"type":18,"value":76}," struct",{"type":13,"tag":61,"props":78,"children":80},{"style":79},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[81],{"type":18,"value":82}," VkSparseImageMemoryBindInfo {\n",{"type":13,"tag":61,"props":84,"children":86},{"class":63,"line":85},2,[87],{"type":13,"tag":61,"props":88,"children":89},{"style":79},[90],{"type":18,"value":91}," VkImage image;\n",{"type":13,"tag":61,"props":93,"children":95},{"class":63,"line":94},3,[96,101],{"type":13,"tag":61,"props":97,"children":98},{"style":68},[99],{"type":18,"value":100}," uint32_t",{"type":13,"tag":61,"props":102,"children":103},{"style":79},[104],{"type":18,"value":105}," bindCount;\n",{"type":13,"tag":61,"props":107,"children":109},{"class":63,"line":108},4,[110,115,120,125],{"type":13,"tag":61,"props":111,"children":112},{"style":68},[113],{"type":18,"value":114}," const",{"type":13,"tag":61,"props":116,"children":117},{"style":79},[118],{"type":18,"value":119}," VkSparseImageMemoryBind",{"type":13,"tag":61,"props":121,"children":122},{"style":68},[123],{"type":18,"value":124},"*",{"type":13,"tag":61,"props":126,"children":127},{"style":79},[128],{"type":18,"value":129}," pBinds;\n",{"type":13,"tag":61,"props":131,"children":133},{"class":63,"line":132},5,[134],{"type":13,"tag":61,"props":135,"children":136},{"style":79},[137],{"type":18,"value":138},"} VkSparseImageMemoryBindInfo;\n",{"type":13,"tag":49,"props":140,"children":145},{"className":141,"code":142,"filename":143,"language":144,"meta":55,"style":55},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SparseImageMemoryBindInfo {\n image: vk::Image,\n bind_count: u32,\n p_binds: *const vk::SparseImageMemoryBind,\n}\n","Rust","rs",[146],{"type":13,"tag":28,"props":147,"children":148},{"__ignoreMap":55},[149,172,205,226,260],{"type":13,"tag":61,"props":150,"children":151},{"class":63,"line":64},[152,157,161,167],{"type":13,"tag":61,"props":153,"children":154},{"style":68},[155],{"type":18,"value":156},"pub",{"type":13,"tag":61,"props":158,"children":159},{"style":68},[160],{"type":18,"value":76},{"type":13,"tag":61,"props":162,"children":164},{"style":163},"--shiki-default:#953800;--shiki-dark:#FFA657",[165],{"type":18,"value":166}," SparseImageMemoryBindInfo",{"type":13,"tag":61,"props":168,"children":169},{"style":79},[170],{"type":18,"value":171}," {\n",{"type":13,"tag":61,"props":173,"children":174},{"class":63,"line":85},[175,180,185,190,195,200],{"type":13,"tag":61,"props":176,"children":177},{"style":79},[178],{"type":18,"value":179}," image",{"type":13,"tag":61,"props":181,"children":182},{"style":68},[183],{"type":18,"value":184},":",{"type":13,"tag":61,"props":186,"children":187},{"style":163},[188],{"type":18,"value":189}," vk",{"type":13,"tag":61,"props":191,"children":192},{"style":68},[193],{"type":18,"value":194},"::",{"type":13,"tag":61,"props":196,"children":197},{"style":163},[198],{"type":18,"value":199},"Image",{"type":13,"tag":61,"props":201,"children":202},{"style":79},[203],{"type":18,"value":204},",\n",{"type":13,"tag":61,"props":206,"children":207},{"class":63,"line":94},[208,213,217,222],{"type":13,"tag":61,"props":209,"children":210},{"style":79},[211],{"type":18,"value":212}," bind_count",{"type":13,"tag":61,"props":214,"children":215},{"style":68},[216],{"type":18,"value":184},{"type":13,"tag":61,"props":218,"children":219},{"style":163},[220],{"type":18,"value":221}," u32",{"type":13,"tag":61,"props":223,"children":224},{"style":79},[225],{"type":18,"value":204},{"type":13,"tag":61,"props":227,"children":228},{"class":63,"line":108},[229,234,238,243,247,251,256],{"type":13,"tag":61,"props":230,"children":231},{"style":79},[232],{"type":18,"value":233}," p_binds",{"type":13,"tag":61,"props":235,"children":236},{"style":68},[237],{"type":18,"value":184},{"type":13,"tag":61,"props":239,"children":240},{"style":68},[241],{"type":18,"value":242}," *const",{"type":13,"tag":61,"props":244,"children":245},{"style":163},[246],{"type":18,"value":189},{"type":13,"tag":61,"props":248,"children":249},{"style":68},[250],{"type":18,"value":194},{"type":13,"tag":61,"props":252,"children":253},{"style":163},[254],{"type":18,"value":255},"SparseImageMemoryBind",{"type":13,"tag":61,"props":257,"children":258},{"style":79},[259],{"type":18,"value":204},{"type":13,"tag":61,"props":261,"children":262},{"class":63,"line":132},[263],{"type":13,"tag":61,"props":264,"children":265},{"style":79},[266],{"type":18,"value":267},"}\n",{"type":13,"tag":269,"props":270,"children":271},"ul",{},[272,292,319],{"type":13,"tag":273,"props":274,"children":275},"li",{},[276,282,284,290],{"type":13,"tag":28,"props":277,"children":279},{"className":278},[],[280],{"type":18,"value":281},"image",{"type":18,"value":283}," is the ",{"type":13,"tag":285,"props":286,"children":288},"a",{"href":287},"/man/VkImage",[289],{"type":18,"value":33},{"type":18,"value":291}," object to be bound",{"type":13,"tag":273,"props":293,"children":294},{},[295,301,303,309,311,317],{"type":13,"tag":28,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"bindCount",{"type":18,"value":302}," is the number of ",{"type":13,"tag":285,"props":304,"children":306},{"href":305},"/man/VkSparseImageMemoryBind",[307],{"type":18,"value":308},"VkSparseImageMemoryBind",{"type":18,"value":310},"\nstructures in ",{"type":13,"tag":28,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"pBinds",{"type":18,"value":318}," array",{"type":13,"tag":273,"props":320,"children":321},{},[322,327,329,333],{"type":13,"tag":28,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":316},{"type":18,"value":328}," is a pointer to an array of ",{"type":13,"tag":285,"props":330,"children":331},{"href":305},[332],{"type":18,"value":308},{"type":18,"value":334},"\nstructures",{"type":13,"tag":336,"props":337,"children":339},"validity-group",{"name":338},"Valid Usage",[340,392,434,479],{"type":13,"tag":341,"props":342,"children":344},"validity-field",{"name":343},"VUID-VkSparseImageMemoryBindInfo-subresource-01722",[345],{"type":13,"tag":14,"props":346,"children":347},{},[348,350,356,358,363,367,369,375,377,383,385,390],{"type":18,"value":349},"The ",{"type":13,"tag":28,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"subresource.mipLevel",{"type":18,"value":357}," member of each element of ",{"type":13,"tag":28,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":316},{"type":13,"tag":21,"props":364,"children":366},{"type":365},"must",[],{"type":18,"value":368}," be less than the ",{"type":13,"tag":28,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"mipLevels",{"type":18,"value":376}," specified in\n",{"type":13,"tag":285,"props":378,"children":380},{"href":379},"/man/VkImageCreateInfo",[381],{"type":18,"value":382},"VkImageCreateInfo",{"type":18,"value":384}," when ",{"type":13,"tag":28,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":281},{"type":18,"value":391}," was created",{"type":13,"tag":341,"props":393,"children":395},{"name":394},"VUID-VkSparseImageMemoryBindInfo-subresource-01723",[396],{"type":13,"tag":14,"props":397,"children":398},{},[399,400,406,407,412,415,416,422,423,427,428,433],{"type":18,"value":349},{"type":13,"tag":28,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":405},"subresource.arrayLayer",{"type":18,"value":357},{"type":13,"tag":28,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":316},{"type":13,"tag":21,"props":413,"children":414},{"type":365},[],{"type":18,"value":368},{"type":13,"tag":28,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":421},"arrayLayers",{"type":18,"value":376},{"type":13,"tag":285,"props":424,"children":425},{"href":379},[426],{"type":18,"value":382},{"type":18,"value":384},{"type":13,"tag":28,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":281},{"type":18,"value":391},{"type":13,"tag":341,"props":435,"children":437},{"name":436},"VUID-VkSparseImageMemoryBindInfo-subresource-01106",[438],{"type":13,"tag":14,"props":439,"children":440},{},[441,442,448,449,454,457,459,465,467,471,473,478],{"type":18,"value":349},{"type":13,"tag":28,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":447},"subresource.aspectMask",{"type":18,"value":357},{"type":13,"tag":28,"props":450,"children":452},{"className":451},[],[453],{"type":18,"value":316},{"type":13,"tag":21,"props":455,"children":456},{"type":365},[],{"type":18,"value":458}," be valid for the ",{"type":13,"tag":28,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"format",{"type":18,"value":466}," specified in ",{"type":13,"tag":285,"props":468,"children":469},{"href":379},[470],{"type":18,"value":382},{"type":18,"value":472},"\nwhen ",{"type":13,"tag":28,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":281},{"type":18,"value":391},{"type":13,"tag":341,"props":480,"children":482},{"name":481},"VUID-VkSparseImageMemoryBindInfo-image-02901",[483],{"type":13,"tag":14,"props":484,"children":485},{},[486,491,493,496,498,503],{"type":13,"tag":28,"props":487,"children":489},{"className":488},[],[490],{"type":18,"value":281},{"type":18,"value":492}," ",{"type":13,"tag":21,"props":494,"children":495},{"type":365},[],{"type":18,"value":497}," have been created with\n",{"type":13,"tag":28,"props":499,"children":501},{"className":500},[],[502],{"type":18,"value":41},{"type":18,"value":504}," set",{"type":13,"tag":336,"props":506,"children":508},{"name":507},"Valid Usage (Implicit)",[509,533,564],{"type":13,"tag":341,"props":510,"children":512},{"name":511},"VUID-VkSparseImageMemoryBindInfo-image-parameter",[513],{"type":13,"tag":14,"props":514,"children":515},{},[516,521,522,525,527,531],{"type":13,"tag":28,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":281},{"type":18,"value":492},{"type":13,"tag":21,"props":523,"children":524},{"type":365},[],{"type":18,"value":526}," be a valid ",{"type":13,"tag":285,"props":528,"children":529},{"href":287},[530],{"type":18,"value":33},{"type":18,"value":532}," handle",{"type":13,"tag":341,"props":534,"children":536},{"name":535},"VUID-VkSparseImageMemoryBindInfo-pBinds-parameter",[537],{"type":13,"tag":14,"props":538,"children":539},{},[540,545,546,549,551,556,558,562],{"type":13,"tag":28,"props":541,"children":543},{"className":542},[],[544],{"type":18,"value":316},{"type":18,"value":492},{"type":13,"tag":21,"props":547,"children":548},{"type":365},[],{"type":18,"value":550}," be a valid pointer to an array of ",{"type":13,"tag":28,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":300},{"type":18,"value":557}," valid ",{"type":13,"tag":285,"props":559,"children":560},{"href":305},[561],{"type":18,"value":308},{"type":18,"value":563}," structures",{"type":13,"tag":341,"props":565,"children":567},{"name":566},"VUID-VkSparseImageMemoryBindInfo-bindCount-arraylength",[568],{"type":13,"tag":14,"props":569,"children":570},{},[571,576,577,580,582],{"type":13,"tag":28,"props":572,"children":574},{"className":573},[],[575],{"type":18,"value":300},{"type":18,"value":492},{"type":13,"tag":21,"props":578,"children":579},{"type":365},[],{"type":18,"value":581}," be greater than ",{"type":13,"tag":28,"props":583,"children":585},{"className":584},[],[586],{"type":18,"value":587},"0",{"type":13,"tag":589,"props":590,"children":591},"style",{},[592],{"type":18,"value":593},"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":55,"searchDepth":85,"depth":85,"links":595},[],"markdown",1729612481475]