[{"data":1,"prerenderedAt":533},["ShallowReactive",2],{"8ncRgiH2GK":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":532,"_id":4},"VkAccelerationStructureCreateInfoNV","Structure specifying the parameters of a newly created acceleration structure object","VK_NV_ray_tracing","structs",[],{"type":10,"children":11,"toc":530},"root",[12,28,276,358,416,524],{"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,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 VkAccelerationStructureCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkDeviceSize compactedSize;\n VkAccelerationStructureInfoNV info;\n} VkAccelerationStructureCreateInfoNV;\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}," VkAccelerationStructureCreateInfoNV {\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}," VkDeviceSize compactedSize;\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}," VkAccelerationStructureInfoNV info;\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},"} VkAccelerationStructureCreateInfoNV;\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 AccelerationStructureCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n compacted_size: vk::DeviceSize,\n info: vk::AccelerationStructureInfoNV,\n}\n","Rust","rs",[129],{"type":13,"tag":21,"props":130,"children":131},{"__ignoreMap":39},[132,155,188,210,239,268],{"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}," AccelerationStructureCreateInfoNV",{"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,230,235],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," compacted_size",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":167},{"type":13,"tag":45,"props":223,"children":224},{"style":146},[225],{"type":18,"value":172},{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":177},{"type":13,"tag":45,"props":231,"children":232},{"style":146},[233],{"type":18,"value":234},"DeviceSize",{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":187},{"type":13,"tag":45,"props":240,"children":241},{"class":47,"line":106},[242,247,251,255,259,264],{"type":13,"tag":45,"props":243,"children":244},{"style":63},[245],{"type":18,"value":246}," info",{"type":13,"tag":45,"props":248,"children":249},{"style":52},[250],{"type":18,"value":167},{"type":13,"tag":45,"props":252,"children":253},{"style":146},[254],{"type":18,"value":172},{"type":13,"tag":45,"props":256,"children":257},{"style":52},[258],{"type":18,"value":177},{"type":13,"tag":45,"props":260,"children":261},{"style":146},[262],{"type":18,"value":263},"AccelerationStructureInfoNV",{"type":13,"tag":45,"props":265,"children":266},{"style":63},[267],{"type":18,"value":187},{"type":13,"tag":45,"props":269,"children":270},{"class":47,"line":115},[271],{"type":13,"tag":45,"props":272,"children":273},{"style":63},[274],{"type":18,"value":275},"}\n",{"type":13,"tag":277,"props":278,"children":279},"ul",{},[280,301,320,339],{"type":13,"tag":281,"props":282,"children":283},"li",{},[284,290,292,299],{"type":13,"tag":21,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"sType",{"type":18,"value":291}," is a ",{"type":13,"tag":293,"props":294,"children":296},"a",{"href":295},"/man/VkStructureType",[297],{"type":18,"value":298},"VkStructureType",{"type":18,"value":300}," value identifying this structure.",{"type":13,"tag":281,"props":302,"children":303},{},[304,310,312,318],{"type":13,"tag":21,"props":305,"children":307},{"className":306},[],[308],{"type":18,"value":309},"pNext",{"type":18,"value":311}," is ",{"type":13,"tag":21,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":317},"NULL",{"type":18,"value":319}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":281,"props":321,"children":322},{},[323,329,331,337],{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"compactedSize",{"type":18,"value":330}," is the size from the result of\n",{"type":13,"tag":293,"props":332,"children":334},{"href":333},"/man/vkCmdWriteAccelerationStructuresPropertiesNV",[335],{"type":18,"value":336},"vkCmdWriteAccelerationStructuresPropertiesNV",{"type":18,"value":338}," if this acceleration\nstructure is going to be the target of a compacting copy.",{"type":13,"tag":281,"props":340,"children":341},{},[342,348,350,356],{"type":13,"tag":21,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":347},"info",{"type":18,"value":349}," is the ",{"type":13,"tag":293,"props":351,"children":353},{"href":352},"/man/VkAccelerationStructureInfoNV",[354],{"type":18,"value":355},"VkAccelerationStructureInfoNV",{"type":18,"value":357}," structure\nspecifying further parameters of the created acceleration structure.",{"type":13,"tag":359,"props":360,"children":362},"validity-group",{"name":361},"Valid Usage",[363],{"type":13,"tag":364,"props":365,"children":367},"validity-field",{"name":366},"VUID-VkAccelerationStructureCreateInfoNV-compactedSize-02421",[368],{"type":13,"tag":14,"props":369,"children":370},{},[371,373,378,380,386,388,394,396,402,404,409,411],{"type":18,"value":372},"If ",{"type":13,"tag":21,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":328},{"type":18,"value":379}," is not ",{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"0",{"type":18,"value":387}," then both ",{"type":13,"tag":21,"props":389,"children":391},{"className":390},[],[392],{"type":18,"value":393},"info.geometryCount",{"type":18,"value":395}," and\n",{"type":13,"tag":21,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"info.instanceCount",{"type":18,"value":403}," ",{"type":13,"tag":405,"props":406,"children":408},"normative",{"type":407},"must",[],{"type":18,"value":410}," be ",{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":385},{"type":13,"tag":359,"props":417,"children":419},{"name":418},"Valid Usage (Implicit)",[420,443,473,500],{"type":13,"tag":364,"props":421,"children":423},{"name":422},"VUID-VkAccelerationStructureCreateInfoNV-sType-sType",[424],{"type":13,"tag":14,"props":425,"children":426},{},[427,432,433,436,437],{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":289},{"type":18,"value":403},{"type":13,"tag":405,"props":434,"children":435},{"type":407},[],{"type":18,"value":410},{"type":13,"tag":21,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":442},"VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV",{"type":13,"tag":364,"props":444,"children":446},{"name":445},"VUID-VkAccelerationStructureCreateInfoNV-pNext-pNext",[447],{"type":13,"tag":14,"props":448,"children":449},{},[450,455,456,459,460,465,467],{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":309},{"type":18,"value":403},{"type":13,"tag":405,"props":457,"children":458},{"type":407},[],{"type":18,"value":410},{"type":13,"tag":21,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":317},{"type":18,"value":466}," or a pointer to a valid instance of ",{"type":13,"tag":293,"props":468,"children":470},{"href":469},"/man/VkOpaqueCaptureDescriptorDataCreateInfoEXT",[471],{"type":18,"value":472},"VkOpaqueCaptureDescriptorDataCreateInfoEXT",{"type":13,"tag":364,"props":474,"children":476},{"name":475},"VUID-VkAccelerationStructureCreateInfoNV-sType-unique",[477],{"type":13,"tag":14,"props":478,"children":479},{},[480,481,486,488,493,495,498],{"type":18,"value":19},{"type":13,"tag":21,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":289},{"type":18,"value":487}," value of each struct in the ",{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":309},{"type":18,"value":494}," chain ",{"type":13,"tag":405,"props":496,"children":497},{"type":407},[],{"type":18,"value":499}," be unique",{"type":13,"tag":364,"props":501,"children":503},{"name":502},"VUID-VkAccelerationStructureCreateInfoNV-info-parameter",[504],{"type":13,"tag":14,"props":505,"children":506},{},[507,512,513,516,518,522],{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":347},{"type":18,"value":403},{"type":13,"tag":405,"props":514,"children":515},{"type":407},[],{"type":18,"value":517}," be a valid ",{"type":13,"tag":293,"props":519,"children":520},{"href":352},[521],{"type":18,"value":355},{"type":18,"value":523}," structure",{"type":13,"tag":525,"props":526,"children":527},"style",{},[528],{"type":18,"value":529},"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":531},[],"markdown",1729612431178]