[{"data":1,"prerenderedAt":516},["ShallowReactive",2],{"SX9iHm2ZxG":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":515,"_id":4},"VkAccelerationStructureMotionInstanceNV","Structure specifying a single acceleration structure motion instance for building into an acceleration structure geometry","VK_NV_ray_tracing_motion_blur","structs",[],{"type":10,"children":11,"toc":513},"root",[12,33,38,242,303,312,507],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,24,26,31],{"type":13,"tag":18,"props":19,"children":20},"em",{},[21],{"type":22,"value":23},"text","Acceleration structure motion instances",{"type":22,"value":25}," ",{"type":13,"tag":27,"props":28,"children":30},"normative",{"type":29},"can",[],{"type":22,"value":32}," be built into top-level\nacceleration structures.\nEach acceleration structure instance is a separate entry in the top-level\nacceleration structure which includes all the geometry of a bottom-level\nacceleration structure at a transformed location including a type of motion\nand parameters to determine the motion of the instance over time.",{"type":13,"tag":14,"props":34,"children":35},{},[36],{"type":22,"value":37},"An acceleration structure motion instance is defined by the structure:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,114],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkAccelerationStructureMotionInstanceNV {\n VkAccelerationStructureMotionInstanceTypeNV type;\n VkAccelerationStructureMotionInstanceFlagsNV flags;\n VkAccelerationStructureMotionInstanceDataNV data;\n} VkAccelerationStructureMotionInstanceNV;\n","C","c","",[51],{"type":13,"tag":52,"props":53,"children":54},"code",{"__ignoreMap":49},[55,78,87,96,105],{"type":13,"tag":56,"props":57,"children":60},"span",{"class":58,"line":59},"line",1,[61,67,72],{"type":13,"tag":56,"props":62,"children":64},{"style":63},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[65],{"type":22,"value":66},"typedef",{"type":13,"tag":56,"props":68,"children":69},{"style":63},[70],{"type":22,"value":71}," struct",{"type":13,"tag":56,"props":73,"children":75},{"style":74},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[76],{"type":22,"value":77}," VkAccelerationStructureMotionInstanceNV {\n",{"type":13,"tag":56,"props":79,"children":81},{"class":58,"line":80},2,[82],{"type":13,"tag":56,"props":83,"children":84},{"style":74},[85],{"type":22,"value":86}," VkAccelerationStructureMotionInstanceTypeNV type;\n",{"type":13,"tag":56,"props":88,"children":90},{"class":58,"line":89},3,[91],{"type":13,"tag":56,"props":92,"children":93},{"style":74},[94],{"type":22,"value":95}," VkAccelerationStructureMotionInstanceFlagsNV flags;\n",{"type":13,"tag":56,"props":97,"children":99},{"class":58,"line":98},4,[100],{"type":13,"tag":56,"props":101,"children":102},{"style":74},[103],{"type":22,"value":104}," VkAccelerationStructureMotionInstanceDataNV data;\n",{"type":13,"tag":56,"props":106,"children":108},{"class":58,"line":107},5,[109],{"type":13,"tag":56,"props":110,"children":111},{"style":74},[112],{"type":22,"value":113},"} VkAccelerationStructureMotionInstanceNV;\n",{"type":13,"tag":43,"props":115,"children":120},{"className":116,"code":117,"filename":118,"language":119,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AccelerationStructureMotionInstanceNV {\n type: vk::AccelerationStructureMotionInstanceTypeNV,\n flags: vk::AccelerationStructureMotionInstanceFlagsNV,\n data: vk::AccelerationStructureMotionInstanceDataNV,\n}\n","Rust","rs",[121],{"type":13,"tag":52,"props":122,"children":123},{"__ignoreMap":49},[124,147,175,205,234],{"type":13,"tag":56,"props":125,"children":126},{"class":58,"line":59},[127,132,136,142],{"type":13,"tag":56,"props":128,"children":129},{"style":63},[130],{"type":22,"value":131},"pub",{"type":13,"tag":56,"props":133,"children":134},{"style":63},[135],{"type":22,"value":71},{"type":13,"tag":56,"props":137,"children":139},{"style":138},"--shiki-default:#953800;--shiki-dark:#FFA657",[140],{"type":22,"value":141}," AccelerationStructureMotionInstanceNV",{"type":13,"tag":56,"props":143,"children":144},{"style":74},[145],{"type":22,"value":146}," {\n",{"type":13,"tag":56,"props":148,"children":149},{"class":58,"line":80},[150,155,160,165,170],{"type":13,"tag":56,"props":151,"children":152},{"style":63},[153],{"type":22,"value":154}," type:",{"type":13,"tag":56,"props":156,"children":157},{"style":138},[158],{"type":22,"value":159}," vk",{"type":13,"tag":56,"props":161,"children":162},{"style":63},[163],{"type":22,"value":164},"::",{"type":13,"tag":56,"props":166,"children":167},{"style":138},[168],{"type":22,"value":169},"AccelerationStructureMotionInstanceTypeNV",{"type":13,"tag":56,"props":171,"children":172},{"style":74},[173],{"type":22,"value":174},",\n",{"type":13,"tag":56,"props":176,"children":177},{"class":58,"line":89},[178,183,188,192,196,201],{"type":13,"tag":56,"props":179,"children":180},{"style":74},[181],{"type":22,"value":182}," flags",{"type":13,"tag":56,"props":184,"children":185},{"style":63},[186],{"type":22,"value":187},":",{"type":13,"tag":56,"props":189,"children":190},{"style":138},[191],{"type":22,"value":159},{"type":13,"tag":56,"props":193,"children":194},{"style":63},[195],{"type":22,"value":164},{"type":13,"tag":56,"props":197,"children":198},{"style":138},[199],{"type":22,"value":200},"AccelerationStructureMotionInstanceFlagsNV",{"type":13,"tag":56,"props":202,"children":203},{"style":74},[204],{"type":22,"value":174},{"type":13,"tag":56,"props":206,"children":207},{"class":58,"line":98},[208,213,217,221,225,230],{"type":13,"tag":56,"props":209,"children":210},{"style":74},[211],{"type":22,"value":212}," data",{"type":13,"tag":56,"props":214,"children":215},{"style":63},[216],{"type":22,"value":187},{"type":13,"tag":56,"props":218,"children":219},{"style":138},[220],{"type":22,"value":159},{"type":13,"tag":56,"props":222,"children":223},{"style":63},[224],{"type":22,"value":164},{"type":13,"tag":56,"props":226,"children":227},{"style":138},[228],{"type":22,"value":229},"AccelerationStructureMotionInstanceDataNV",{"type":13,"tag":56,"props":231,"children":232},{"style":74},[233],{"type":22,"value":174},{"type":13,"tag":56,"props":235,"children":236},{"class":58,"line":107},[237],{"type":13,"tag":56,"props":238,"children":239},{"style":74},[240],{"type":22,"value":241},"}\n",{"type":13,"tag":243,"props":244,"children":245},"ul",{},[246,267,286],{"type":13,"tag":247,"props":248,"children":249},"li",{},[250,256,258,265],{"type":13,"tag":52,"props":251,"children":253},{"className":252},[],[254],{"type":22,"value":255},"type",{"type":22,"value":257}," is a ",{"type":13,"tag":259,"props":260,"children":262},"a",{"href":261},"/man/VkAccelerationStructureMotionInstanceTypeNV",[263],{"type":22,"value":264},"VkAccelerationStructureMotionInstanceTypeNV",{"type":22,"value":266},"\nenumerant identifying which type of motion instance this is and which\ntype of the union is valid.",{"type":13,"tag":247,"props":268,"children":269},{},[270,276,278,284],{"type":13,"tag":52,"props":271,"children":273},{"className":272},[],[274],{"type":22,"value":275},"flags",{"type":22,"value":277}," is currently unused, but is required to keep natural\nalignment of ",{"type":13,"tag":52,"props":279,"children":281},{"className":280},[],[282],{"type":22,"value":283},"data",{"type":22,"value":285},".",{"type":13,"tag":247,"props":287,"children":288},{},[289,294,295,301],{"type":13,"tag":52,"props":290,"children":292},{"className":291},[],[293],{"type":22,"value":283},{"type":22,"value":257},{"type":13,"tag":259,"props":296,"children":298},{"href":297},"/man/VkAccelerationStructureMotionInstanceDataNV",[299],{"type":22,"value":300},"VkAccelerationStructureMotionInstanceDataNV",{"type":22,"value":302},"\ncontaining motion instance data for this instance.",{"type":13,"tag":304,"props":305,"children":306},"note",{},[307],{"type":13,"tag":14,"props":308,"children":309},{},[310],{"type":22,"value":311},"If writing this other than with a standard C compiler, note that the final\nstructure should be 152 bytes in size.",{"type":13,"tag":313,"props":314,"children":316},"validity-group",{"name":315},"Valid Usage (Implicit)",[317,343,367,417,462],{"type":13,"tag":318,"props":319,"children":321},"validity-field",{"name":320},"VUID-VkAccelerationStructureMotionInstanceNV-type-parameter",[322],{"type":13,"tag":14,"props":323,"children":324},{},[325,330,331,335,337,341],{"type":13,"tag":52,"props":326,"children":328},{"className":327},[],[329],{"type":22,"value":255},{"type":22,"value":25},{"type":13,"tag":27,"props":332,"children":334},{"type":333},"must",[],{"type":22,"value":336}," be a valid ",{"type":13,"tag":259,"props":338,"children":339},{"href":261},[340],{"type":22,"value":264},{"type":22,"value":342}," value",{"type":13,"tag":318,"props":344,"children":346},{"name":345},"VUID-VkAccelerationStructureMotionInstanceNV-flags-zerobitmask",[347],{"type":13,"tag":14,"props":348,"children":349},{},[350,355,356,359,361],{"type":13,"tag":52,"props":351,"children":353},{"className":352},[],[354],{"type":22,"value":275},{"type":22,"value":25},{"type":13,"tag":27,"props":357,"children":358},{"type":333},[],{"type":22,"value":360}," be ",{"type":13,"tag":52,"props":362,"children":364},{"className":363},[],[365],{"type":22,"value":366},"0",{"type":13,"tag":318,"props":368,"children":370},{"name":369},"VUID-VkAccelerationStructureMotionInstanceNV-staticInstance-parameter",[371],{"type":13,"tag":14,"props":372,"children":373},{},[374,376,381,383,389,391,397,399,404,405,408,409,415],{"type":22,"value":375},"If ",{"type":13,"tag":52,"props":377,"children":379},{"className":378},[],[380],{"type":22,"value":255},{"type":22,"value":382}," is ",{"type":13,"tag":52,"props":384,"children":386},{"className":385},[],[387],{"type":22,"value":388},"VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_STATIC_NV",{"type":22,"value":390},", the ",{"type":13,"tag":52,"props":392,"children":394},{"className":393},[],[395],{"type":22,"value":396},"staticInstance",{"type":22,"value":398}," member of ",{"type":13,"tag":52,"props":400,"children":402},{"className":401},[],[403],{"type":22,"value":283},{"type":22,"value":25},{"type":13,"tag":27,"props":406,"children":407},{"type":333},[],{"type":22,"value":336},{"type":13,"tag":259,"props":410,"children":412},{"href":411},"/man/VkAccelerationStructureInstanceKHR",[413],{"type":22,"value":414},"VkAccelerationStructureInstanceKHR",{"type":22,"value":416}," structure",{"type":13,"tag":318,"props":418,"children":420},{"name":419},"VUID-VkAccelerationStructureMotionInstanceNV-matrixMotionInstance-parameter",[421],{"type":13,"tag":14,"props":422,"children":423},{},[424,425,430,431,437,438,444,445,450,451,454,455,461],{"type":22,"value":375},{"type":13,"tag":52,"props":426,"children":428},{"className":427},[],[429],{"type":22,"value":255},{"type":22,"value":382},{"type":13,"tag":52,"props":432,"children":434},{"className":433},[],[435],{"type":22,"value":436},"VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_MATRIX_MOTION_NV",{"type":22,"value":390},{"type":13,"tag":52,"props":439,"children":441},{"className":440},[],[442],{"type":22,"value":443},"matrixMotionInstance",{"type":22,"value":398},{"type":13,"tag":52,"props":446,"children":448},{"className":447},[],[449],{"type":22,"value":283},{"type":22,"value":25},{"type":13,"tag":27,"props":452,"children":453},{"type":333},[],{"type":22,"value":336},{"type":13,"tag":259,"props":456,"children":458},{"href":457},"/man/VkAccelerationStructureMatrixMotionInstanceNV",[459],{"type":22,"value":460},"VkAccelerationStructureMatrixMotionInstanceNV",{"type":22,"value":416},{"type":13,"tag":318,"props":463,"children":465},{"name":464},"VUID-VkAccelerationStructureMotionInstanceNV-srtMotionInstance-parameter",[466],{"type":13,"tag":14,"props":467,"children":468},{},[469,470,475,476,482,483,489,490,495,496,499,500,506],{"type":22,"value":375},{"type":13,"tag":52,"props":471,"children":473},{"className":472},[],[474],{"type":22,"value":255},{"type":22,"value":382},{"type":13,"tag":52,"props":477,"children":479},{"className":478},[],[480],{"type":22,"value":481},"VK_ACCELERATION_STRUCTURE_MOTION_INSTANCE_TYPE_SRT_MOTION_NV",{"type":22,"value":390},{"type":13,"tag":52,"props":484,"children":486},{"className":485},[],[487],{"type":22,"value":488},"srtMotionInstance",{"type":22,"value":398},{"type":13,"tag":52,"props":491,"children":493},{"className":492},[],[494],{"type":22,"value":283},{"type":22,"value":25},{"type":13,"tag":27,"props":497,"children":498},{"type":333},[],{"type":22,"value":336},{"type":13,"tag":259,"props":501,"children":503},{"href":502},"/man/VkAccelerationStructureSRTMotionInstanceNV",[504],{"type":22,"value":505},"VkAccelerationStructureSRTMotionInstanceNV",{"type":22,"value":416},{"type":13,"tag":508,"props":509,"children":510},"style",{},[511],{"type":22,"value":512},"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":49,"searchDepth":80,"depth":80,"links":514},[],"markdown",1729612431905]