[{"data":1,"prerenderedAt":685},["ShallowReactive",2],{"ihge6C8ATF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":684,"_id":4},"vkBindOpticalFlowSessionImageNV","Bind image to an optical flow session","VK_NV_optical_flow","protos",[],{"type":10,"children":11,"toc":682},"root",[12,20,384,487,676],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To bind a vulkan image to an optical flow session object, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,152],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkBindOpticalFlowSessionImageNV(\n VkDevice device,\n VkOpticalFlowSessionNV session,\n VkOpticalFlowSessionBindingPointNV bindingPoint,\n VkImageView view,\n VkImageLayout layout);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97,115,133],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkOpticalFlowSessionNV ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"session",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":78},{"type":13,"tag":38,"props":98,"children":100},{"class":40,"line":99},4,[101,106,111],{"type":13,"tag":38,"props":102,"children":103},{"style":45},[104],{"type":18,"value":105}," VkOpticalFlowSessionBindingPointNV ",{"type":13,"tag":38,"props":107,"children":108},{"style":70},[109],{"type":18,"value":110},"bindingPoint",{"type":13,"tag":38,"props":112,"children":113},{"style":45},[114],{"type":18,"value":78},{"type":13,"tag":38,"props":116,"children":118},{"class":40,"line":117},5,[119,124,129],{"type":13,"tag":38,"props":120,"children":121},{"style":45},[122],{"type":18,"value":123}," VkImageView ",{"type":13,"tag":38,"props":125,"children":126},{"style":70},[127],{"type":18,"value":128},"view",{"type":13,"tag":38,"props":130,"children":131},{"style":45},[132],{"type":18,"value":78},{"type":13,"tag":38,"props":134,"children":136},{"class":40,"line":135},6,[137,142,147],{"type":13,"tag":38,"props":138,"children":139},{"style":45},[140],{"type":18,"value":141}," VkImageLayout ",{"type":13,"tag":38,"props":143,"children":144},{"style":70},[145],{"type":18,"value":146},"layout",{"type":13,"tag":38,"props":148,"children":149},{"style":45},[150],{"type":18,"value":151},");\n",{"type":13,"tag":25,"props":153,"children":158},{"className":154,"code":155,"filename":156,"language":157,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn bind_optical_flow_session_image_nv(\n device: crate :: vk :: vk::Device,\n session: vk::OpticalFlowSessionNV,\n binding_point: vk::OpticalFlowSessionBindingPointNV,\n view: vk::ImageView,\n layout: vk::ImageLayout,\n) -> vk::Result;\n","Rust","rs",[159],{"type":13,"tag":34,"props":160,"children":161},{"__ignoreMap":31},[162,185,236,265,294,323,352],{"type":13,"tag":38,"props":163,"children":164},{"class":40,"line":41},[165,171,176,181],{"type":13,"tag":38,"props":166,"children":168},{"style":167},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[169],{"type":18,"value":170},"pub",{"type":13,"tag":38,"props":172,"children":173},{"style":167},[174],{"type":18,"value":175}," fn",{"type":13,"tag":38,"props":177,"children":178},{"style":51},[179],{"type":18,"value":180}," bind_optical_flow_session_image_nv",{"type":13,"tag":38,"props":182,"children":183},{"style":45},[184],{"type":18,"value":58},{"type":13,"tag":38,"props":186,"children":187},{"class":40,"line":61},[188,193,198,203,208,213,218,223,227,232],{"type":13,"tag":38,"props":189,"children":190},{"style":45},[191],{"type":18,"value":192}," device",{"type":13,"tag":38,"props":194,"children":195},{"style":167},[196],{"type":18,"value":197},":",{"type":13,"tag":38,"props":199,"children":200},{"style":167},[201],{"type":18,"value":202}," crate",{"type":13,"tag":38,"props":204,"children":205},{"style":167},[206],{"type":18,"value":207}," ::",{"type":13,"tag":38,"props":209,"children":210},{"style":45},[211],{"type":18,"value":212}," vk ",{"type":13,"tag":38,"props":214,"children":215},{"style":167},[216],{"type":18,"value":217},"::",{"type":13,"tag":38,"props":219,"children":220},{"style":70},[221],{"type":18,"value":222}," vk",{"type":13,"tag":38,"props":224,"children":225},{"style":167},[226],{"type":18,"value":217},{"type":13,"tag":38,"props":228,"children":229},{"style":70},[230],{"type":18,"value":231},"Device",{"type":13,"tag":38,"props":233,"children":234},{"style":45},[235],{"type":18,"value":78},{"type":13,"tag":38,"props":237,"children":238},{"class":40,"line":81},[239,244,248,252,256,261],{"type":13,"tag":38,"props":240,"children":241},{"style":45},[242],{"type":18,"value":243}," session",{"type":13,"tag":38,"props":245,"children":246},{"style":167},[247],{"type":18,"value":197},{"type":13,"tag":38,"props":249,"children":250},{"style":70},[251],{"type":18,"value":222},{"type":13,"tag":38,"props":253,"children":254},{"style":167},[255],{"type":18,"value":217},{"type":13,"tag":38,"props":257,"children":258},{"style":70},[259],{"type":18,"value":260},"OpticalFlowSessionNV",{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":78},{"type":13,"tag":38,"props":266,"children":267},{"class":40,"line":99},[268,273,277,281,285,290],{"type":13,"tag":38,"props":269,"children":270},{"style":45},[271],{"type":18,"value":272}," binding_point",{"type":13,"tag":38,"props":274,"children":275},{"style":167},[276],{"type":18,"value":197},{"type":13,"tag":38,"props":278,"children":279},{"style":70},[280],{"type":18,"value":222},{"type":13,"tag":38,"props":282,"children":283},{"style":167},[284],{"type":18,"value":217},{"type":13,"tag":38,"props":286,"children":287},{"style":70},[288],{"type":18,"value":289},"OpticalFlowSessionBindingPointNV",{"type":13,"tag":38,"props":291,"children":292},{"style":45},[293],{"type":18,"value":78},{"type":13,"tag":38,"props":295,"children":296},{"class":40,"line":117},[297,302,306,310,314,319],{"type":13,"tag":38,"props":298,"children":299},{"style":45},[300],{"type":18,"value":301}," view",{"type":13,"tag":38,"props":303,"children":304},{"style":167},[305],{"type":18,"value":197},{"type":13,"tag":38,"props":307,"children":308},{"style":70},[309],{"type":18,"value":222},{"type":13,"tag":38,"props":311,"children":312},{"style":167},[313],{"type":18,"value":217},{"type":13,"tag":38,"props":315,"children":316},{"style":70},[317],{"type":18,"value":318},"ImageView",{"type":13,"tag":38,"props":320,"children":321},{"style":45},[322],{"type":18,"value":78},{"type":13,"tag":38,"props":324,"children":325},{"class":40,"line":135},[326,331,335,339,343,348],{"type":13,"tag":38,"props":327,"children":328},{"style":45},[329],{"type":18,"value":330}," layout",{"type":13,"tag":38,"props":332,"children":333},{"style":167},[334],{"type":18,"value":197},{"type":13,"tag":38,"props":336,"children":337},{"style":70},[338],{"type":18,"value":222},{"type":13,"tag":38,"props":340,"children":341},{"style":167},[342],{"type":18,"value":217},{"type":13,"tag":38,"props":344,"children":345},{"style":70},[346],{"type":18,"value":347},"ImageLayout",{"type":13,"tag":38,"props":349,"children":350},{"style":45},[351],{"type":18,"value":78},{"type":13,"tag":38,"props":353,"children":355},{"class":40,"line":354},7,[356,361,366,370,374,379],{"type":13,"tag":38,"props":357,"children":358},{"style":45},[359],{"type":18,"value":360},") ",{"type":13,"tag":38,"props":362,"children":363},{"style":167},[364],{"type":18,"value":365},"->",{"type":13,"tag":38,"props":367,"children":368},{"style":70},[369],{"type":18,"value":222},{"type":13,"tag":38,"props":371,"children":372},{"style":167},[373],{"type":18,"value":217},{"type":13,"tag":38,"props":375,"children":376},{"style":70},[377],{"type":18,"value":378},"Result",{"type":13,"tag":38,"props":380,"children":381},{"style":45},[382],{"type":18,"value":383},";\n",{"type":13,"tag":385,"props":386,"children":387},"ul",{},[388,406,416,435,453],{"type":13,"tag":389,"props":390,"children":391},"li",{},[392,397,399,404],{"type":13,"tag":34,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":73},{"type":18,"value":398}," is the device which owns the optical flow session object\n",{"type":13,"tag":34,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":92},{"type":18,"value":405},".",{"type":13,"tag":389,"props":407,"children":408},{},[409,414],{"type":13,"tag":34,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":92},{"type":18,"value":415}," is the optical flow session object to which the image view\nis to be bound.",{"type":13,"tag":389,"props":417,"children":418},{},[419,424,426,433],{"type":13,"tag":34,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":110},{"type":18,"value":425}," specifies the binding point\n",{"type":13,"tag":427,"props":428,"children":430},"a",{"href":429},"/man/VkOpticalFlowSessionBindingPointNV",[431],{"type":18,"value":432},"VkOpticalFlowSessionBindingPointNV",{"type":18,"value":434}," to which the image view is\nbound.",{"type":13,"tag":389,"props":436,"children":437},{},[438,443,445,451],{"type":13,"tag":34,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":128},{"type":18,"value":444}," is a ",{"type":13,"tag":427,"props":446,"children":448},{"href":447},"/man/VkImageView",[449],{"type":18,"value":450},"VkImageView",{"type":18,"value":452}," to be bound.",{"type":13,"tag":389,"props":454,"children":455},{},[456,458,463,465,470,472,478,480,486],{"type":18,"value":457},"layout ",{"type":13,"tag":459,"props":460,"children":462},"normative",{"type":461},"must",[],{"type":18,"value":464}," specify the layout that the image subresources accessible\nfrom ",{"type":13,"tag":34,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":128},{"type":18,"value":471}," will be in at the time the optical flow vectors are\ncalculated with ",{"type":13,"tag":427,"props":473,"children":475},{"href":474},"/man/vkCmdOpticalFlowExecuteNV",[476],{"type":18,"value":477},"vkCmdOpticalFlowExecuteNV",{"type":18,"value":479}," on a ",{"type":13,"tag":34,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"VkDevice",{"type":18,"value":405},{"type":13,"tag":488,"props":489,"children":491},"validity-group",{"name":490},"Valid Usage (Implicit)",[492,519,543,566,605,629,652],{"type":13,"tag":493,"props":494,"children":496},"validity-field",{"name":495},"VUID-vkBindOpticalFlowSessionImageNV-device-parameter",[497],{"type":13,"tag":14,"props":498,"children":499},{},[500,505,507,510,512,517],{"type":13,"tag":34,"props":501,"children":503},{"className":502},[],[504],{"type":18,"value":73},{"type":18,"value":506}," ",{"type":13,"tag":459,"props":508,"children":509},{"type":461},[],{"type":18,"value":511}," be a valid ",{"type":13,"tag":427,"props":513,"children":515},{"href":514},"/man/VkDevice",[516],{"type":18,"value":485},{"type":18,"value":518}," handle",{"type":13,"tag":493,"props":520,"children":522},{"name":521},"VUID-vkBindOpticalFlowSessionImageNV-session-parameter",[523],{"type":13,"tag":14,"props":524,"children":525},{},[526,531,532,535,536,542],{"type":13,"tag":34,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":92},{"type":18,"value":506},{"type":13,"tag":459,"props":533,"children":534},{"type":461},[],{"type":18,"value":511},{"type":13,"tag":427,"props":537,"children":539},{"href":538},"/man/VkOpticalFlowSessionNV",[540],{"type":18,"value":541},"VkOpticalFlowSessionNV",{"type":18,"value":518},{"type":13,"tag":493,"props":544,"children":546},{"name":545},"VUID-vkBindOpticalFlowSessionImageNV-bindingPoint-parameter",[547],{"type":13,"tag":14,"props":548,"children":549},{},[550,555,556,559,560,564],{"type":13,"tag":34,"props":551,"children":553},{"className":552},[],[554],{"type":18,"value":110},{"type":18,"value":506},{"type":13,"tag":459,"props":557,"children":558},{"type":461},[],{"type":18,"value":511},{"type":13,"tag":427,"props":561,"children":562},{"href":429},[563],{"type":18,"value":432},{"type":18,"value":565}," value",{"type":13,"tag":493,"props":567,"children":569},{"name":568},"VUID-vkBindOpticalFlowSessionImageNV-view-parameter",[570],{"type":13,"tag":14,"props":571,"children":572},{},[573,575,580,582,588,590,595,596,599,600,604],{"type":18,"value":574},"If ",{"type":13,"tag":34,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":128},{"type":18,"value":581}," is not ",{"type":13,"tag":427,"props":583,"children":585},{"href":584},"/man/VK_NULL_HANDLE",[586],{"type":18,"value":587},"VK_NULL_HANDLE",{"type":18,"value":589},", ",{"type":13,"tag":34,"props":591,"children":593},{"className":592},[],[594],{"type":18,"value":128},{"type":18,"value":506},{"type":13,"tag":459,"props":597,"children":598},{"type":461},[],{"type":18,"value":511},{"type":13,"tag":427,"props":601,"children":602},{"href":447},[603],{"type":18,"value":450},{"type":18,"value":518},{"type":13,"tag":493,"props":606,"children":608},{"name":607},"VUID-vkBindOpticalFlowSessionImageNV-layout-parameter",[609],{"type":13,"tag":14,"props":610,"children":611},{},[612,617,618,621,622,628],{"type":13,"tag":34,"props":613,"children":615},{"className":614},[],[616],{"type":18,"value":146},{"type":18,"value":506},{"type":13,"tag":459,"props":619,"children":620},{"type":461},[],{"type":18,"value":511},{"type":13,"tag":427,"props":623,"children":625},{"href":624},"/man/VkImageLayout",[626],{"type":18,"value":627},"VkImageLayout",{"type":18,"value":565},{"type":13,"tag":493,"props":630,"children":632},{"name":631},"VUID-vkBindOpticalFlowSessionImageNV-session-parent",[633],{"type":13,"tag":14,"props":634,"children":635},{},[636,641,642,645,647],{"type":13,"tag":34,"props":637,"children":639},{"className":638},[],[640],{"type":18,"value":92},{"type":18,"value":506},{"type":13,"tag":459,"props":643,"children":644},{"type":461},[],{"type":18,"value":646}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":73},{"type":13,"tag":493,"props":653,"children":655},{"name":654},"VUID-vkBindOpticalFlowSessionImageNV-view-parent",[656],{"type":13,"tag":14,"props":657,"children":658},{},[659,660,665,667,670,671],{"type":18,"value":574},{"type":13,"tag":34,"props":661,"children":663},{"className":662},[],[664],{"type":18,"value":128},{"type":18,"value":666}," is a valid handle, it ",{"type":13,"tag":459,"props":668,"children":669},{"type":461},[],{"type":18,"value":646},{"type":13,"tag":34,"props":672,"children":674},{"className":673},[],[675],{"type":18,"value":73},{"type":13,"tag":677,"props":678,"children":679},"style",{},[680],{"type":18,"value":681},"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":31,"searchDepth":61,"depth":61,"links":683},[],"markdown",1725732597048]