[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"$f1d8tZbI9lLcE8W1A00zw3eWBS7bhJc3_SBKMI9kkmVg":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":373,"_id":4},"vkGetDeviceCombinedImageSamplerIndexNVX","Get the handle for an image view and sampler index","VK_NVX_image_view_handle","protos",[],{"type":10,"children":11,"toc":371},"root",[12,20,245,282,330,365],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To get the handle for a combined image sampler, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,117],{"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","uint64_t vkGetDeviceCombinedImageSamplerIndexNVX(\n VkDevice device,\n uint64_t imageViewIndex,\n uint64_t samplerIndex);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"uint64_t",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetDeviceCombinedImageSamplerIndexNVX",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":45},[88],{"type":18,"value":89}," uint64_t",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94}," imageViewIndex",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,107,112],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":89},{"type":13,"tag":38,"props":108,"children":109},{"style":72},[110],{"type":18,"value":111}," samplerIndex",{"type":13,"tag":38,"props":113,"children":114},{"style":57},[115],{"type":18,"value":116},");\n",{"type":13,"tag":25,"props":118,"children":123},{"className":119,"code":120,"filename":121,"language":122,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_device_combined_image_sampler_index_nvx(\n device: vk::Device,\n image_view_index: u64,\n sampler_index: u64,\n) -> u64;\n","Rust","rs",[124],{"type":13,"tag":34,"props":125,"children":126},{"__ignoreMap":31},[127,149,181,202,222],{"type":13,"tag":38,"props":128,"children":129},{"class":40,"line":41},[130,135,140,145],{"type":13,"tag":38,"props":131,"children":132},{"style":45},[133],{"type":18,"value":134},"pub",{"type":13,"tag":38,"props":136,"children":137},{"style":45},[138],{"type":18,"value":139}," fn",{"type":13,"tag":38,"props":141,"children":142},{"style":51},[143],{"type":18,"value":144}," get_device_combined_image_sampler_index_nvx",{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":60},{"type":13,"tag":38,"props":150,"children":151},{"class":40,"line":63},[152,157,162,167,172,177],{"type":13,"tag":38,"props":153,"children":154},{"style":57},[155],{"type":18,"value":156}," device",{"type":13,"tag":38,"props":158,"children":159},{"style":45},[160],{"type":18,"value":161},":",{"type":13,"tag":38,"props":163,"children":164},{"style":72},[165],{"type":18,"value":166}," vk",{"type":13,"tag":38,"props":168,"children":169},{"style":45},[170],{"type":18,"value":171},"::",{"type":13,"tag":38,"props":173,"children":174},{"style":72},[175],{"type":18,"value":176},"Device",{"type":13,"tag":38,"props":178,"children":179},{"style":57},[180],{"type":18,"value":80},{"type":13,"tag":38,"props":182,"children":183},{"class":40,"line":83},[184,189,193,198],{"type":13,"tag":38,"props":185,"children":186},{"style":57},[187],{"type":18,"value":188}," image_view_index",{"type":13,"tag":38,"props":190,"children":191},{"style":45},[192],{"type":18,"value":161},{"type":13,"tag":38,"props":194,"children":195},{"style":72},[196],{"type":18,"value":197}," u64",{"type":13,"tag":38,"props":199,"children":200},{"style":57},[201],{"type":18,"value":80},{"type":13,"tag":38,"props":203,"children":204},{"class":40,"line":101},[205,210,214,218],{"type":13,"tag":38,"props":206,"children":207},{"style":57},[208],{"type":18,"value":209}," sampler_index",{"type":13,"tag":38,"props":211,"children":212},{"style":45},[213],{"type":18,"value":161},{"type":13,"tag":38,"props":215,"children":216},{"style":72},[217],{"type":18,"value":197},{"type":13,"tag":38,"props":219,"children":220},{"style":57},[221],{"type":18,"value":80},{"type":13,"tag":38,"props":223,"children":225},{"class":40,"line":224},5,[226,231,236,240],{"type":13,"tag":38,"props":227,"children":228},{"style":57},[229],{"type":18,"value":230},") ",{"type":13,"tag":38,"props":232,"children":233},{"style":45},[234],{"type":18,"value":235},"->",{"type":13,"tag":38,"props":237,"children":238},{"style":72},[239],{"type":18,"value":197},{"type":13,"tag":38,"props":241,"children":242},{"style":57},[243],{"type":18,"value":244},";\n",{"type":13,"tag":246,"props":247,"children":248},"ul",{},[249,260,271],{"type":13,"tag":250,"props":251,"children":252},"li",{},[253,258],{"type":13,"tag":34,"props":254,"children":256},{"className":255},[],[257],{"type":18,"value":75},{"type":18,"value":259}," is the logical device that will use the result handle.",{"type":13,"tag":250,"props":261,"children":262},{},[263,269],{"type":13,"tag":34,"props":264,"children":266},{"className":265},[],[267],{"type":18,"value":268},"imageViewIndex",{"type":18,"value":270}," is the index within the resource heap.",{"type":13,"tag":250,"props":272,"children":273},{},[274,280],{"type":13,"tag":34,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"samplerIndex",{"type":18,"value":281}," is the index within the sampler heap.",{"type":13,"tag":14,"props":283,"children":284},{},[285,287,292,294,299,301,308,309,315,317,321,322,328],{"type":18,"value":286},"Shaders take ",{"type":13,"tag":34,"props":288,"children":290},{"className":289},[],[291],{"type":18,"value":268},{"type":18,"value":293}," and ",{"type":13,"tag":34,"props":295,"children":297},{"className":296},[],[298],{"type":18,"value":279},{"type":18,"value":300},", and multiply it by\n",{"type":13,"tag":302,"props":303,"children":305},"a",{"href":304},"/man/VkPhysicalDeviceDescriptorHeapPropertiesEXT",[306],{"type":18,"value":307},"VkPhysicalDeviceDescriptorHeapPropertiesEXT",{"type":18,"value":171},{"type":13,"tag":34,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":314},"imageDescriptorSize",{"type":18,"value":316},"\nand\n",{"type":13,"tag":302,"props":318,"children":319},{"href":304},[320],{"type":18,"value":307},{"type":18,"value":171},{"type":13,"tag":34,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"samplerDescriptorSize",{"type":18,"value":329},"\nrespectively to obtain the descriptor offset in bytes.",{"type":13,"tag":331,"props":332,"children":334},"validity-group",{"name":333},"Valid Usage (Implicit)",[335],{"type":13,"tag":336,"props":337,"children":339},"validity-field",{"name":338},"VUID-vkGetDeviceCombinedImageSamplerIndexNVX-device-parameter",[340],{"type":13,"tag":14,"props":341,"children":342},{},[343,348,350,355,357,363],{"type":13,"tag":34,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":75},{"type":18,"value":349}," ",{"type":13,"tag":351,"props":352,"children":354},"normative",{"type":353},"must",[],{"type":18,"value":356}," be a valid ",{"type":13,"tag":302,"props":358,"children":360},{"href":359},"/man/VkDevice",[361],{"type":18,"value":362},"VkDevice",{"type":18,"value":364}," handle",{"type":13,"tag":366,"props":367,"children":368},"style",{},[369],{"type":18,"value":370},"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":63,"depth":63,"links":372},[],"markdown",1773997302260]