[{"data":1,"prerenderedAt":611},["ShallowReactive",2],{"T4rMtzsFbN":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":610,"_id":4},"VkBindVideoSessionMemoryInfoKHR","Structure specifying memory bindings for a video session object","VK_KHR_video_queue","structs",[],{"type":10,"children":11,"toc":608},"root",[12,28,348,464,526,602],{"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,145],{"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 VkBindVideoSessionMemoryInfoKHR {\n VkStructureType sType;\n const void* pNext;\n uint32_t memoryBindIndex;\n VkDeviceMemory memory;\n VkDeviceSize memoryOffset;\n VkDeviceSize memorySize;\n} VkBindVideoSessionMemoryInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,118,127,136],{"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}," VkBindVideoSessionMemoryInfoKHR {\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,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," memoryBindIndex;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113],{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," VkDeviceMemory memory;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122],{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126}," VkDeviceSize memoryOffset;\n",{"type":13,"tag":45,"props":128,"children":130},{"class":47,"line":129},7,[131],{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135}," VkDeviceSize memorySize;\n",{"type":13,"tag":45,"props":137,"children":139},{"class":47,"line":138},8,[140],{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144},"} VkBindVideoSessionMemoryInfoKHR;\n",{"type":13,"tag":33,"props":146,"children":151},{"className":147,"code":148,"filename":149,"language":150,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BindVideoSessionMemoryInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n memory_bind_index: u32,\n memory: vk::DeviceMemory,\n memory_offset: vk::DeviceSize,\n memory_size: vk::DeviceSize,\n}\n","Rust","rs",[152],{"type":13,"tag":21,"props":153,"children":154},{"__ignoreMap":39},[155,178,211,233,254,283,312,340],{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":48},[158,163,167,173],{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":162},"pub",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":60},{"type":13,"tag":45,"props":168,"children":170},{"style":169},"--shiki-default:#953800;--shiki-dark:#FFA657",[171],{"type":18,"value":172}," BindVideoSessionMemoryInfoKHR",{"type":13,"tag":45,"props":174,"children":175},{"style":63},[176],{"type":18,"value":177}," {\n",{"type":13,"tag":45,"props":179,"children":180},{"class":47,"line":69},[181,186,191,196,201,206],{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," s_type",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190},":",{"type":13,"tag":45,"props":192,"children":193},{"style":169},[194],{"type":18,"value":195}," vk",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":200},"::",{"type":13,"tag":45,"props":202,"children":203},{"style":169},[204],{"type":18,"value":205},"StructureType",{"type":13,"tag":45,"props":207,"children":208},{"style":63},[209],{"type":18,"value":210},",\n",{"type":13,"tag":45,"props":212,"children":213},{"class":47,"line":78},[214,219,223,228],{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218}," p_next",{"type":13,"tag":45,"props":220,"children":221},{"style":52},[222],{"type":18,"value":190},{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":227}," *const",{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232}," c_void,\n",{"type":13,"tag":45,"props":234,"children":235},{"class":47,"line":97},[236,241,245,250],{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":240}," memory_bind_index",{"type":13,"tag":45,"props":242,"children":243},{"style":52},[244],{"type":18,"value":190},{"type":13,"tag":45,"props":246,"children":247},{"style":169},[248],{"type":18,"value":249}," u32",{"type":13,"tag":45,"props":251,"children":252},{"style":63},[253],{"type":18,"value":210},{"type":13,"tag":45,"props":255,"children":256},{"class":47,"line":111},[257,262,266,270,274,279],{"type":13,"tag":45,"props":258,"children":259},{"style":63},[260],{"type":18,"value":261}," memory",{"type":13,"tag":45,"props":263,"children":264},{"style":52},[265],{"type":18,"value":190},{"type":13,"tag":45,"props":267,"children":268},{"style":169},[269],{"type":18,"value":195},{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":200},{"type":13,"tag":45,"props":275,"children":276},{"style":169},[277],{"type":18,"value":278},"DeviceMemory",{"type":13,"tag":45,"props":280,"children":281},{"style":63},[282],{"type":18,"value":210},{"type":13,"tag":45,"props":284,"children":285},{"class":47,"line":120},[286,291,295,299,303,308],{"type":13,"tag":45,"props":287,"children":288},{"style":63},[289],{"type":18,"value":290}," memory_offset",{"type":13,"tag":45,"props":292,"children":293},{"style":52},[294],{"type":18,"value":190},{"type":13,"tag":45,"props":296,"children":297},{"style":169},[298],{"type":18,"value":195},{"type":13,"tag":45,"props":300,"children":301},{"style":52},[302],{"type":18,"value":200},{"type":13,"tag":45,"props":304,"children":305},{"style":169},[306],{"type":18,"value":307},"DeviceSize",{"type":13,"tag":45,"props":309,"children":310},{"style":63},[311],{"type":18,"value":210},{"type":13,"tag":45,"props":313,"children":314},{"class":47,"line":129},[315,320,324,328,332,336],{"type":13,"tag":45,"props":316,"children":317},{"style":63},[318],{"type":18,"value":319}," memory_size",{"type":13,"tag":45,"props":321,"children":322},{"style":52},[323],{"type":18,"value":190},{"type":13,"tag":45,"props":325,"children":326},{"style":169},[327],{"type":18,"value":195},{"type":13,"tag":45,"props":329,"children":330},{"style":52},[331],{"type":18,"value":200},{"type":13,"tag":45,"props":333,"children":334},{"style":169},[335],{"type":18,"value":307},{"type":13,"tag":45,"props":337,"children":338},{"style":63},[339],{"type":18,"value":210},{"type":13,"tag":45,"props":341,"children":342},{"class":47,"line":138},[343],{"type":13,"tag":45,"props":344,"children":345},{"style":63},[346],{"type":18,"value":347},"}\n",{"type":13,"tag":349,"props":350,"children":351},"ul",{},[352,373,392,403,421,439],{"type":13,"tag":353,"props":354,"children":355},"li",{},[356,362,364,371],{"type":13,"tag":21,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":361},"sType",{"type":18,"value":363}," is a ",{"type":13,"tag":365,"props":366,"children":368},"a",{"href":367},"/man/VkStructureType",[369],{"type":18,"value":370},"VkStructureType",{"type":18,"value":372}," value identifying this structure.",{"type":13,"tag":353,"props":374,"children":375},{},[376,382,384,390],{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"pNext",{"type":18,"value":383}," is ",{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"NULL",{"type":18,"value":391}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":353,"props":393,"children":394},{},[395,401],{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"memoryBindIndex",{"type":18,"value":402}," is the memory binding index to bind memory to.",{"type":13,"tag":353,"props":404,"children":405},{},[406,412,414,419],{"type":13,"tag":21,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":411},"memory",{"type":18,"value":413}," is the allocated device memory to be bound to the video\nsession’s memory binding with index ",{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":400},{"type":18,"value":420},".",{"type":13,"tag":353,"props":422,"children":423},{},[424,430,432,437],{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"memoryOffset",{"type":18,"value":431}," is the start offset of the region of ",{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":411},{"type":18,"value":438},"\nwhich is to be bound.",{"type":13,"tag":353,"props":440,"children":441},{},[442,448,450,455,457,462],{"type":13,"tag":21,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":447},"memorySize",{"type":18,"value":449}," is the size in bytes of the region of ",{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":411},{"type":18,"value":456},",\nstarting from ",{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":429},{"type":18,"value":463}," bytes, to be bound.",{"type":13,"tag":465,"props":466,"children":468},"validity-group",{"name":467},"Valid Usage",[469,496],{"type":13,"tag":470,"props":471,"children":473},"validity-field",{"name":472},"VUID-VkBindVideoSessionMemoryInfoKHR-memoryOffset-07201",[474],{"type":13,"tag":14,"props":475,"children":476},{},[477,482,484,489,491],{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":429},{"type":18,"value":483}," ",{"type":13,"tag":485,"props":486,"children":488},"normative",{"type":487},"must",[],{"type":18,"value":490}," be less than the size of ",{"type":13,"tag":21,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":411},{"type":13,"tag":470,"props":497,"children":499},{"name":498},"VUID-VkBindVideoSessionMemoryInfoKHR-memorySize-07202",[500],{"type":13,"tag":14,"props":501,"children":502},{},[503,508,509,512,514,519,521],{"type":13,"tag":21,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":447},{"type":18,"value":483},{"type":13,"tag":485,"props":510,"children":511},{"type":487},[],{"type":18,"value":513}," be less than or equal to the size of ",{"type":13,"tag":21,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":411},{"type":18,"value":520},"\nminus ",{"type":13,"tag":21,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":429},{"type":13,"tag":465,"props":527,"children":529},{"name":528},"Valid Usage (Implicit)",[530,554,576],{"type":13,"tag":470,"props":531,"children":533},{"name":532},"VUID-VkBindVideoSessionMemoryInfoKHR-sType-sType",[534],{"type":13,"tag":14,"props":535,"children":536},{},[537,542,543,546,548],{"type":13,"tag":21,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":361},{"type":18,"value":483},{"type":13,"tag":485,"props":544,"children":545},{"type":487},[],{"type":18,"value":547}," be ",{"type":13,"tag":21,"props":549,"children":551},{"className":550},[],[552],{"type":18,"value":553},"VK_STRUCTURE_TYPE_BIND_VIDEO_SESSION_MEMORY_INFO_KHR",{"type":13,"tag":470,"props":555,"children":557},{"name":556},"VUID-VkBindVideoSessionMemoryInfoKHR-pNext-pNext",[558],{"type":13,"tag":14,"props":559,"children":560},{},[561,566,567,570,571],{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":381},{"type":18,"value":483},{"type":13,"tag":485,"props":568,"children":569},{"type":487},[],{"type":18,"value":547},{"type":13,"tag":21,"props":572,"children":574},{"className":573},[],[575],{"type":18,"value":389},{"type":13,"tag":470,"props":577,"children":579},{"name":578},"VUID-VkBindVideoSessionMemoryInfoKHR-memory-parameter",[580],{"type":13,"tag":14,"props":581,"children":582},{},[583,588,589,592,594,600],{"type":13,"tag":21,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":411},{"type":18,"value":483},{"type":13,"tag":485,"props":590,"children":591},{"type":487},[],{"type":18,"value":593}," be a valid ",{"type":13,"tag":365,"props":595,"children":597},{"href":596},"/man/VkDeviceMemory",[598],{"type":18,"value":599},"VkDeviceMemory",{"type":18,"value":601}," handle",{"type":13,"tag":603,"props":604,"children":605},"style",{},[606],{"type":18,"value":607},"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":609},[],"markdown",1729612434514]