[{"data":1,"prerenderedAt":477},["ShallowReactive",2],{"D9Gtwbqb8D":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":476,"_id":4},"VkAccelerationStructureMemoryRequirementsInfoNV","Structure specifying acceleration to query for memory requirements","VK_NV_ray_tracing","structs",[],{"type":10,"children":11,"toc":474},"root",[12,28,272,362,468],{"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\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,122],{"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 VkAccelerationStructureMemoryRequirementsInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkAccelerationStructureMemoryRequirementsTypeNV type;\n VkAccelerationStructureNV accelerationStructure;\n} VkAccelerationStructureMemoryRequirementsInfoNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113],{"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}," VkAccelerationStructureMemoryRequirementsInfoNV {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkAccelerationStructureMemoryRequirementsTypeNV type;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkAccelerationStructureNV accelerationStructure;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121},"} VkAccelerationStructureMemoryRequirementsInfoNV;\n",{"type":13,"tag":33,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AccelerationStructureMemoryRequirementsInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n type: vk::AccelerationStructureMemoryRequirementsTypeNV,\n acceleration_structure: vk::AccelerationStructureNV,\n}\n","Rust","rs",[129],{"type":13,"tag":21,"props":130,"children":131},{"__ignoreMap":39},[132,155,188,210,235,264],{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":48},[135,140,144,150],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},"pub",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":60},{"type":13,"tag":45,"props":145,"children":147},{"style":146},"--shiki-default:#953800;--shiki-dark:#FFA657",[148],{"type":18,"value":149}," AccelerationStructureMemoryRequirementsInfoNV",{"type":13,"tag":45,"props":151,"children":152},{"style":63},[153],{"type":18,"value":154}," {\n",{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":69},[158,163,168,173,178,183],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," s_type",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},":",{"type":13,"tag":45,"props":169,"children":170},{"style":146},[171],{"type":18,"value":172}," vk",{"type":13,"tag":45,"props":174,"children":175},{"style":52},[176],{"type":18,"value":177},"::",{"type":13,"tag":45,"props":179,"children":180},{"style":146},[181],{"type":18,"value":182},"StructureType",{"type":13,"tag":45,"props":184,"children":185},{"style":63},[186],{"type":18,"value":187},",\n",{"type":13,"tag":45,"props":189,"children":190},{"class":47,"line":78},[191,196,200,205],{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," p_next",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":167},{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204}," *const",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209}," c_void,\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":97},[213,218,222,226,231],{"type":13,"tag":45,"props":214,"children":215},{"style":52},[216],{"type":18,"value":217}," type:",{"type":13,"tag":45,"props":219,"children":220},{"style":146},[221],{"type":18,"value":172},{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":177},{"type":13,"tag":45,"props":227,"children":228},{"style":146},[229],{"type":18,"value":230},"AccelerationStructureMemoryRequirementsTypeNV",{"type":13,"tag":45,"props":232,"children":233},{"style":63},[234],{"type":18,"value":187},{"type":13,"tag":45,"props":236,"children":237},{"class":47,"line":106},[238,243,247,251,255,260],{"type":13,"tag":45,"props":239,"children":240},{"style":63},[241],{"type":18,"value":242}," acceleration_structure",{"type":13,"tag":45,"props":244,"children":245},{"style":52},[246],{"type":18,"value":167},{"type":13,"tag":45,"props":248,"children":249},{"style":146},[250],{"type":18,"value":172},{"type":13,"tag":45,"props":252,"children":253},{"style":52},[254],{"type":18,"value":177},{"type":13,"tag":45,"props":256,"children":257},{"style":146},[258],{"type":18,"value":259},"AccelerationStructureNV",{"type":13,"tag":45,"props":261,"children":262},{"style":63},[263],{"type":18,"value":187},{"type":13,"tag":45,"props":265,"children":266},{"class":47,"line":115},[267],{"type":13,"tag":45,"props":268,"children":269},{"style":63},[270],{"type":18,"value":271},"}\n",{"type":13,"tag":273,"props":274,"children":275},"ul",{},[276,297,316,351],{"type":13,"tag":277,"props":278,"children":279},"li",{},[280,286,288,295],{"type":13,"tag":21,"props":281,"children":283},{"className":282},[],[284],{"type":18,"value":285},"sType",{"type":18,"value":287}," is a ",{"type":13,"tag":289,"props":290,"children":292},"a",{"href":291},"/man/VkStructureType",[293],{"type":18,"value":294},"VkStructureType",{"type":18,"value":296}," value identifying this structure.",{"type":13,"tag":277,"props":298,"children":299},{},[300,306,308,314],{"type":13,"tag":21,"props":301,"children":303},{"className":302},[],[304],{"type":18,"value":305},"pNext",{"type":18,"value":307}," is ",{"type":13,"tag":21,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":313},"NULL",{"type":18,"value":315}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":277,"props":317,"children":318},{},[319,325,327,333,335,341,343,349],{"type":13,"tag":21,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"type",{"type":18,"value":326}," selects the type of memory requirement being queried.\n",{"type":13,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":332},"VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV",{"type":18,"value":334},"\nreturns the memory requirements for the object itself.\n",{"type":13,"tag":21,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":340},"VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV",{"type":18,"value":342},"\nreturns the memory requirements for the scratch memory when doing a\nbuild.\n",{"type":13,"tag":21,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":348},"VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV",{"type":18,"value":350},"\nreturns the memory requirements for the scratch memory when doing an\nupdate.",{"type":13,"tag":277,"props":352,"children":353},{},[354,360],{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":359},"accelerationStructure",{"type":18,"value":361}," is the acceleration structure to be queried\nfor memory requirements.",{"type":13,"tag":363,"props":364,"children":366},"validity-group",{"name":365},"Valid Usage (Implicit)",[367,395,417,443],{"type":13,"tag":368,"props":369,"children":371},"validity-field",{"name":370},"VUID-VkAccelerationStructureMemoryRequirementsInfoNV-sType-sType",[372],{"type":13,"tag":14,"props":373,"children":374},{},[375,380,382,387,389],{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":285},{"type":18,"value":381}," ",{"type":13,"tag":383,"props":384,"children":386},"normative",{"type":385},"must",[],{"type":18,"value":388}," be ",{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV",{"type":13,"tag":368,"props":396,"children":398},{"name":397},"VUID-VkAccelerationStructureMemoryRequirementsInfoNV-pNext-pNext",[399],{"type":13,"tag":14,"props":400,"children":401},{},[402,407,408,411,412],{"type":13,"tag":21,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":305},{"type":18,"value":381},{"type":13,"tag":383,"props":409,"children":410},{"type":385},[],{"type":18,"value":388},{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":313},{"type":13,"tag":368,"props":418,"children":420},{"name":419},"VUID-VkAccelerationStructureMemoryRequirementsInfoNV-type-parameter",[421],{"type":13,"tag":14,"props":422,"children":423},{},[424,429,430,433,435,441],{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":324},{"type":18,"value":381},{"type":13,"tag":383,"props":431,"children":432},{"type":385},[],{"type":18,"value":434}," be a valid ",{"type":13,"tag":289,"props":436,"children":438},{"href":437},"/man/VkAccelerationStructureMemoryRequirementsTypeNV",[439],{"type":18,"value":440},"VkAccelerationStructureMemoryRequirementsTypeNV",{"type":18,"value":442}," value",{"type":13,"tag":368,"props":444,"children":446},{"name":445},"VUID-VkAccelerationStructureMemoryRequirementsInfoNV-accelerationStructure-parameter",[447],{"type":13,"tag":14,"props":448,"children":449},{},[450,455,456,459,460,466],{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":359},{"type":18,"value":381},{"type":13,"tag":383,"props":457,"children":458},{"type":385},[],{"type":18,"value":434},{"type":13,"tag":289,"props":461,"children":463},{"href":462},"/man/VkAccelerationStructureNV",[464],{"type":18,"value":465},"VkAccelerationStructureNV",{"type":18,"value":467}," handle",{"type":13,"tag":469,"props":470,"children":471},"style",{},[472],{"type":18,"value":473},"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":475},[],"markdown",1725732537771]