/* * MACHINE GENERATED, DO NOT EDIT * GENERATED BY nvk v0.7.8 */ "use strict";const{platform:platform}=process,nvk=require("./build/Release/addon-"+platform+".node");let ENABLE_SHARED_MEMORY_HINTS=!!process.env.npm_config_enable_shared_memory_hints;if(ENABLE_SHARED_MEMORY_HINTS||process.argv.map(e=>{e.match("enable-shared-memory-hints")&&(ENABLE_SHARED_MEMORY_HINTS=!0)}),"undefined"==typeof BigInt)throw new ReferenceError("BigInt Type is not available on your platform!");const BI0=BigInt(0),BI4=BigInt(4),BI8=BigInt(8),NULLT=String.fromCharCode(0),VK_ENUMERATIONS=nvk.$getVulkanEnumerations(),getAddressFromArrayBuffer=nvk.getAddressFromArrayBuffer,getArrayBufferFromAddress=nvk.getArrayBufferFromAddress;global.ArrayBuffer.prototype.getAddress=function(){return getAddressFromArrayBuffer(this)},global.ArrayBuffer.fromAddress=function(e,t){return getArrayBufferFromAddress(e,BigInt(t))},global.BigInt.prototype.dereference=function(){return new BigUint64Array(ArrayBuffer.fromAddress(this,BI8))[0]};const textEncoder=new("undefined"==typeof TextEncoder?require("util").TextEncoder:TextEncoder),textDecoder=new("undefined"==typeof TextDecoder?require("util").TextDecoder:TextDecoder);function getStructFromStack(e,t,r){if(void 0===r[e]){let i=new t;return r[e]=i,i}return r[e]}function decodeNullTerminatedUTF8String(e){let t=e.indexOf(0),r=e.subarray(0,t>-1?t:e.length);return textDecoder.decode(r)}function findNullTerminatedUTF8StringLength(e){for(let t=0;t<8192;t+=4){let r=getArrayBufferFromAddress(e+BigInt(t),BI4),i=new Uint8Array(r);if(0===i[0])return t+1+0;if(0===i[1])return t+1+1;if(0===i[2])return t+1+2;if(0===i[3])return t+1+3}throw new ReferenceError("Failed to find UTF8 String length - Memory is either corrupted, misses a NULL terminator or exceeds the Limit of '8192' bytes")}function decodeNativeArrayOfObjects(e,t,r){let i=[],s=BigInt(r.byteLength);for(let o=0;onew VkMemoryType({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+4+8*t})),this._memoryHeaps=[...Array(16)].map((e,t)=>new VkMemoryHeap({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+264+16*t}))}function VkMemoryAllocateInfo(e,t){if(new.target!==VkMemoryAllocateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryAllocateInfo,STRUCT_CACHE_VkMemoryAllocateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryAllocateInfo,STRUCT_CACHE_VkMemoryAllocateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryAllocateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=5,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.allocationSize&&(this.allocationSize=e.allocationSize),void 0!==e.memoryTypeIndex&&(this.memoryTypeIndex=e.memoryTypeIndex))}function VkMemoryRequirements(e,t){if(new.target!==VkMemoryRequirements){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryRequirements,STRUCT_CACHE_VkMemoryRequirements);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryRequirements,STRUCT_CACHE_VkMemoryRequirements);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryRequirements'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24))}function VkSparseImageFormatProperties(e,t){if(new.target!==VkSparseImageFormatProperties){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageFormatProperties,STRUCT_CACHE_VkSparseImageFormatProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageFormatProperties,STRUCT_CACHE_VkSparseImageFormatProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageFormatProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,20)):(this.memoryBuffer=new ArrayBuffer(20),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,20)),this._imageGranularity=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+4})}function VkSparseImageMemoryRequirements(e,t){if(new.target!==VkSparseImageMemoryRequirements){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageMemoryRequirements,STRUCT_CACHE_VkSparseImageMemoryRequirements);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageMemoryRequirements,STRUCT_CACHE_VkSparseImageMemoryRequirements);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageMemoryRequirements'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._formatProperties=new VkSparseImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0})}function VkMemoryType(e,t){if(new.target!==VkMemoryType){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryType,STRUCT_CACHE_VkMemoryType);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryType,STRUCT_CACHE_VkMemoryType);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryType'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8))}function VkMemoryHeap(e,t){if(new.target!==VkMemoryHeap){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryHeap,STRUCT_CACHE_VkMemoryHeap);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryHeap,STRUCT_CACHE_VkMemoryHeap);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryHeap'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16))}function VkMappedMemoryRange(e,t){if(new.target!==VkMappedMemoryRange){if("string"==typeof e){let t=getStructFromStack(e,VkMappedMemoryRange,STRUCT_CACHE_VkMappedMemoryRange);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMappedMemoryRange,STRUCT_CACHE_VkMappedMemoryRange);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMappedMemoryRange'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._memory=null,this.sType=6,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))}function VkFormatProperties(e,t){if(new.target!==VkFormatProperties){if("string"==typeof e){let t=getStructFromStack(e,VkFormatProperties,STRUCT_CACHE_VkFormatProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFormatProperties,STRUCT_CACHE_VkFormatProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFormatProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12))}function VkImageFormatProperties(e,t){if(new.target!==VkImageFormatProperties){if("string"==typeof e){let t=getStructFromStack(e,VkImageFormatProperties,STRUCT_CACHE_VkImageFormatProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageFormatProperties,STRUCT_CACHE_VkImageFormatProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageFormatProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._maxExtent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0})}function VkDescriptorBufferInfo(e,t){if(new.target!==VkDescriptorBufferInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorBufferInfo,STRUCT_CACHE_VkDescriptorBufferInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorBufferInfo,STRUCT_CACHE_VkDescriptorBufferInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorBufferInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._buffer=null,"object"==typeof e&&(void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.range&&(this.range=e.range))}function VkDescriptorImageInfo(e,t){if(new.target!==VkDescriptorImageInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorImageInfo,STRUCT_CACHE_VkDescriptorImageInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorImageInfo,STRUCT_CACHE_VkDescriptorImageInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorImageInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._sampler=null,this._imageView=null,"object"==typeof e&&(void 0!==e.sampler&&(this.sampler=e.sampler),void 0!==e.imageView&&(this.imageView=e.imageView),void 0!==e.imageLayout&&(this.imageLayout=e.imageLayout))}function VkWriteDescriptorSet(e,t){if(new.target!==VkWriteDescriptorSet){if("string"==typeof e){let t=getStructFromStack(e,VkWriteDescriptorSet,STRUCT_CACHE_VkWriteDescriptorSet);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkWriteDescriptorSet,STRUCT_CACHE_VkWriteDescriptorSet);return r.reset(e),r}throw new Error("Invalid Signature for 'VkWriteDescriptorSet'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._dstSet=null,this._pImageInfo=null,this._pImageInfoNative=null,this._pBufferInfo=null,this._pBufferInfoNative=null,this._pTexelBufferView=null,this._pTexelBufferViewNative=null,this.sType=35,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dstSet&&(this.dstSet=e.dstSet),void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.pImageInfo&&(this.pImageInfo=e.pImageInfo),void 0!==e.pBufferInfo&&(this.pBufferInfo=e.pBufferInfo),void 0!==e.pTexelBufferView&&(this.pTexelBufferView=e.pTexelBufferView))}function VkCopyDescriptorSet(e,t){if(new.target!==VkCopyDescriptorSet){if("string"==typeof e){let t=getStructFromStack(e,VkCopyDescriptorSet,STRUCT_CACHE_VkCopyDescriptorSet);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCopyDescriptorSet,STRUCT_CACHE_VkCopyDescriptorSet);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCopyDescriptorSet'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._srcSet=null,this._dstSet=null,this.sType=36,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcSet&&(this.srcSet=e.srcSet),void 0!==e.srcBinding&&(this.srcBinding=e.srcBinding),void 0!==e.srcArrayElement&&(this.srcArrayElement=e.srcArrayElement),void 0!==e.dstSet&&(this.dstSet=e.dstSet),void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount))}function VkBufferCreateInfo(e,t){if(new.target!==VkBufferCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBufferCreateInfo,STRUCT_CACHE_VkBufferCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferCreateInfo,STRUCT_CACHE_VkBufferCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._pQueueFamilyIndices=null,this.sType=12,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.size&&(this.size=e.size),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.sharingMode&&(this.sharingMode=e.sharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices))}function VkBufferViewCreateInfo(e,t){if(new.target!==VkBufferViewCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBufferViewCreateInfo,STRUCT_CACHE_VkBufferViewCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferViewCreateInfo,STRUCT_CACHE_VkBufferViewCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferViewCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._buffer=null,this.sType=13,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.format&&(this.format=e.format),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.range&&(this.range=e.range))}function VkImageSubresource(e,t){if(new.target!==VkImageSubresource){if("string"==typeof e){let t=getStructFromStack(e,VkImageSubresource,STRUCT_CACHE_VkImageSubresource);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageSubresource,STRUCT_CACHE_VkImageSubresource);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageSubresource'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.mipLevel&&(this.mipLevel=e.mipLevel),void 0!==e.arrayLayer&&(this.arrayLayer=e.arrayLayer))}function VkImageSubresourceLayers(e,t){if(new.target!==VkImageSubresourceLayers){if("string"==typeof e){let t=getStructFromStack(e,VkImageSubresourceLayers,STRUCT_CACHE_VkImageSubresourceLayers);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageSubresourceLayers,STRUCT_CACHE_VkImageSubresourceLayers);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageSubresourceLayers'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.mipLevel&&(this.mipLevel=e.mipLevel),void 0!==e.baseArrayLayer&&(this.baseArrayLayer=e.baseArrayLayer),void 0!==e.layerCount&&(this.layerCount=e.layerCount))}function VkImageSubresourceRange(e,t){if(new.target!==VkImageSubresourceRange){if("string"==typeof e){let t=getStructFromStack(e,VkImageSubresourceRange,STRUCT_CACHE_VkImageSubresourceRange);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageSubresourceRange,STRUCT_CACHE_VkImageSubresourceRange);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageSubresourceRange'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,20)):(this.memoryBuffer=new ArrayBuffer(20),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,20)),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.baseMipLevel&&(this.baseMipLevel=e.baseMipLevel),void 0!==e.levelCount&&(this.levelCount=e.levelCount),void 0!==e.baseArrayLayer&&(this.baseArrayLayer=e.baseArrayLayer),void 0!==e.layerCount&&(this.layerCount=e.layerCount))}function VkMemoryBarrier(e,t){if(new.target!==VkMemoryBarrier){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryBarrier,STRUCT_CACHE_VkMemoryBarrier);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryBarrier,STRUCT_CACHE_VkMemoryBarrier);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryBarrier'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=46,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask))}function VkBufferMemoryBarrier(e,t){if(new.target!==VkBufferMemoryBarrier){if("string"==typeof e){let t=getStructFromStack(e,VkBufferMemoryBarrier,STRUCT_CACHE_VkBufferMemoryBarrier);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferMemoryBarrier,STRUCT_CACHE_VkBufferMemoryBarrier);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferMemoryBarrier'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._buffer=null,this.sType=44,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.srcQueueFamilyIndex&&(this.srcQueueFamilyIndex=e.srcQueueFamilyIndex),void 0!==e.dstQueueFamilyIndex&&(this.dstQueueFamilyIndex=e.dstQueueFamilyIndex),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))}function VkImageMemoryBarrier(e,t){if(new.target!==VkImageMemoryBarrier){if("string"==typeof e){let t=getStructFromStack(e,VkImageMemoryBarrier,STRUCT_CACHE_VkImageMemoryBarrier);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageMemoryBarrier,STRUCT_CACHE_VkImageMemoryBarrier);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageMemoryBarrier'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._image=null,this._subresourceRange=new VkImageSubresourceRange({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+48}),this.sType=45,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.oldLayout&&(this.oldLayout=e.oldLayout),void 0!==e.newLayout&&(this.newLayout=e.newLayout),void 0!==e.srcQueueFamilyIndex&&(this.srcQueueFamilyIndex=e.srcQueueFamilyIndex),void 0!==e.dstQueueFamilyIndex&&(this.dstQueueFamilyIndex=e.dstQueueFamilyIndex),void 0!==e.image&&(this.image=e.image),void 0!==e.subresourceRange&&(this.subresourceRange=e.subresourceRange))}function VkImageCreateInfo(e,t){if(new.target!==VkImageCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkImageCreateInfo,STRUCT_CACHE_VkImageCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageCreateInfo,STRUCT_CACHE_VkImageCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,88)):(this.memoryBuffer=new ArrayBuffer(88),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,88)),this._pNext=null,this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}),this._pQueueFamilyIndices=null,this.sType=14,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.imageType&&(this.imageType=e.imageType),void 0!==e.format&&(this.format=e.format),void 0!==e.extent&&(this.extent=e.extent),void 0!==e.mipLevels&&(this.mipLevels=e.mipLevels),void 0!==e.arrayLayers&&(this.arrayLayers=e.arrayLayers),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.tiling&&(this.tiling=e.tiling),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.sharingMode&&(this.sharingMode=e.sharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices),void 0!==e.initialLayout&&(this.initialLayout=e.initialLayout))}function VkSubresourceLayout(e,t){if(new.target!==VkSubresourceLayout){if("string"==typeof e){let t=getStructFromStack(e,VkSubresourceLayout,STRUCT_CACHE_VkSubresourceLayout);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubresourceLayout,STRUCT_CACHE_VkSubresourceLayout);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubresourceLayout'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40))}function VkImageViewCreateInfo(e,t){if(new.target!==VkImageViewCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkImageViewCreateInfo,STRUCT_CACHE_VkImageViewCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageViewCreateInfo,STRUCT_CACHE_VkImageViewCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageViewCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,80)):(this.memoryBuffer=new ArrayBuffer(80),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,80)),this._pNext=null,this._image=null,this._components=new VkComponentMapping({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}),this._subresourceRange=new VkImageSubresourceRange({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56}),this.sType=15,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.image&&(this.image=e.image),void 0!==e.viewType&&(this.viewType=e.viewType),void 0!==e.format&&(this.format=e.format),void 0!==e.components&&(this.components=e.components),void 0!==e.subresourceRange&&(this.subresourceRange=e.subresourceRange))}function VkBufferCopy(e,t){if(new.target!==VkBufferCopy){if("string"==typeof e){let t=getStructFromStack(e,VkBufferCopy,STRUCT_CACHE_VkBufferCopy);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferCopy,STRUCT_CACHE_VkBufferCopy);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferCopy'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),"object"==typeof e&&(void 0!==e.srcOffset&&(this.srcOffset=e.srcOffset),void 0!==e.dstOffset&&(this.dstOffset=e.dstOffset),void 0!==e.size&&(this.size=e.size))}function VkSparseMemoryBind(e,t){if(new.target!==VkSparseMemoryBind){if("string"==typeof e){let t=getStructFromStack(e,VkSparseMemoryBind,STRUCT_CACHE_VkSparseMemoryBind);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseMemoryBind,STRUCT_CACHE_VkSparseMemoryBind);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseMemoryBind'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._memory=null,"object"==typeof e&&(void 0!==e.resourceOffset&&(this.resourceOffset=e.resourceOffset),void 0!==e.size&&(this.size=e.size),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset),void 0!==e.flags&&(this.flags=e.flags))}function VkSparseImageMemoryBind(e,t){if(new.target!==VkSparseImageMemoryBind){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageMemoryBind,STRUCT_CACHE_VkSparseImageMemoryBind);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageMemoryBind,STRUCT_CACHE_VkSparseImageMemoryBind);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageMemoryBind'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._subresource=new VkImageSubresource({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._offset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+12}),this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this._memory=null,"object"==typeof e&&(void 0!==e.subresource&&(this.subresource=e.subresource),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.extent&&(this.extent=e.extent),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset),void 0!==e.flags&&(this.flags=e.flags))}function VkSparseBufferMemoryBindInfo(e,t){if(new.target!==VkSparseBufferMemoryBindInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSparseBufferMemoryBindInfo,STRUCT_CACHE_VkSparseBufferMemoryBindInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseBufferMemoryBindInfo,STRUCT_CACHE_VkSparseBufferMemoryBindInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseBufferMemoryBindInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._buffer=null,this._pBinds=null,this._pBindsNative=null,"object"==typeof e&&(void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.bindCount&&(this.bindCount=e.bindCount),void 0!==e.pBinds&&(this.pBinds=e.pBinds))}function VkSparseImageOpaqueMemoryBindInfo(e,t){if(new.target!==VkSparseImageOpaqueMemoryBindInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageOpaqueMemoryBindInfo,STRUCT_CACHE_VkSparseImageOpaqueMemoryBindInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageOpaqueMemoryBindInfo,STRUCT_CACHE_VkSparseImageOpaqueMemoryBindInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageOpaqueMemoryBindInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._image=null,this._pBinds=null,this._pBindsNative=null,"object"==typeof e&&(void 0!==e.image&&(this.image=e.image),void 0!==e.bindCount&&(this.bindCount=e.bindCount),void 0!==e.pBinds&&(this.pBinds=e.pBinds))}function VkSparseImageMemoryBindInfo(e,t){if(new.target!==VkSparseImageMemoryBindInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageMemoryBindInfo,STRUCT_CACHE_VkSparseImageMemoryBindInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageMemoryBindInfo,STRUCT_CACHE_VkSparseImageMemoryBindInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageMemoryBindInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._image=null,this._pBinds=null,this._pBindsNative=null,"object"==typeof e&&(void 0!==e.image&&(this.image=e.image),void 0!==e.bindCount&&(this.bindCount=e.bindCount),void 0!==e.pBinds&&(this.pBinds=e.pBinds))}function VkBindSparseInfo(e,t){if(new.target!==VkBindSparseInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBindSparseInfo,STRUCT_CACHE_VkBindSparseInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindSparseInfo,STRUCT_CACHE_VkBindSparseInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindSparseInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,96)):(this.memoryBuffer=new ArrayBuffer(96),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,96)),this._pNext=null,this._pWaitSemaphores=null,this._pWaitSemaphoresNative=null,this._pBufferBinds=null,this._pBufferBindsNative=null,this._pImageOpaqueBinds=null,this._pImageOpaqueBindsNative=null,this._pImageBinds=null,this._pImageBindsNative=null,this._pSignalSemaphores=null,this._pSignalSemaphoresNative=null,this.sType=7,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphores&&(this.pWaitSemaphores=e.pWaitSemaphores),void 0!==e.bufferBindCount&&(this.bufferBindCount=e.bufferBindCount),void 0!==e.pBufferBinds&&(this.pBufferBinds=e.pBufferBinds),void 0!==e.imageOpaqueBindCount&&(this.imageOpaqueBindCount=e.imageOpaqueBindCount),void 0!==e.pImageOpaqueBinds&&(this.pImageOpaqueBinds=e.pImageOpaqueBinds),void 0!==e.imageBindCount&&(this.imageBindCount=e.imageBindCount),void 0!==e.pImageBinds&&(this.pImageBinds=e.pImageBinds),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphores&&(this.pSignalSemaphores=e.pSignalSemaphores))}function VkImageCopy(e,t){if(new.target!==VkImageCopy){if("string"==typeof e){let t=getStructFromStack(e,VkImageCopy,STRUCT_CACHE_VkImageCopy);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageCopy,STRUCT_CACHE_VkImageCopy);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageCopy'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,68)):(this.memoryBuffer=new ArrayBuffer(68),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,68)),this._srcSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._srcOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._dstSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}),this._dstOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}),this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56}),"object"==typeof e&&(void 0!==e.srcSubresource&&(this.srcSubresource=e.srcSubresource),void 0!==e.srcOffset&&(this.srcOffset=e.srcOffset),void 0!==e.dstSubresource&&(this.dstSubresource=e.dstSubresource),void 0!==e.dstOffset&&(this.dstOffset=e.dstOffset),void 0!==e.extent&&(this.extent=e.extent))}function VkImageBlit(e,t){if(new.target!==VkImageBlit){if("string"==typeof e){let t=getStructFromStack(e,VkImageBlit,STRUCT_CACHE_VkImageBlit);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageBlit,STRUCT_CACHE_VkImageBlit);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageBlit'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,80)):(this.memoryBuffer=new ArrayBuffer(80),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,80)),this._srcSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._srcOffsets=[...Array(2)].map((e,t)=>new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16+12*t})),this._dstSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}),this._dstOffsets=[...Array(2)].map((e,t)=>new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56+12*t})),"object"==typeof e&&(void 0!==e.srcSubresource&&(this.srcSubresource=e.srcSubresource),void 0!==e.srcOffsets&&(this.srcOffsets=e.srcOffsets),void 0!==e.dstSubresource&&(this.dstSubresource=e.dstSubresource),void 0!==e.dstOffsets&&(this.dstOffsets=e.dstOffsets))}function VkBufferImageCopy(e,t){if(new.target!==VkBufferImageCopy){if("string"==typeof e){let t=getStructFromStack(e,VkBufferImageCopy,STRUCT_CACHE_VkBufferImageCopy);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferImageCopy,STRUCT_CACHE_VkBufferImageCopy);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferImageCopy'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._imageSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._imageOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}),this._imageExtent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}),"object"==typeof e&&(void 0!==e.bufferOffset&&(this.bufferOffset=e.bufferOffset),void 0!==e.bufferRowLength&&(this.bufferRowLength=e.bufferRowLength),void 0!==e.bufferImageHeight&&(this.bufferImageHeight=e.bufferImageHeight),void 0!==e.imageSubresource&&(this.imageSubresource=e.imageSubresource),void 0!==e.imageOffset&&(this.imageOffset=e.imageOffset),void 0!==e.imageExtent&&(this.imageExtent=e.imageExtent))}function VkImageResolve(e,t){if(new.target!==VkImageResolve){if("string"==typeof e){let t=getStructFromStack(e,VkImageResolve,STRUCT_CACHE_VkImageResolve);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageResolve,STRUCT_CACHE_VkImageResolve);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageResolve'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,68)):(this.memoryBuffer=new ArrayBuffer(68),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,68)),this._srcSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._srcOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._dstSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}),this._dstOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}),this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56}),"object"==typeof e&&(void 0!==e.srcSubresource&&(this.srcSubresource=e.srcSubresource),void 0!==e.srcOffset&&(this.srcOffset=e.srcOffset),void 0!==e.dstSubresource&&(this.dstSubresource=e.dstSubresource),void 0!==e.dstOffset&&(this.dstOffset=e.dstOffset),void 0!==e.extent&&(this.extent=e.extent))}function VkShaderModuleCreateInfo(e,t){if(new.target!==VkShaderModuleCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkShaderModuleCreateInfo,STRUCT_CACHE_VkShaderModuleCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkShaderModuleCreateInfo,STRUCT_CACHE_VkShaderModuleCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkShaderModuleCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pCode=null,this.sType=16,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.codeSize&&(this.codeSize=e.codeSize),void 0!==e.pCode&&(this.pCode=e.pCode))}function VkDescriptorSetLayoutBinding(e,t){if(new.target!==VkDescriptorSetLayoutBinding){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetLayoutBinding,STRUCT_CACHE_VkDescriptorSetLayoutBinding);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetLayoutBinding,STRUCT_CACHE_VkDescriptorSetLayoutBinding);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetLayoutBinding'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pImmutableSamplers=null,this._pImmutableSamplersNative=null,"object"==typeof e&&(void 0!==e.binding&&(this.binding=e.binding),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.stageFlags&&(this.stageFlags=e.stageFlags),void 0!==e.pImmutableSamplers&&(this.pImmutableSamplers=e.pImmutableSamplers))}function VkDescriptorSetLayoutCreateInfo(e,t){if(new.target!==VkDescriptorSetLayoutCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetLayoutCreateInfo,STRUCT_CACHE_VkDescriptorSetLayoutCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetLayoutCreateInfo,STRUCT_CACHE_VkDescriptorSetLayoutCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetLayoutCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pBindings=null,this._pBindingsNative=null,this.sType=32,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.bindingCount&&(this.bindingCount=e.bindingCount),void 0!==e.pBindings&&(this.pBindings=e.pBindings))}function VkDescriptorPoolSize(e,t){if(new.target!==VkDescriptorPoolSize){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorPoolSize,STRUCT_CACHE_VkDescriptorPoolSize);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorPoolSize,STRUCT_CACHE_VkDescriptorPoolSize);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorPoolSize'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount))}function VkDescriptorPoolCreateInfo(e,t){if(new.target!==VkDescriptorPoolCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorPoolCreateInfo,STRUCT_CACHE_VkDescriptorPoolCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorPoolCreateInfo,STRUCT_CACHE_VkDescriptorPoolCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorPoolCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pPoolSizes=null,this._pPoolSizesNative=null,this.sType=33,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.maxSets&&(this.maxSets=e.maxSets),void 0!==e.poolSizeCount&&(this.poolSizeCount=e.poolSizeCount),void 0!==e.pPoolSizes&&(this.pPoolSizes=e.pPoolSizes))}function VkDescriptorSetAllocateInfo(e,t){if(new.target!==VkDescriptorSetAllocateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetAllocateInfo,STRUCT_CACHE_VkDescriptorSetAllocateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetAllocateInfo,STRUCT_CACHE_VkDescriptorSetAllocateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetAllocateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._descriptorPool=null,this._pSetLayouts=null,this._pSetLayoutsNative=null,this.sType=34,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.descriptorPool&&(this.descriptorPool=e.descriptorPool),void 0!==e.descriptorSetCount&&(this.descriptorSetCount=e.descriptorSetCount),void 0!==e.pSetLayouts&&(this.pSetLayouts=e.pSetLayouts))}function VkSpecializationMapEntry(e,t){if(new.target!==VkSpecializationMapEntry){if("string"==typeof e){let t=getStructFromStack(e,VkSpecializationMapEntry,STRUCT_CACHE_VkSpecializationMapEntry);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSpecializationMapEntry,STRUCT_CACHE_VkSpecializationMapEntry);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSpecializationMapEntry'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.constantID&&(this.constantID=e.constantID),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))}function VkSpecializationInfo(e,t){if(new.target!==VkSpecializationInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSpecializationInfo,STRUCT_CACHE_VkSpecializationInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSpecializationInfo,STRUCT_CACHE_VkSpecializationInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSpecializationInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pMapEntries=null,this._pMapEntriesNative=null,this._pData=null,"object"==typeof e&&(void 0!==e.mapEntryCount&&(this.mapEntryCount=e.mapEntryCount),void 0!==e.pMapEntries&&(this.pMapEntries=e.pMapEntries),void 0!==e.dataSize&&(this.dataSize=e.dataSize),void 0!==e.pData&&(this.pData=e.pData))}function VkPipelineShaderStageCreateInfo(e,t){if(new.target!==VkPipelineShaderStageCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineShaderStageCreateInfo,STRUCT_CACHE_VkPipelineShaderStageCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineShaderStageCreateInfo,STRUCT_CACHE_VkPipelineShaderStageCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineShaderStageCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._module=null,this._pName=null,this._pSpecializationInfo=null,this.sType=18,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stage&&(this.stage=e.stage),void 0!==e.module&&(this.module=e.module),void 0!==e.pName&&(this.pName=e.pName),void 0!==e.pSpecializationInfo&&(this.pSpecializationInfo=e.pSpecializationInfo))}function VkComputePipelineCreateInfo(e,t){if(new.target!==VkComputePipelineCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkComputePipelineCreateInfo,STRUCT_CACHE_VkComputePipelineCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkComputePipelineCreateInfo,STRUCT_CACHE_VkComputePipelineCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkComputePipelineCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,96)):(this.memoryBuffer=new ArrayBuffer(96),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,96)),this._pNext=null,this._stage=new VkPipelineShaderStageCreateInfo({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this._layout=null,this._basePipelineHandle=null,this.sType=29,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stage&&(this.stage=e.stage),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.basePipelineHandle&&(this.basePipelineHandle=e.basePipelineHandle),void 0!==e.basePipelineIndex&&(this.basePipelineIndex=e.basePipelineIndex))}function VkVertexInputBindingDescription(e,t){if(new.target!==VkVertexInputBindingDescription){if("string"==typeof e){let t=getStructFromStack(e,VkVertexInputBindingDescription,STRUCT_CACHE_VkVertexInputBindingDescription);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkVertexInputBindingDescription,STRUCT_CACHE_VkVertexInputBindingDescription);return r.reset(e),r}throw new Error("Invalid Signature for 'VkVertexInputBindingDescription'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.binding&&(this.binding=e.binding),void 0!==e.stride&&(this.stride=e.stride),void 0!==e.inputRate&&(this.inputRate=e.inputRate))}function VkVertexInputAttributeDescription(e,t){if(new.target!==VkVertexInputAttributeDescription){if("string"==typeof e){let t=getStructFromStack(e,VkVertexInputAttributeDescription,STRUCT_CACHE_VkVertexInputAttributeDescription);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkVertexInputAttributeDescription,STRUCT_CACHE_VkVertexInputAttributeDescription);return r.reset(e),r}throw new Error("Invalid Signature for 'VkVertexInputAttributeDescription'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.location&&(this.location=e.location),void 0!==e.binding&&(this.binding=e.binding),void 0!==e.format&&(this.format=e.format),void 0!==e.offset&&(this.offset=e.offset))}function VkPipelineVertexInputStateCreateInfo(e,t){if(new.target!==VkPipelineVertexInputStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineVertexInputStateCreateInfo,STRUCT_CACHE_VkPipelineVertexInputStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineVertexInputStateCreateInfo,STRUCT_CACHE_VkPipelineVertexInputStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineVertexInputStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pVertexBindingDescriptions=null,this._pVertexBindingDescriptionsNative=null,this._pVertexAttributeDescriptions=null,this._pVertexAttributeDescriptionsNative=null,this.sType=19,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.vertexBindingDescriptionCount&&(this.vertexBindingDescriptionCount=e.vertexBindingDescriptionCount),void 0!==e.pVertexBindingDescriptions&&(this.pVertexBindingDescriptions=e.pVertexBindingDescriptions),void 0!==e.vertexAttributeDescriptionCount&&(this.vertexAttributeDescriptionCount=e.vertexAttributeDescriptionCount),void 0!==e.pVertexAttributeDescriptions&&(this.pVertexAttributeDescriptions=e.pVertexAttributeDescriptions))}function VkPipelineInputAssemblyStateCreateInfo(e,t){if(new.target!==VkPipelineInputAssemblyStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineInputAssemblyStateCreateInfo,STRUCT_CACHE_VkPipelineInputAssemblyStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineInputAssemblyStateCreateInfo,STRUCT_CACHE_VkPipelineInputAssemblyStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineInputAssemblyStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=20,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.topology&&(this.topology=e.topology),void 0!==e.primitiveRestartEnable&&(this.primitiveRestartEnable=e.primitiveRestartEnable))}function VkPipelineTessellationStateCreateInfo(e,t){if(new.target!==VkPipelineTessellationStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineTessellationStateCreateInfo,STRUCT_CACHE_VkPipelineTessellationStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineTessellationStateCreateInfo,STRUCT_CACHE_VkPipelineTessellationStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineTessellationStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=21,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.patchControlPoints&&(this.patchControlPoints=e.patchControlPoints))}function VkPipelineViewportStateCreateInfo(e,t){if(new.target!==VkPipelineViewportStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineViewportStateCreateInfo,STRUCT_CACHE_VkPipelineViewportStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineViewportStateCreateInfo,STRUCT_CACHE_VkPipelineViewportStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineViewportStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pViewports=null,this._pViewportsNative=null,this._pScissors=null,this._pScissorsNative=null,this.sType=22,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pViewports&&(this.pViewports=e.pViewports),void 0!==e.scissorCount&&(this.scissorCount=e.scissorCount),void 0!==e.pScissors&&(this.pScissors=e.pScissors))}function VkPipelineRasterizationStateCreateInfo(e,t){if(new.target!==VkPipelineRasterizationStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRasterizationStateCreateInfo,STRUCT_CACHE_VkPipelineRasterizationStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRasterizationStateCreateInfo,STRUCT_CACHE_VkPipelineRasterizationStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRasterizationStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this.sType=23,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.depthClampEnable&&(this.depthClampEnable=e.depthClampEnable),void 0!==e.rasterizerDiscardEnable&&(this.rasterizerDiscardEnable=e.rasterizerDiscardEnable),void 0!==e.polygonMode&&(this.polygonMode=e.polygonMode),void 0!==e.cullMode&&(this.cullMode=e.cullMode),void 0!==e.frontFace&&(this.frontFace=e.frontFace),void 0!==e.depthBiasEnable&&(this.depthBiasEnable=e.depthBiasEnable),void 0!==e.depthBiasConstantFactor&&(this.depthBiasConstantFactor=e.depthBiasConstantFactor),void 0!==e.depthBiasClamp&&(this.depthBiasClamp=e.depthBiasClamp),void 0!==e.depthBiasSlopeFactor&&(this.depthBiasSlopeFactor=e.depthBiasSlopeFactor),void 0!==e.lineWidth&&(this.lineWidth=e.lineWidth))}function VkPipelineMultisampleStateCreateInfo(e,t){if(new.target!==VkPipelineMultisampleStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineMultisampleStateCreateInfo,STRUCT_CACHE_VkPipelineMultisampleStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineMultisampleStateCreateInfo,STRUCT_CACHE_VkPipelineMultisampleStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineMultisampleStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pSampleMask=null,this.sType=24,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.rasterizationSamples&&(this.rasterizationSamples=e.rasterizationSamples),void 0!==e.sampleShadingEnable&&(this.sampleShadingEnable=e.sampleShadingEnable),void 0!==e.minSampleShading&&(this.minSampleShading=e.minSampleShading),void 0!==e.pSampleMask&&(this.pSampleMask=e.pSampleMask),void 0!==e.alphaToCoverageEnable&&(this.alphaToCoverageEnable=e.alphaToCoverageEnable),void 0!==e.alphaToOneEnable&&(this.alphaToOneEnable=e.alphaToOneEnable))}function VkPipelineColorBlendAttachmentState(e,t){if(new.target!==VkPipelineColorBlendAttachmentState){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineColorBlendAttachmentState,STRUCT_CACHE_VkPipelineColorBlendAttachmentState);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineColorBlendAttachmentState,STRUCT_CACHE_VkPipelineColorBlendAttachmentState);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineColorBlendAttachmentState'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),"object"==typeof e&&(void 0!==e.blendEnable&&(this.blendEnable=e.blendEnable),void 0!==e.srcColorBlendFactor&&(this.srcColorBlendFactor=e.srcColorBlendFactor),void 0!==e.dstColorBlendFactor&&(this.dstColorBlendFactor=e.dstColorBlendFactor),void 0!==e.colorBlendOp&&(this.colorBlendOp=e.colorBlendOp),void 0!==e.srcAlphaBlendFactor&&(this.srcAlphaBlendFactor=e.srcAlphaBlendFactor),void 0!==e.dstAlphaBlendFactor&&(this.dstAlphaBlendFactor=e.dstAlphaBlendFactor),void 0!==e.alphaBlendOp&&(this.alphaBlendOp=e.alphaBlendOp),void 0!==e.colorWriteMask&&(this.colorWriteMask=e.colorWriteMask))}function VkPipelineColorBlendStateCreateInfo(e,t){if(new.target!==VkPipelineColorBlendStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineColorBlendStateCreateInfo,STRUCT_CACHE_VkPipelineColorBlendStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineColorBlendStateCreateInfo,STRUCT_CACHE_VkPipelineColorBlendStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineColorBlendStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this._blendConstants=[...Array(4)].fill(0),this.sType=26,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.logicOpEnable&&(this.logicOpEnable=e.logicOpEnable),void 0!==e.logicOp&&(this.logicOp=e.logicOp),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.blendConstants&&(this.blendConstants=e.blendConstants))}function VkPipelineDynamicStateCreateInfo(e,t){if(new.target!==VkPipelineDynamicStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineDynamicStateCreateInfo,STRUCT_CACHE_VkPipelineDynamicStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineDynamicStateCreateInfo,STRUCT_CACHE_VkPipelineDynamicStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineDynamicStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDynamicStates=null,this.sType=27,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.dynamicStateCount&&(this.dynamicStateCount=e.dynamicStateCount),void 0!==e.pDynamicStates&&(this.pDynamicStates=e.pDynamicStates))}function VkStencilOpState(e,t){if(new.target!==VkStencilOpState){if("string"==typeof e){let t=getStructFromStack(e,VkStencilOpState,STRUCT_CACHE_VkStencilOpState);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkStencilOpState,STRUCT_CACHE_VkStencilOpState);return r.reset(e),r}throw new Error("Invalid Signature for 'VkStencilOpState'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,28)):(this.memoryBuffer=new ArrayBuffer(28),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,28)),"object"==typeof e&&(void 0!==e.failOp&&(this.failOp=e.failOp),void 0!==e.passOp&&(this.passOp=e.passOp),void 0!==e.depthFailOp&&(this.depthFailOp=e.depthFailOp),void 0!==e.compareOp&&(this.compareOp=e.compareOp),void 0!==e.compareMask&&(this.compareMask=e.compareMask),void 0!==e.writeMask&&(this.writeMask=e.writeMask),void 0!==e.reference&&(this.reference=e.reference))}function VkPipelineDepthStencilStateCreateInfo(e,t){if(new.target!==VkPipelineDepthStencilStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineDepthStencilStateCreateInfo,STRUCT_CACHE_VkPipelineDepthStencilStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineDepthStencilStateCreateInfo,STRUCT_CACHE_VkPipelineDepthStencilStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineDepthStencilStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,104)):(this.memoryBuffer=new ArrayBuffer(104),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,104)),this._pNext=null,this._front=new VkStencilOpState({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}),this._back=new VkStencilOpState({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+68}),this.sType=25,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.depthTestEnable&&(this.depthTestEnable=e.depthTestEnable),void 0!==e.depthWriteEnable&&(this.depthWriteEnable=e.depthWriteEnable),void 0!==e.depthCompareOp&&(this.depthCompareOp=e.depthCompareOp),void 0!==e.depthBoundsTestEnable&&(this.depthBoundsTestEnable=e.depthBoundsTestEnable),void 0!==e.stencilTestEnable&&(this.stencilTestEnable=e.stencilTestEnable),void 0!==e.front&&(this.front=e.front),void 0!==e.back&&(this.back=e.back),void 0!==e.minDepthBounds&&(this.minDepthBounds=e.minDepthBounds),void 0!==e.maxDepthBounds&&(this.maxDepthBounds=e.maxDepthBounds))}function VkGraphicsPipelineCreateInfo(e,t){if(new.target!==VkGraphicsPipelineCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkGraphicsPipelineCreateInfo,STRUCT_CACHE_VkGraphicsPipelineCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkGraphicsPipelineCreateInfo,STRUCT_CACHE_VkGraphicsPipelineCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkGraphicsPipelineCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,144)):(this.memoryBuffer=new ArrayBuffer(144),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,144)),this._pNext=null,this._pStages=null,this._pStagesNative=null,this._pVertexInputState=null,this._pInputAssemblyState=null,this._pTessellationState=null,this._pViewportState=null,this._pRasterizationState=null,this._pMultisampleState=null,this._pDepthStencilState=null,this._pColorBlendState=null,this._pDynamicState=null,this._layout=null,this._renderPass=null,this._basePipelineHandle=null,this.sType=28,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stageCount&&(this.stageCount=e.stageCount),void 0!==e.pStages&&(this.pStages=e.pStages),void 0!==e.pVertexInputState&&(this.pVertexInputState=e.pVertexInputState),void 0!==e.pInputAssemblyState&&(this.pInputAssemblyState=e.pInputAssemblyState),void 0!==e.pTessellationState&&(this.pTessellationState=e.pTessellationState),void 0!==e.pViewportState&&(this.pViewportState=e.pViewportState),void 0!==e.pRasterizationState&&(this.pRasterizationState=e.pRasterizationState),void 0!==e.pMultisampleState&&(this.pMultisampleState=e.pMultisampleState),void 0!==e.pDepthStencilState&&(this.pDepthStencilState=e.pDepthStencilState),void 0!==e.pColorBlendState&&(this.pColorBlendState=e.pColorBlendState),void 0!==e.pDynamicState&&(this.pDynamicState=e.pDynamicState),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.basePipelineHandle&&(this.basePipelineHandle=e.basePipelineHandle),void 0!==e.basePipelineIndex&&(this.basePipelineIndex=e.basePipelineIndex))}function VkPipelineCacheCreateInfo(e,t){if(new.target!==VkPipelineCacheCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCacheCreateInfo,STRUCT_CACHE_VkPipelineCacheCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCacheCreateInfo,STRUCT_CACHE_VkPipelineCacheCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCacheCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pInitialData=null,this.sType=17,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.initialDataSize&&(this.initialDataSize=e.initialDataSize),void 0!==e.pInitialData&&(this.pInitialData=e.pInitialData))}function VkPushConstantRange(e,t){if(new.target!==VkPushConstantRange){if("string"==typeof e){let t=getStructFromStack(e,VkPushConstantRange,STRUCT_CACHE_VkPushConstantRange);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPushConstantRange,STRUCT_CACHE_VkPushConstantRange);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPushConstantRange'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.stageFlags&&(this.stageFlags=e.stageFlags),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))}function VkPipelineLayoutCreateInfo(e,t){if(new.target!==VkPipelineLayoutCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineLayoutCreateInfo,STRUCT_CACHE_VkPipelineLayoutCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineLayoutCreateInfo,STRUCT_CACHE_VkPipelineLayoutCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineLayoutCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pSetLayouts=null,this._pSetLayoutsNative=null,this._pPushConstantRanges=null,this._pPushConstantRangesNative=null,this.sType=30,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.setLayoutCount&&(this.setLayoutCount=e.setLayoutCount),void 0!==e.pSetLayouts&&(this.pSetLayouts=e.pSetLayouts),void 0!==e.pushConstantRangeCount&&(this.pushConstantRangeCount=e.pushConstantRangeCount),void 0!==e.pPushConstantRanges&&(this.pPushConstantRanges=e.pPushConstantRanges))}function VkSamplerCreateInfo(e,t){if(new.target!==VkSamplerCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerCreateInfo,STRUCT_CACHE_VkSamplerCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerCreateInfo,STRUCT_CACHE_VkSamplerCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,80)):(this.memoryBuffer=new ArrayBuffer(80),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,80)),this._pNext=null,this.sType=31,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.magFilter&&(this.magFilter=e.magFilter),void 0!==e.minFilter&&(this.minFilter=e.minFilter),void 0!==e.mipmapMode&&(this.mipmapMode=e.mipmapMode),void 0!==e.addressModeU&&(this.addressModeU=e.addressModeU),void 0!==e.addressModeV&&(this.addressModeV=e.addressModeV),void 0!==e.addressModeW&&(this.addressModeW=e.addressModeW),void 0!==e.mipLodBias&&(this.mipLodBias=e.mipLodBias),void 0!==e.anisotropyEnable&&(this.anisotropyEnable=e.anisotropyEnable),void 0!==e.maxAnisotropy&&(this.maxAnisotropy=e.maxAnisotropy),void 0!==e.compareEnable&&(this.compareEnable=e.compareEnable),void 0!==e.compareOp&&(this.compareOp=e.compareOp),void 0!==e.minLod&&(this.minLod=e.minLod),void 0!==e.maxLod&&(this.maxLod=e.maxLod),void 0!==e.borderColor&&(this.borderColor=e.borderColor),void 0!==e.unnormalizedCoordinates&&(this.unnormalizedCoordinates=e.unnormalizedCoordinates))}function VkCommandPoolCreateInfo(e,t){if(new.target!==VkCommandPoolCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkCommandPoolCreateInfo,STRUCT_CACHE_VkCommandPoolCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCommandPoolCreateInfo,STRUCT_CACHE_VkCommandPoolCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCommandPoolCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=39,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.queueFamilyIndex&&(this.queueFamilyIndex=e.queueFamilyIndex))}function VkCommandBufferAllocateInfo(e,t){if(new.target!==VkCommandBufferAllocateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkCommandBufferAllocateInfo,STRUCT_CACHE_VkCommandBufferAllocateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCommandBufferAllocateInfo,STRUCT_CACHE_VkCommandBufferAllocateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCommandBufferAllocateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._commandPool=null,this.sType=40,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.commandPool&&(this.commandPool=e.commandPool),void 0!==e.level&&(this.level=e.level),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount))}function VkCommandBufferInheritanceInfo(e,t){if(new.target!==VkCommandBufferInheritanceInfo){if("string"==typeof e){let t=getStructFromStack(e,VkCommandBufferInheritanceInfo,STRUCT_CACHE_VkCommandBufferInheritanceInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCommandBufferInheritanceInfo,STRUCT_CACHE_VkCommandBufferInheritanceInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCommandBufferInheritanceInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._renderPass=null,this._framebuffer=null,this.sType=41,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.framebuffer&&(this.framebuffer=e.framebuffer),void 0!==e.occlusionQueryEnable&&(this.occlusionQueryEnable=e.occlusionQueryEnable),void 0!==e.queryFlags&&(this.queryFlags=e.queryFlags),void 0!==e.pipelineStatistics&&(this.pipelineStatistics=e.pipelineStatistics))}function VkCommandBufferBeginInfo(e,t){if(new.target!==VkCommandBufferBeginInfo){if("string"==typeof e){let t=getStructFromStack(e,VkCommandBufferBeginInfo,STRUCT_CACHE_VkCommandBufferBeginInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCommandBufferBeginInfo,STRUCT_CACHE_VkCommandBufferBeginInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCommandBufferBeginInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pInheritanceInfo=null,this.sType=42,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pInheritanceInfo&&(this.pInheritanceInfo=e.pInheritanceInfo))}function VkRenderPassBeginInfo(e,t){if(new.target!==VkRenderPassBeginInfo){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassBeginInfo,STRUCT_CACHE_VkRenderPassBeginInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassBeginInfo,STRUCT_CACHE_VkRenderPassBeginInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassBeginInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._renderPass=null,this._framebuffer=null,this._renderArea=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}),this._pClearValues=null,this._pClearValuesNative=null,this.sType=43,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.framebuffer&&(this.framebuffer=e.framebuffer),void 0!==e.renderArea&&(this.renderArea=e.renderArea),void 0!==e.clearValueCount&&(this.clearValueCount=e.clearValueCount),void 0!==e.pClearValues&&(this.pClearValues=e.pClearValues))}function VkClearDepthStencilValue(e,t){if(new.target!==VkClearDepthStencilValue){if("string"==typeof e){let t=getStructFromStack(e,VkClearDepthStencilValue,STRUCT_CACHE_VkClearDepthStencilValue);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkClearDepthStencilValue,STRUCT_CACHE_VkClearDepthStencilValue);return r.reset(e),r}throw new Error("Invalid Signature for 'VkClearDepthStencilValue'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.depth&&(this.depth=e.depth),void 0!==e.stencil&&(this.stencil=e.stencil))}function VkClearAttachment(e,t){if(new.target!==VkClearAttachment){if("string"==typeof e){let t=getStructFromStack(e,VkClearAttachment,STRUCT_CACHE_VkClearAttachment);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkClearAttachment,STRUCT_CACHE_VkClearAttachment);return r.reset(e),r}throw new Error("Invalid Signature for 'VkClearAttachment'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._clearValue=new VkClearValue({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.colorAttachment&&(this.colorAttachment=e.colorAttachment),void 0!==e.clearValue&&(this.clearValue=e.clearValue))}function VkAttachmentDescription(e,t){if(new.target!==VkAttachmentDescription){if("string"==typeof e){let t=getStructFromStack(e,VkAttachmentDescription,STRUCT_CACHE_VkAttachmentDescription);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAttachmentDescription,STRUCT_CACHE_VkAttachmentDescription);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAttachmentDescription'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,36)):(this.memoryBuffer=new ArrayBuffer(36),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,36)),"object"==typeof e&&(void 0!==e.flags&&(this.flags=e.flags),void 0!==e.format&&(this.format=e.format),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.loadOp&&(this.loadOp=e.loadOp),void 0!==e.storeOp&&(this.storeOp=e.storeOp),void 0!==e.stencilLoadOp&&(this.stencilLoadOp=e.stencilLoadOp),void 0!==e.stencilStoreOp&&(this.stencilStoreOp=e.stencilStoreOp),void 0!==e.initialLayout&&(this.initialLayout=e.initialLayout),void 0!==e.finalLayout&&(this.finalLayout=e.finalLayout))}function VkAttachmentReference(e,t){if(new.target!==VkAttachmentReference){if("string"==typeof e){let t=getStructFromStack(e,VkAttachmentReference,STRUCT_CACHE_VkAttachmentReference);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAttachmentReference,STRUCT_CACHE_VkAttachmentReference);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAttachmentReference'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.attachment&&(this.attachment=e.attachment),void 0!==e.layout&&(this.layout=e.layout))}function VkSubpassDescription(e,t){if(new.target!==VkSubpassDescription){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassDescription,STRUCT_CACHE_VkSubpassDescription);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassDescription,STRUCT_CACHE_VkSubpassDescription);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassDescription'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pInputAttachments=null,this._pInputAttachmentsNative=null,this._pColorAttachments=null,this._pColorAttachmentsNative=null,this._pResolveAttachments=null,this._pResolveAttachmentsNative=null,this._pDepthStencilAttachment=null,this._pPreserveAttachments=null,"object"==typeof e&&(void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.inputAttachmentCount&&(this.inputAttachmentCount=e.inputAttachmentCount),void 0!==e.pInputAttachments&&(this.pInputAttachments=e.pInputAttachments),void 0!==e.colorAttachmentCount&&(this.colorAttachmentCount=e.colorAttachmentCount),void 0!==e.pColorAttachments&&(this.pColorAttachments=e.pColorAttachments),void 0!==e.pResolveAttachments&&(this.pResolveAttachments=e.pResolveAttachments),void 0!==e.pDepthStencilAttachment&&(this.pDepthStencilAttachment=e.pDepthStencilAttachment),void 0!==e.preserveAttachmentCount&&(this.preserveAttachmentCount=e.preserveAttachmentCount),void 0!==e.pPreserveAttachments&&(this.pPreserveAttachments=e.pPreserveAttachments))}function VkSubpassDependency(e,t){if(new.target!==VkSubpassDependency){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassDependency,STRUCT_CACHE_VkSubpassDependency);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassDependency,STRUCT_CACHE_VkSubpassDependency);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassDependency'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,28)):(this.memoryBuffer=new ArrayBuffer(28),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,28)),"object"==typeof e&&(void 0!==e.srcSubpass&&(this.srcSubpass=e.srcSubpass),void 0!==e.dstSubpass&&(this.dstSubpass=e.dstSubpass),void 0!==e.srcStageMask&&(this.srcStageMask=e.srcStageMask),void 0!==e.dstStageMask&&(this.dstStageMask=e.dstStageMask),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.dependencyFlags&&(this.dependencyFlags=e.dependencyFlags))}function VkRenderPassCreateInfo(e,t){if(new.target!==VkRenderPassCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassCreateInfo,STRUCT_CACHE_VkRenderPassCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassCreateInfo,STRUCT_CACHE_VkRenderPassCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this._pSubpasses=null,this._pSubpassesNative=null,this._pDependencies=null,this._pDependenciesNative=null,this.sType=38,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pSubpasses&&(this.pSubpasses=e.pSubpasses),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pDependencies&&(this.pDependencies=e.pDependencies))}function VkEventCreateInfo(e,t){if(new.target!==VkEventCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkEventCreateInfo,STRUCT_CACHE_VkEventCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkEventCreateInfo,STRUCT_CACHE_VkEventCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkEventCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=10,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))}function VkFenceCreateInfo(e,t){if(new.target!==VkFenceCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkFenceCreateInfo,STRUCT_CACHE_VkFenceCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFenceCreateInfo,STRUCT_CACHE_VkFenceCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFenceCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=8,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))}function VkPhysicalDeviceFeatures(e,t){if(new.target!==VkPhysicalDeviceFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFeatures,STRUCT_CACHE_VkPhysicalDeviceFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFeatures,STRUCT_CACHE_VkPhysicalDeviceFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,220)):(this.memoryBuffer=new ArrayBuffer(220),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,220)),"object"==typeof e&&(void 0!==e.robustBufferAccess&&(this.robustBufferAccess=e.robustBufferAccess),void 0!==e.fullDrawIndexUint32&&(this.fullDrawIndexUint32=e.fullDrawIndexUint32),void 0!==e.imageCubeArray&&(this.imageCubeArray=e.imageCubeArray),void 0!==e.independentBlend&&(this.independentBlend=e.independentBlend),void 0!==e.geometryShader&&(this.geometryShader=e.geometryShader),void 0!==e.tessellationShader&&(this.tessellationShader=e.tessellationShader),void 0!==e.sampleRateShading&&(this.sampleRateShading=e.sampleRateShading),void 0!==e.dualSrcBlend&&(this.dualSrcBlend=e.dualSrcBlend),void 0!==e.logicOp&&(this.logicOp=e.logicOp),void 0!==e.multiDrawIndirect&&(this.multiDrawIndirect=e.multiDrawIndirect),void 0!==e.drawIndirectFirstInstance&&(this.drawIndirectFirstInstance=e.drawIndirectFirstInstance),void 0!==e.depthClamp&&(this.depthClamp=e.depthClamp),void 0!==e.depthBiasClamp&&(this.depthBiasClamp=e.depthBiasClamp),void 0!==e.fillModeNonSolid&&(this.fillModeNonSolid=e.fillModeNonSolid),void 0!==e.depthBounds&&(this.depthBounds=e.depthBounds),void 0!==e.wideLines&&(this.wideLines=e.wideLines),void 0!==e.largePoints&&(this.largePoints=e.largePoints),void 0!==e.alphaToOne&&(this.alphaToOne=e.alphaToOne),void 0!==e.multiViewport&&(this.multiViewport=e.multiViewport),void 0!==e.samplerAnisotropy&&(this.samplerAnisotropy=e.samplerAnisotropy),void 0!==e.textureCompressionETC2&&(this.textureCompressionETC2=e.textureCompressionETC2),void 0!==e.textureCompressionASTC_LDR&&(this.textureCompressionASTC_LDR=e.textureCompressionASTC_LDR),void 0!==e.textureCompressionBC&&(this.textureCompressionBC=e.textureCompressionBC),void 0!==e.occlusionQueryPrecise&&(this.occlusionQueryPrecise=e.occlusionQueryPrecise),void 0!==e.pipelineStatisticsQuery&&(this.pipelineStatisticsQuery=e.pipelineStatisticsQuery),void 0!==e.vertexPipelineStoresAndAtomics&&(this.vertexPipelineStoresAndAtomics=e.vertexPipelineStoresAndAtomics),void 0!==e.fragmentStoresAndAtomics&&(this.fragmentStoresAndAtomics=e.fragmentStoresAndAtomics),void 0!==e.shaderTessellationAndGeometryPointSize&&(this.shaderTessellationAndGeometryPointSize=e.shaderTessellationAndGeometryPointSize),void 0!==e.shaderImageGatherExtended&&(this.shaderImageGatherExtended=e.shaderImageGatherExtended),void 0!==e.shaderStorageImageExtendedFormats&&(this.shaderStorageImageExtendedFormats=e.shaderStorageImageExtendedFormats),void 0!==e.shaderStorageImageMultisample&&(this.shaderStorageImageMultisample=e.shaderStorageImageMultisample),void 0!==e.shaderStorageImageReadWithoutFormat&&(this.shaderStorageImageReadWithoutFormat=e.shaderStorageImageReadWithoutFormat),void 0!==e.shaderStorageImageWriteWithoutFormat&&(this.shaderStorageImageWriteWithoutFormat=e.shaderStorageImageWriteWithoutFormat),void 0!==e.shaderUniformBufferArrayDynamicIndexing&&(this.shaderUniformBufferArrayDynamicIndexing=e.shaderUniformBufferArrayDynamicIndexing),void 0!==e.shaderSampledImageArrayDynamicIndexing&&(this.shaderSampledImageArrayDynamicIndexing=e.shaderSampledImageArrayDynamicIndexing),void 0!==e.shaderStorageBufferArrayDynamicIndexing&&(this.shaderStorageBufferArrayDynamicIndexing=e.shaderStorageBufferArrayDynamicIndexing),void 0!==e.shaderStorageImageArrayDynamicIndexing&&(this.shaderStorageImageArrayDynamicIndexing=e.shaderStorageImageArrayDynamicIndexing),void 0!==e.shaderClipDistance&&(this.shaderClipDistance=e.shaderClipDistance),void 0!==e.shaderCullDistance&&(this.shaderCullDistance=e.shaderCullDistance),void 0!==e.shaderFloat64&&(this.shaderFloat64=e.shaderFloat64),void 0!==e.shaderInt64&&(this.shaderInt64=e.shaderInt64),void 0!==e.shaderInt16&&(this.shaderInt16=e.shaderInt16),void 0!==e.shaderResourceResidency&&(this.shaderResourceResidency=e.shaderResourceResidency),void 0!==e.shaderResourceMinLod&&(this.shaderResourceMinLod=e.shaderResourceMinLod),void 0!==e.sparseBinding&&(this.sparseBinding=e.sparseBinding),void 0!==e.sparseResidencyBuffer&&(this.sparseResidencyBuffer=e.sparseResidencyBuffer),void 0!==e.sparseResidencyImage2D&&(this.sparseResidencyImage2D=e.sparseResidencyImage2D),void 0!==e.sparseResidencyImage3D&&(this.sparseResidencyImage3D=e.sparseResidencyImage3D),void 0!==e.sparseResidency2Samples&&(this.sparseResidency2Samples=e.sparseResidency2Samples),void 0!==e.sparseResidency4Samples&&(this.sparseResidency4Samples=e.sparseResidency4Samples),void 0!==e.sparseResidency8Samples&&(this.sparseResidency8Samples=e.sparseResidency8Samples),void 0!==e.sparseResidency16Samples&&(this.sparseResidency16Samples=e.sparseResidency16Samples),void 0!==e.sparseResidencyAliased&&(this.sparseResidencyAliased=e.sparseResidencyAliased),void 0!==e.variableMultisampleRate&&(this.variableMultisampleRate=e.variableMultisampleRate),void 0!==e.inheritedQueries&&(this.inheritedQueries=e.inheritedQueries))}function VkPhysicalDeviceSparseProperties(e,t){if(new.target!==VkPhysicalDeviceSparseProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSparseProperties,STRUCT_CACHE_VkPhysicalDeviceSparseProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSparseProperties,STRUCT_CACHE_VkPhysicalDeviceSparseProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSparseProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,20)):(this.memoryBuffer=new ArrayBuffer(20),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,20))}function VkPhysicalDeviceLimits(e,t){if(new.target!==VkPhysicalDeviceLimits){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceLimits,STRUCT_CACHE_VkPhysicalDeviceLimits);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceLimits,STRUCT_CACHE_VkPhysicalDeviceLimits);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceLimits'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,504)):(this.memoryBuffer=new ArrayBuffer(504),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,504)),this._maxComputeWorkGroupCount=[...Array(3)].fill(0),this._maxComputeWorkGroupSize=[...Array(3)].fill(0),this._maxViewportDimensions=[...Array(2)].fill(0),this._viewportBoundsRange=[...Array(2)].fill(0),this._pointSizeRange=[...Array(2)].fill(0),this._lineWidthRange=[...Array(2)].fill(0)}function VkSemaphoreCreateInfo(e,t){if(new.target!==VkSemaphoreCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSemaphoreCreateInfo,STRUCT_CACHE_VkSemaphoreCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSemaphoreCreateInfo,STRUCT_CACHE_VkSemaphoreCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSemaphoreCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=9,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))}function VkQueryPoolCreateInfo(e,t){if(new.target!==VkQueryPoolCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkQueryPoolCreateInfo,STRUCT_CACHE_VkQueryPoolCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkQueryPoolCreateInfo,STRUCT_CACHE_VkQueryPoolCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkQueryPoolCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=11,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.queryType&&(this.queryType=e.queryType),void 0!==e.queryCount&&(this.queryCount=e.queryCount),void 0!==e.pipelineStatistics&&(this.pipelineStatistics=e.pipelineStatistics))}function VkFramebufferCreateInfo(e,t){if(new.target!==VkFramebufferCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkFramebufferCreateInfo,STRUCT_CACHE_VkFramebufferCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFramebufferCreateInfo,STRUCT_CACHE_VkFramebufferCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFramebufferCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._renderPass=null,this._pAttachments=null,this._pAttachmentsNative=null,this.sType=37,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height),void 0!==e.layers&&(this.layers=e.layers))}function VkDrawIndirectCommand(e,t){if(new.target!==VkDrawIndirectCommand){if("string"==typeof e){let t=getStructFromStack(e,VkDrawIndirectCommand,STRUCT_CACHE_VkDrawIndirectCommand);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDrawIndirectCommand,STRUCT_CACHE_VkDrawIndirectCommand);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDrawIndirectCommand'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.vertexCount&&(this.vertexCount=e.vertexCount),void 0!==e.instanceCount&&(this.instanceCount=e.instanceCount),void 0!==e.firstVertex&&(this.firstVertex=e.firstVertex),void 0!==e.firstInstance&&(this.firstInstance=e.firstInstance))}function VkDrawIndexedIndirectCommand(e,t){if(new.target!==VkDrawIndexedIndirectCommand){if("string"==typeof e){let t=getStructFromStack(e,VkDrawIndexedIndirectCommand,STRUCT_CACHE_VkDrawIndexedIndirectCommand);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDrawIndexedIndirectCommand,STRUCT_CACHE_VkDrawIndexedIndirectCommand);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDrawIndexedIndirectCommand'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,20)):(this.memoryBuffer=new ArrayBuffer(20),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,20)),"object"==typeof e&&(void 0!==e.indexCount&&(this.indexCount=e.indexCount),void 0!==e.instanceCount&&(this.instanceCount=e.instanceCount),void 0!==e.firstIndex&&(this.firstIndex=e.firstIndex),void 0!==e.vertexOffset&&(this.vertexOffset=e.vertexOffset),void 0!==e.firstInstance&&(this.firstInstance=e.firstInstance))}function VkDispatchIndirectCommand(e,t){if(new.target!==VkDispatchIndirectCommand){if("string"==typeof e){let t=getStructFromStack(e,VkDispatchIndirectCommand,STRUCT_CACHE_VkDispatchIndirectCommand);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDispatchIndirectCommand,STRUCT_CACHE_VkDispatchIndirectCommand);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDispatchIndirectCommand'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.z&&(this.z=e.z))}function VkSubmitInfo(e,t){if(new.target!==VkSubmitInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSubmitInfo,STRUCT_CACHE_VkSubmitInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubmitInfo,STRUCT_CACHE_VkSubmitInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubmitInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._pWaitSemaphores=null,this._pWaitSemaphoresNative=null,this._pWaitDstStageMask=null,this._pCommandBuffers=null,this._pCommandBuffersNative=null,this._pSignalSemaphores=null,this._pSignalSemaphoresNative=null,this.sType=4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphores&&(this.pWaitSemaphores=e.pWaitSemaphores),void 0!==e.pWaitDstStageMask&&(this.pWaitDstStageMask=e.pWaitDstStageMask),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount),void 0!==e.pCommandBuffers&&(this.pCommandBuffers=e.pCommandBuffers),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphores&&(this.pSignalSemaphores=e.pSignalSemaphores))}function VkDisplayPropertiesKHR(e,t){if(new.target!==VkDisplayPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPropertiesKHR,STRUCT_CACHE_VkDisplayPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPropertiesKHR,STRUCT_CACHE_VkDisplayPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._display=null,this._displayName=null,this._physicalDimensions=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._physicalResolution=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24})}function VkDisplayPlanePropertiesKHR(e,t){if(new.target!==VkDisplayPlanePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPlanePropertiesKHR,STRUCT_CACHE_VkDisplayPlanePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPlanePropertiesKHR,STRUCT_CACHE_VkDisplayPlanePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPlanePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._currentDisplay=null}function VkDisplayModeParametersKHR(e,t){if(new.target!==VkDisplayModeParametersKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayModeParametersKHR,STRUCT_CACHE_VkDisplayModeParametersKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayModeParametersKHR,STRUCT_CACHE_VkDisplayModeParametersKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayModeParametersKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),this._visibleRegion=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),"object"==typeof e&&(void 0!==e.visibleRegion&&(this.visibleRegion=e.visibleRegion),void 0!==e.refreshRate&&(this.refreshRate=e.refreshRate))}function VkDisplayModePropertiesKHR(e,t){if(new.target!==VkDisplayModePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayModePropertiesKHR,STRUCT_CACHE_VkDisplayModePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayModePropertiesKHR,STRUCT_CACHE_VkDisplayModePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayModePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._displayMode=null,this._parameters=new VkDisplayModeParametersKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8})}function VkDisplayModeCreateInfoKHR(e,t){if(new.target!==VkDisplayModeCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayModeCreateInfoKHR,STRUCT_CACHE_VkDisplayModeCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayModeCreateInfoKHR,STRUCT_CACHE_VkDisplayModeCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayModeCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._parameters=new VkDisplayModeParametersKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}),this.sType=1000002e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.parameters&&(this.parameters=e.parameters))}function VkDisplayPlaneCapabilitiesKHR(e,t){if(new.target!==VkDisplayPlaneCapabilitiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPlaneCapabilitiesKHR,STRUCT_CACHE_VkDisplayPlaneCapabilitiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPlaneCapabilitiesKHR,STRUCT_CACHE_VkDisplayPlaneCapabilitiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPlaneCapabilitiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,68)):(this.memoryBuffer=new ArrayBuffer(68),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,68)),this._minSrcPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+4}),this._maxSrcPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+12}),this._minSrcExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}),this._maxSrcExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}),this._minDstPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+36}),this._maxDstPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}),this._minDstExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+52}),this._maxDstExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+60})}function VkDisplaySurfaceCreateInfoKHR(e,t){if(new.target!==VkDisplaySurfaceCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplaySurfaceCreateInfoKHR,STRUCT_CACHE_VkDisplaySurfaceCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplaySurfaceCreateInfoKHR,STRUCT_CACHE_VkDisplaySurfaceCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplaySurfaceCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._displayMode=null,this._imageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+52}),this.sType=1000002001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.displayMode&&(this.displayMode=e.displayMode),void 0!==e.planeIndex&&(this.planeIndex=e.planeIndex),void 0!==e.planeStackIndex&&(this.planeStackIndex=e.planeStackIndex),void 0!==e.transform&&(this.transform=e.transform),void 0!==e.globalAlpha&&(this.globalAlpha=e.globalAlpha),void 0!==e.alphaMode&&(this.alphaMode=e.alphaMode),void 0!==e.imageExtent&&(this.imageExtent=e.imageExtent))}function VkDisplayPresentInfoKHR(e,t){if(new.target!==VkDisplayPresentInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPresentInfoKHR,STRUCT_CACHE_VkDisplayPresentInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPresentInfoKHR,STRUCT_CACHE_VkDisplayPresentInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPresentInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._srcRect=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._dstRect=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}),this.sType=1000003e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcRect&&(this.srcRect=e.srcRect),void 0!==e.dstRect&&(this.dstRect=e.dstRect),void 0!==e.persistent&&(this.persistent=e.persistent))}function VkSurfaceCapabilitiesKHR(e,t){if(new.target!==VkSurfaceCapabilitiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceCapabilitiesKHR,STRUCT_CACHE_VkSurfaceCapabilitiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceCapabilitiesKHR,STRUCT_CACHE_VkSurfaceCapabilitiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceCapabilitiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,52)):(this.memoryBuffer=new ArrayBuffer(52),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,52)),this._currentExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),this._minImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._maxImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24})}function VkWin32SurfaceCreateInfoKHR(e,t){if(new.target!==VkWin32SurfaceCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkWin32SurfaceCreateInfoKHR,STRUCT_CACHE_VkWin32SurfaceCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkWin32SurfaceCreateInfoKHR,STRUCT_CACHE_VkWin32SurfaceCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkWin32SurfaceCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000009e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.hinstance&&(this.hinstance=e.hinstance),void 0!==e.hwnd&&(this.hwnd=e.hwnd))}function VkSurfaceFormatKHR(e,t){if(new.target!==VkSurfaceFormatKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceFormatKHR,STRUCT_CACHE_VkSurfaceFormatKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceFormatKHR,STRUCT_CACHE_VkSurfaceFormatKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceFormatKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8))}function VkSwapchainCreateInfoKHR(e,t){if(new.target!==VkSwapchainCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSwapchainCreateInfoKHR,STRUCT_CACHE_VkSwapchainCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSwapchainCreateInfoKHR,STRUCT_CACHE_VkSwapchainCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSwapchainCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,104)):(this.memoryBuffer=new ArrayBuffer(104),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,104)),this._pNext=null,this._surface=null,this._imageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}),this._pQueueFamilyIndices=null,this._oldSwapchain=null,this.sType=1000001e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.surface&&(this.surface=e.surface),void 0!==e.minImageCount&&(this.minImageCount=e.minImageCount),void 0!==e.imageFormat&&(this.imageFormat=e.imageFormat),void 0!==e.imageColorSpace&&(this.imageColorSpace=e.imageColorSpace),void 0!==e.imageExtent&&(this.imageExtent=e.imageExtent),void 0!==e.imageArrayLayers&&(this.imageArrayLayers=e.imageArrayLayers),void 0!==e.imageUsage&&(this.imageUsage=e.imageUsage),void 0!==e.imageSharingMode&&(this.imageSharingMode=e.imageSharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices),void 0!==e.preTransform&&(this.preTransform=e.preTransform),void 0!==e.compositeAlpha&&(this.compositeAlpha=e.compositeAlpha),void 0!==e.presentMode&&(this.presentMode=e.presentMode),void 0!==e.clipped&&(this.clipped=e.clipped),void 0!==e.oldSwapchain&&(this.oldSwapchain=e.oldSwapchain))}function VkPresentInfoKHR(e,t){if(new.target!==VkPresentInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPresentInfoKHR,STRUCT_CACHE_VkPresentInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPresentInfoKHR,STRUCT_CACHE_VkPresentInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPresentInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._pWaitSemaphores=null,this._pWaitSemaphoresNative=null,this._pSwapchains=null,this._pSwapchainsNative=null,this._pImageIndices=null,this._pResults=null,this.sType=1000001001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphores&&(this.pWaitSemaphores=e.pWaitSemaphores),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pSwapchains&&(this.pSwapchains=e.pSwapchains),void 0!==e.pImageIndices&&(this.pImageIndices=e.pImageIndices),void 0!==e.pResults&&(this.pResults=e.pResults))}function VkDebugReportCallbackCreateInfoEXT(e,t){if(new.target!==VkDebugReportCallbackCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugReportCallbackCreateInfoEXT,STRUCT_CACHE_VkDebugReportCallbackCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugReportCallbackCreateInfoEXT,STRUCT_CACHE_VkDebugReportCallbackCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugReportCallbackCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pfnCallback=null,this._pfnCallbackCallbackProxy=null,this._pUserData=null,this.sType=1000011e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pfnCallback&&(this.pfnCallback=e.pfnCallback),void 0!==e.pUserData&&(this.pUserData=e.pUserData))}function VkValidationFlagsEXT(e,t){if(new.target!==VkValidationFlagsEXT){if("string"==typeof e){let t=getStructFromStack(e,VkValidationFlagsEXT,STRUCT_CACHE_VkValidationFlagsEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkValidationFlagsEXT,STRUCT_CACHE_VkValidationFlagsEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkValidationFlagsEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDisabledValidationChecks=null,this.sType=1000061e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.disabledValidationCheckCount&&(this.disabledValidationCheckCount=e.disabledValidationCheckCount),void 0!==e.pDisabledValidationChecks&&(this.pDisabledValidationChecks=e.pDisabledValidationChecks))}function VkValidationFeaturesEXT(e,t){if(new.target!==VkValidationFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkValidationFeaturesEXT,STRUCT_CACHE_VkValidationFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkValidationFeaturesEXT,STRUCT_CACHE_VkValidationFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkValidationFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pEnabledValidationFeatures=null,this._pDisabledValidationFeatures=null,this.sType=1000247e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.enabledValidationFeatureCount&&(this.enabledValidationFeatureCount=e.enabledValidationFeatureCount),void 0!==e.pEnabledValidationFeatures&&(this.pEnabledValidationFeatures=e.pEnabledValidationFeatures),void 0!==e.disabledValidationFeatureCount&&(this.disabledValidationFeatureCount=e.disabledValidationFeatureCount),void 0!==e.pDisabledValidationFeatures&&(this.pDisabledValidationFeatures=e.pDisabledValidationFeatures))}function VkPipelineRasterizationStateRasterizationOrderAMD(e,t){if(new.target!==VkPipelineRasterizationStateRasterizationOrderAMD){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRasterizationStateRasterizationOrderAMD,STRUCT_CACHE_VkPipelineRasterizationStateRasterizationOrderAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRasterizationStateRasterizationOrderAMD,STRUCT_CACHE_VkPipelineRasterizationStateRasterizationOrderAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRasterizationStateRasterizationOrderAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000018e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.rasterizationOrder&&(this.rasterizationOrder=e.rasterizationOrder))}function VkDebugMarkerObjectNameInfoEXT(e,t){if(new.target!==VkDebugMarkerObjectNameInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugMarkerObjectNameInfoEXT,STRUCT_CACHE_VkDebugMarkerObjectNameInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugMarkerObjectNameInfoEXT,STRUCT_CACHE_VkDebugMarkerObjectNameInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugMarkerObjectNameInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pObjectName=null,this.sType=1000022e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectType&&(this.objectType=e.objectType),void 0!==e.object&&(this.object=e.object),void 0!==e.pObjectName&&(this.pObjectName=e.pObjectName))}function VkDebugMarkerObjectTagInfoEXT(e,t){if(new.target!==VkDebugMarkerObjectTagInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugMarkerObjectTagInfoEXT,STRUCT_CACHE_VkDebugMarkerObjectTagInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugMarkerObjectTagInfoEXT,STRUCT_CACHE_VkDebugMarkerObjectTagInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugMarkerObjectTagInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._pTag=null,this.sType=1000022001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectType&&(this.objectType=e.objectType),void 0!==e.object&&(this.object=e.object),void 0!==e.tagName&&(this.tagName=e.tagName),void 0!==e.tagSize&&(this.tagSize=e.tagSize),void 0!==e.pTag&&(this.pTag=e.pTag))}function VkDebugMarkerMarkerInfoEXT(e,t){if(new.target!==VkDebugMarkerMarkerInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugMarkerMarkerInfoEXT,STRUCT_CACHE_VkDebugMarkerMarkerInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugMarkerMarkerInfoEXT,STRUCT_CACHE_VkDebugMarkerMarkerInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugMarkerMarkerInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pMarkerName=null,this._color=[...Array(4)].fill(0),this.sType=1000022002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pMarkerName&&(this.pMarkerName=e.pMarkerName),void 0!==e.color&&(this.color=e.color))}function VkDedicatedAllocationImageCreateInfoNV(e,t){if(new.target!==VkDedicatedAllocationImageCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkDedicatedAllocationImageCreateInfoNV,STRUCT_CACHE_VkDedicatedAllocationImageCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDedicatedAllocationImageCreateInfoNV,STRUCT_CACHE_VkDedicatedAllocationImageCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDedicatedAllocationImageCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000026e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dedicatedAllocation&&(this.dedicatedAllocation=e.dedicatedAllocation))}function VkDedicatedAllocationBufferCreateInfoNV(e,t){if(new.target!==VkDedicatedAllocationBufferCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkDedicatedAllocationBufferCreateInfoNV,STRUCT_CACHE_VkDedicatedAllocationBufferCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDedicatedAllocationBufferCreateInfoNV,STRUCT_CACHE_VkDedicatedAllocationBufferCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDedicatedAllocationBufferCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000026001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dedicatedAllocation&&(this.dedicatedAllocation=e.dedicatedAllocation))}function VkDedicatedAllocationMemoryAllocateInfoNV(e,t){if(new.target!==VkDedicatedAllocationMemoryAllocateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkDedicatedAllocationMemoryAllocateInfoNV,STRUCT_CACHE_VkDedicatedAllocationMemoryAllocateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDedicatedAllocationMemoryAllocateInfoNV,STRUCT_CACHE_VkDedicatedAllocationMemoryAllocateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDedicatedAllocationMemoryAllocateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._image=null,this._buffer=null,this.sType=1000026002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkExternalImageFormatPropertiesNV(e,t){if(new.target!==VkExternalImageFormatPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkExternalImageFormatPropertiesNV,STRUCT_CACHE_VkExternalImageFormatPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalImageFormatPropertiesNV,STRUCT_CACHE_VkExternalImageFormatPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalImageFormatPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._imageFormatProperties=new VkImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0})}function VkExternalMemoryImageCreateInfoNV(e,t){if(new.target!==VkExternalMemoryImageCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryImageCreateInfoNV,STRUCT_CACHE_VkExternalMemoryImageCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryImageCreateInfoNV,STRUCT_CACHE_VkExternalMemoryImageCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryImageCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000056e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExportMemoryAllocateInfoNV(e,t){if(new.target!==VkExportMemoryAllocateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkExportMemoryAllocateInfoNV,STRUCT_CACHE_VkExportMemoryAllocateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportMemoryAllocateInfoNV,STRUCT_CACHE_VkExportMemoryAllocateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportMemoryAllocateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000056001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkImportMemoryWin32HandleInfoNV(e,t){if(new.target!==VkImportMemoryWin32HandleInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkImportMemoryWin32HandleInfoNV,STRUCT_CACHE_VkImportMemoryWin32HandleInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportMemoryWin32HandleInfoNV,STRUCT_CACHE_VkImportMemoryWin32HandleInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportMemoryWin32HandleInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000057e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle))}function VkExportMemoryWin32HandleInfoNV(e,t){if(new.target!==VkExportMemoryWin32HandleInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkExportMemoryWin32HandleInfoNV,STRUCT_CACHE_VkExportMemoryWin32HandleInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportMemoryWin32HandleInfoNV,STRUCT_CACHE_VkExportMemoryWin32HandleInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportMemoryWin32HandleInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000057001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess))}function VkWin32KeyedMutexAcquireReleaseInfoNV(e,t){if(new.target!==VkWin32KeyedMutexAcquireReleaseInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkWin32KeyedMutexAcquireReleaseInfoNV,STRUCT_CACHE_VkWin32KeyedMutexAcquireReleaseInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkWin32KeyedMutexAcquireReleaseInfoNV,STRUCT_CACHE_VkWin32KeyedMutexAcquireReleaseInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkWin32KeyedMutexAcquireReleaseInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._pAcquireSyncs=null,this._pAcquireSyncsNative=null,this._pAcquireKeys=null,this._pAcquireTimeoutMilliseconds=null,this._pReleaseSyncs=null,this._pReleaseSyncsNative=null,this._pReleaseKeys=null,this.sType=1000058e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.acquireCount&&(this.acquireCount=e.acquireCount),void 0!==e.pAcquireSyncs&&(this.pAcquireSyncs=e.pAcquireSyncs),void 0!==e.pAcquireKeys&&(this.pAcquireKeys=e.pAcquireKeys),void 0!==e.pAcquireTimeoutMilliseconds&&(this.pAcquireTimeoutMilliseconds=e.pAcquireTimeoutMilliseconds),void 0!==e.releaseCount&&(this.releaseCount=e.releaseCount),void 0!==e.pReleaseSyncs&&(this.pReleaseSyncs=e.pReleaseSyncs),void 0!==e.pReleaseKeys&&(this.pReleaseKeys=e.pReleaseKeys))}function VkDeviceGeneratedCommandsFeaturesNVX(e,t){if(new.target!==VkDeviceGeneratedCommandsFeaturesNVX){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGeneratedCommandsFeaturesNVX,STRUCT_CACHE_VkDeviceGeneratedCommandsFeaturesNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGeneratedCommandsFeaturesNVX,STRUCT_CACHE_VkDeviceGeneratedCommandsFeaturesNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGeneratedCommandsFeaturesNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000086005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.computeBindingPointSupport&&(this.computeBindingPointSupport=e.computeBindingPointSupport))}function VkDeviceGeneratedCommandsLimitsNVX(e,t){if(new.target!==VkDeviceGeneratedCommandsLimitsNVX){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGeneratedCommandsLimitsNVX,STRUCT_CACHE_VkDeviceGeneratedCommandsLimitsNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGeneratedCommandsLimitsNVX,STRUCT_CACHE_VkDeviceGeneratedCommandsLimitsNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGeneratedCommandsLimitsNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000086004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.maxIndirectCommandsLayoutTokenCount&&(this.maxIndirectCommandsLayoutTokenCount=e.maxIndirectCommandsLayoutTokenCount),void 0!==e.maxObjectEntryCounts&&(this.maxObjectEntryCounts=e.maxObjectEntryCounts),void 0!==e.minSequenceCountBufferOffsetAlignment&&(this.minSequenceCountBufferOffsetAlignment=e.minSequenceCountBufferOffsetAlignment),void 0!==e.minSequenceIndexBufferOffsetAlignment&&(this.minSequenceIndexBufferOffsetAlignment=e.minSequenceIndexBufferOffsetAlignment),void 0!==e.minCommandsTokenBufferOffsetAlignment&&(this.minCommandsTokenBufferOffsetAlignment=e.minCommandsTokenBufferOffsetAlignment))}function VkIndirectCommandsTokenNVX(e,t){if(new.target!==VkIndirectCommandsTokenNVX){if("string"==typeof e){let t=getStructFromStack(e,VkIndirectCommandsTokenNVX,STRUCT_CACHE_VkIndirectCommandsTokenNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkIndirectCommandsTokenNVX,STRUCT_CACHE_VkIndirectCommandsTokenNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkIndirectCommandsTokenNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._buffer=null,"object"==typeof e&&(void 0!==e.tokenType&&(this.tokenType=e.tokenType),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset))}function VkIndirectCommandsLayoutTokenNVX(e,t){if(new.target!==VkIndirectCommandsLayoutTokenNVX){if("string"==typeof e){let t=getStructFromStack(e,VkIndirectCommandsLayoutTokenNVX,STRUCT_CACHE_VkIndirectCommandsLayoutTokenNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkIndirectCommandsLayoutTokenNVX,STRUCT_CACHE_VkIndirectCommandsLayoutTokenNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkIndirectCommandsLayoutTokenNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.tokenType&&(this.tokenType=e.tokenType),void 0!==e.bindingUnit&&(this.bindingUnit=e.bindingUnit),void 0!==e.dynamicCount&&(this.dynamicCount=e.dynamicCount),void 0!==e.divisor&&(this.divisor=e.divisor))}function VkIndirectCommandsLayoutCreateInfoNVX(e,t){if(new.target!==VkIndirectCommandsLayoutCreateInfoNVX){if("string"==typeof e){let t=getStructFromStack(e,VkIndirectCommandsLayoutCreateInfoNVX,STRUCT_CACHE_VkIndirectCommandsLayoutCreateInfoNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkIndirectCommandsLayoutCreateInfoNVX,STRUCT_CACHE_VkIndirectCommandsLayoutCreateInfoNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkIndirectCommandsLayoutCreateInfoNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pTokens=null,this._pTokensNative=null,this.sType=1000086001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.tokenCount&&(this.tokenCount=e.tokenCount),void 0!==e.pTokens&&(this.pTokens=e.pTokens))}function VkCmdProcessCommandsInfoNVX(e,t){if(new.target!==VkCmdProcessCommandsInfoNVX){if("string"==typeof e){let t=getStructFromStack(e,VkCmdProcessCommandsInfoNVX,STRUCT_CACHE_VkCmdProcessCommandsInfoNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCmdProcessCommandsInfoNVX,STRUCT_CACHE_VkCmdProcessCommandsInfoNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCmdProcessCommandsInfoNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,96)):(this.memoryBuffer=new ArrayBuffer(96),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,96)),this._pNext=null,this._objectTable=null,this._indirectCommandsLayout=null,this._pIndirectCommandsTokens=null,this._pIndirectCommandsTokensNative=null,this._targetCommandBuffer=null,this._sequencesCountBuffer=null,this._sequencesIndexBuffer=null,this.sType=1000086002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectTable&&(this.objectTable=e.objectTable),void 0!==e.indirectCommandsLayout&&(this.indirectCommandsLayout=e.indirectCommandsLayout),void 0!==e.indirectCommandsTokenCount&&(this.indirectCommandsTokenCount=e.indirectCommandsTokenCount),void 0!==e.pIndirectCommandsTokens&&(this.pIndirectCommandsTokens=e.pIndirectCommandsTokens),void 0!==e.maxSequencesCount&&(this.maxSequencesCount=e.maxSequencesCount),void 0!==e.targetCommandBuffer&&(this.targetCommandBuffer=e.targetCommandBuffer),void 0!==e.sequencesCountBuffer&&(this.sequencesCountBuffer=e.sequencesCountBuffer),void 0!==e.sequencesCountOffset&&(this.sequencesCountOffset=e.sequencesCountOffset),void 0!==e.sequencesIndexBuffer&&(this.sequencesIndexBuffer=e.sequencesIndexBuffer),void 0!==e.sequencesIndexOffset&&(this.sequencesIndexOffset=e.sequencesIndexOffset))}function VkCmdReserveSpaceForCommandsInfoNVX(e,t){if(new.target!==VkCmdReserveSpaceForCommandsInfoNVX){if("string"==typeof e){let t=getStructFromStack(e,VkCmdReserveSpaceForCommandsInfoNVX,STRUCT_CACHE_VkCmdReserveSpaceForCommandsInfoNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCmdReserveSpaceForCommandsInfoNVX,STRUCT_CACHE_VkCmdReserveSpaceForCommandsInfoNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCmdReserveSpaceForCommandsInfoNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._objectTable=null,this._indirectCommandsLayout=null,this.sType=1000086003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectTable&&(this.objectTable=e.objectTable),void 0!==e.indirectCommandsLayout&&(this.indirectCommandsLayout=e.indirectCommandsLayout),void 0!==e.maxSequencesCount&&(this.maxSequencesCount=e.maxSequencesCount))}function VkObjectTableCreateInfoNVX(e,t){if(new.target!==VkObjectTableCreateInfoNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTableCreateInfoNVX,STRUCT_CACHE_VkObjectTableCreateInfoNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTableCreateInfoNVX,STRUCT_CACHE_VkObjectTableCreateInfoNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTableCreateInfoNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._pObjectEntryTypes=null,this._pObjectEntryCounts=null,this._pObjectEntryUsageFlags=null,this.sType=1000086e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectCount&&(this.objectCount=e.objectCount),void 0!==e.pObjectEntryTypes&&(this.pObjectEntryTypes=e.pObjectEntryTypes),void 0!==e.pObjectEntryCounts&&(this.pObjectEntryCounts=e.pObjectEntryCounts),void 0!==e.pObjectEntryUsageFlags&&(this.pObjectEntryUsageFlags=e.pObjectEntryUsageFlags),void 0!==e.maxUniformBuffersPerDescriptor&&(this.maxUniformBuffersPerDescriptor=e.maxUniformBuffersPerDescriptor),void 0!==e.maxStorageBuffersPerDescriptor&&(this.maxStorageBuffersPerDescriptor=e.maxStorageBuffersPerDescriptor),void 0!==e.maxStorageImagesPerDescriptor&&(this.maxStorageImagesPerDescriptor=e.maxStorageImagesPerDescriptor),void 0!==e.maxSampledImagesPerDescriptor&&(this.maxSampledImagesPerDescriptor=e.maxSampledImagesPerDescriptor),void 0!==e.maxPipelineLayouts&&(this.maxPipelineLayouts=e.maxPipelineLayouts))}function VkObjectTableEntryNVX(e,t){if(new.target!==VkObjectTableEntryNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTableEntryNVX,STRUCT_CACHE_VkObjectTableEntryNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTableEntryNVX,STRUCT_CACHE_VkObjectTableEntryNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTableEntryNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags))}function VkObjectTablePipelineEntryNVX(e,t){if(new.target!==VkObjectTablePipelineEntryNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTablePipelineEntryNVX,STRUCT_CACHE_VkObjectTablePipelineEntryNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTablePipelineEntryNVX,STRUCT_CACHE_VkObjectTablePipelineEntryNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTablePipelineEntryNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._pipeline=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipeline&&(this.pipeline=e.pipeline))}function VkObjectTableDescriptorSetEntryNVX(e,t){if(new.target!==VkObjectTableDescriptorSetEntryNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTableDescriptorSetEntryNVX,STRUCT_CACHE_VkObjectTableDescriptorSetEntryNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTableDescriptorSetEntryNVX,STRUCT_CACHE_VkObjectTableDescriptorSetEntryNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTableDescriptorSetEntryNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pipelineLayout=null,this._descriptorSet=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.descriptorSet&&(this.descriptorSet=e.descriptorSet))}function VkObjectTableVertexBufferEntryNVX(e,t){if(new.target!==VkObjectTableVertexBufferEntryNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTableVertexBufferEntryNVX,STRUCT_CACHE_VkObjectTableVertexBufferEntryNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTableVertexBufferEntryNVX,STRUCT_CACHE_VkObjectTableVertexBufferEntryNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTableVertexBufferEntryNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._buffer=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkObjectTableIndexBufferEntryNVX(e,t){if(new.target!==VkObjectTableIndexBufferEntryNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTableIndexBufferEntryNVX,STRUCT_CACHE_VkObjectTableIndexBufferEntryNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTableIndexBufferEntryNVX,STRUCT_CACHE_VkObjectTableIndexBufferEntryNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTableIndexBufferEntryNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._buffer=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.indexType&&(this.indexType=e.indexType))}function VkObjectTablePushConstantEntryNVX(e,t){if(new.target!==VkObjectTablePushConstantEntryNVX){if("string"==typeof e){let t=getStructFromStack(e,VkObjectTablePushConstantEntryNVX,STRUCT_CACHE_VkObjectTablePushConstantEntryNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkObjectTablePushConstantEntryNVX,STRUCT_CACHE_VkObjectTablePushConstantEntryNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkObjectTablePushConstantEntryNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pipelineLayout=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.stageFlags&&(this.stageFlags=e.stageFlags))}function VkPhysicalDeviceFeatures2(e,t){if(new.target!==VkPhysicalDeviceFeatures2){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFeatures2,STRUCT_CACHE_VkPhysicalDeviceFeatures2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFeatures2,STRUCT_CACHE_VkPhysicalDeviceFeatures2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFeatures2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,240)):(this.memoryBuffer=new ArrayBuffer(240),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,240)),this._pNext=null,this._features=new VkPhysicalDeviceFeatures({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.features&&(this.features=e.features))}function VkPhysicalDeviceFeatures2KHR(e,t){if(new.target!==VkPhysicalDeviceFeatures2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFeatures2KHR,STRUCT_CACHE_VkPhysicalDeviceFeatures2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFeatures2KHR,STRUCT_CACHE_VkPhysicalDeviceFeatures2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFeatures2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,240)):(this.memoryBuffer=new ArrayBuffer(240),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,240)),this._pNext=null,this._features=new VkPhysicalDeviceFeatures({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.features&&(this.features=e.features))}function VkPhysicalDeviceProperties2(e,t){if(new.target!==VkPhysicalDeviceProperties2){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceProperties2,STRUCT_CACHE_VkPhysicalDeviceProperties2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceProperties2,STRUCT_CACHE_VkPhysicalDeviceProperties2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceProperties2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,840)):(this.memoryBuffer=new ArrayBuffer(840),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,840)),this._pNext=null,this._properties=new VkPhysicalDeviceProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceProperties2KHR(e,t){if(new.target!==VkPhysicalDeviceProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceProperties2KHR,STRUCT_CACHE_VkPhysicalDeviceProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceProperties2KHR,STRUCT_CACHE_VkPhysicalDeviceProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,840)):(this.memoryBuffer=new ArrayBuffer(840),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,840)),this._pNext=null,this._properties=new VkPhysicalDeviceProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkFormatProperties2(e,t){if(new.target!==VkFormatProperties2){if("string"==typeof e){let t=getStructFromStack(e,VkFormatProperties2,STRUCT_CACHE_VkFormatProperties2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFormatProperties2,STRUCT_CACHE_VkFormatProperties2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFormatProperties2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._formatProperties=new VkFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkFormatProperties2KHR(e,t){if(new.target!==VkFormatProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkFormatProperties2KHR,STRUCT_CACHE_VkFormatProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFormatProperties2KHR,STRUCT_CACHE_VkFormatProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFormatProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._formatProperties=new VkFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkImageFormatProperties2(e,t){if(new.target!==VkImageFormatProperties2){if("string"==typeof e){let t=getStructFromStack(e,VkImageFormatProperties2,STRUCT_CACHE_VkImageFormatProperties2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageFormatProperties2,STRUCT_CACHE_VkImageFormatProperties2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageFormatProperties2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._imageFormatProperties=new VkImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkImageFormatProperties2KHR(e,t){if(new.target!==VkImageFormatProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkImageFormatProperties2KHR,STRUCT_CACHE_VkImageFormatProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageFormatProperties2KHR,STRUCT_CACHE_VkImageFormatProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageFormatProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._imageFormatProperties=new VkImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceImageFormatInfo2(e,t){if(new.target!==VkPhysicalDeviceImageFormatInfo2){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceImageFormatInfo2,STRUCT_CACHE_VkPhysicalDeviceImageFormatInfo2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceImageFormatInfo2,STRUCT_CACHE_VkPhysicalDeviceImageFormatInfo2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceImageFormatInfo2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000059004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.tiling&&(this.tiling=e.tiling),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.flags&&(this.flags=e.flags))}function VkPhysicalDeviceImageFormatInfo2KHR(e,t){if(new.target!==VkPhysicalDeviceImageFormatInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceImageFormatInfo2KHR,STRUCT_CACHE_VkPhysicalDeviceImageFormatInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceImageFormatInfo2KHR,STRUCT_CACHE_VkPhysicalDeviceImageFormatInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceImageFormatInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000059004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.tiling&&(this.tiling=e.tiling),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.flags&&(this.flags=e.flags))}function VkQueueFamilyProperties2(e,t){if(new.target!==VkQueueFamilyProperties2){if("string"==typeof e){let t=getStructFromStack(e,VkQueueFamilyProperties2,STRUCT_CACHE_VkQueueFamilyProperties2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkQueueFamilyProperties2,STRUCT_CACHE_VkQueueFamilyProperties2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkQueueFamilyProperties2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._queueFamilyProperties=new VkQueueFamilyProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkQueueFamilyProperties2KHR(e,t){if(new.target!==VkQueueFamilyProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkQueueFamilyProperties2KHR,STRUCT_CACHE_VkQueueFamilyProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkQueueFamilyProperties2KHR,STRUCT_CACHE_VkQueueFamilyProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkQueueFamilyProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._queueFamilyProperties=new VkQueueFamilyProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceMemoryProperties2(e,t){if(new.target!==VkPhysicalDeviceMemoryProperties2){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMemoryProperties2,STRUCT_CACHE_VkPhysicalDeviceMemoryProperties2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMemoryProperties2,STRUCT_CACHE_VkPhysicalDeviceMemoryProperties2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMemoryProperties2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,536)):(this.memoryBuffer=new ArrayBuffer(536),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,536)),this._pNext=null,this._memoryProperties=new VkPhysicalDeviceMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceMemoryProperties2KHR(e,t){if(new.target!==VkPhysicalDeviceMemoryProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMemoryProperties2KHR,STRUCT_CACHE_VkPhysicalDeviceMemoryProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMemoryProperties2KHR,STRUCT_CACHE_VkPhysicalDeviceMemoryProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMemoryProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,536)):(this.memoryBuffer=new ArrayBuffer(536),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,536)),this._pNext=null,this._memoryProperties=new VkPhysicalDeviceMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSparseImageFormatProperties2(e,t){if(new.target!==VkSparseImageFormatProperties2){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageFormatProperties2,STRUCT_CACHE_VkSparseImageFormatProperties2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageFormatProperties2,STRUCT_CACHE_VkSparseImageFormatProperties2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageFormatProperties2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._properties=new VkSparseImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSparseImageFormatProperties2KHR(e,t){if(new.target!==VkSparseImageFormatProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageFormatProperties2KHR,STRUCT_CACHE_VkSparseImageFormatProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageFormatProperties2KHR,STRUCT_CACHE_VkSparseImageFormatProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageFormatProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._properties=new VkSparseImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000059007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceSparseImageFormatInfo2(e,t){if(new.target!==VkPhysicalDeviceSparseImageFormatInfo2){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSparseImageFormatInfo2,STRUCT_CACHE_VkPhysicalDeviceSparseImageFormatInfo2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSparseImageFormatInfo2,STRUCT_CACHE_VkPhysicalDeviceSparseImageFormatInfo2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSparseImageFormatInfo2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000059008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.tiling&&(this.tiling=e.tiling))}function VkPhysicalDeviceSparseImageFormatInfo2KHR(e,t){if(new.target!==VkPhysicalDeviceSparseImageFormatInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSparseImageFormatInfo2KHR,STRUCT_CACHE_VkPhysicalDeviceSparseImageFormatInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSparseImageFormatInfo2KHR,STRUCT_CACHE_VkPhysicalDeviceSparseImageFormatInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSparseImageFormatInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000059008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.tiling&&(this.tiling=e.tiling))}function VkPhysicalDevicePushDescriptorPropertiesKHR(e,t){if(new.target!==VkPhysicalDevicePushDescriptorPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevicePushDescriptorPropertiesKHR,STRUCT_CACHE_VkPhysicalDevicePushDescriptorPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevicePushDescriptorPropertiesKHR,STRUCT_CACHE_VkPhysicalDevicePushDescriptorPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevicePushDescriptorPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100008e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkConformanceVersionKHR(e,t){if(new.target!==VkConformanceVersionKHR){if("string"==typeof e){let t=getStructFromStack(e,VkConformanceVersionKHR,STRUCT_CACHE_VkConformanceVersionKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkConformanceVersionKHR,STRUCT_CACHE_VkConformanceVersionKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkConformanceVersionKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,4)):(this.memoryBuffer=new ArrayBuffer(4),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,4)),"object"==typeof e&&(void 0!==e.major&&(this.major=e.major),void 0!==e.minor&&(this.minor=e.minor),void 0!==e.subminor&&(this.subminor=e.subminor),void 0!==e.patch&&(this.patch=e.patch))}function VkPhysicalDeviceDriverPropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceDriverPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDriverPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceDriverPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDriverPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceDriverPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDriverPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,536)):(this.memoryBuffer=new ArrayBuffer(536),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,536)),this._pNext=null,this._conformanceVersion=new VkConformanceVersionKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+532}),this.sType=1000196e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPresentRegionsKHR(e,t){if(new.target!==VkPresentRegionsKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPresentRegionsKHR,STRUCT_CACHE_VkPresentRegionsKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPresentRegionsKHR,STRUCT_CACHE_VkPresentRegionsKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPresentRegionsKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pRegions=null,this._pRegionsNative=null,this.sType=1000084e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pRegions&&(this.pRegions=e.pRegions))}function VkPresentRegionKHR(e,t){if(new.target!==VkPresentRegionKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPresentRegionKHR,STRUCT_CACHE_VkPresentRegionKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPresentRegionKHR,STRUCT_CACHE_VkPresentRegionKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPresentRegionKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._pRectangles=null,this._pRectanglesNative=null,"object"==typeof e&&(void 0!==e.rectangleCount&&(this.rectangleCount=e.rectangleCount),void 0!==e.pRectangles&&(this.pRectangles=e.pRectangles))}function VkRectLayerKHR(e,t){if(new.target!==VkRectLayerKHR){if("string"==typeof e){let t=getStructFromStack(e,VkRectLayerKHR,STRUCT_CACHE_VkRectLayerKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRectLayerKHR,STRUCT_CACHE_VkRectLayerKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRectLayerKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,20)):(this.memoryBuffer=new ArrayBuffer(20),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,20)),this._offset=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._extent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),"object"==typeof e&&(void 0!==e.offset&&(this.offset=e.offset),void 0!==e.extent&&(this.extent=e.extent),void 0!==e.layer&&(this.layer=e.layer))}function VkPhysicalDeviceVariablePointersFeatures(e,t){if(new.target!==VkPhysicalDeviceVariablePointersFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVariablePointersFeatures,STRUCT_CACHE_VkPhysicalDeviceVariablePointersFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVariablePointersFeatures,STRUCT_CACHE_VkPhysicalDeviceVariablePointersFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVariablePointersFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))}function VkPhysicalDeviceVariablePointersFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceVariablePointersFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVariablePointersFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceVariablePointersFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVariablePointersFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceVariablePointersFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVariablePointersFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))}function VkPhysicalDeviceVariablePointerFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceVariablePointerFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVariablePointerFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceVariablePointerFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVariablePointerFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceVariablePointerFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVariablePointerFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))}function VkPhysicalDeviceVariablePointerFeatures(e,t){if(new.target!==VkPhysicalDeviceVariablePointerFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVariablePointerFeatures,STRUCT_CACHE_VkPhysicalDeviceVariablePointerFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVariablePointerFeatures,STRUCT_CACHE_VkPhysicalDeviceVariablePointerFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVariablePointerFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))}function VkExternalMemoryProperties(e,t){if(new.target!==VkExternalMemoryProperties){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryProperties,STRUCT_CACHE_VkExternalMemoryProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryProperties,STRUCT_CACHE_VkExternalMemoryProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.externalMemoryFeatures&&(this.externalMemoryFeatures=e.externalMemoryFeatures),void 0!==e.exportFromImportedHandleTypes&&(this.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes),void 0!==e.compatibleHandleTypes&&(this.compatibleHandleTypes=e.compatibleHandleTypes))}function VkExternalMemoryPropertiesKHR(e,t){if(new.target!==VkExternalMemoryPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryPropertiesKHR,STRUCT_CACHE_VkExternalMemoryPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryPropertiesKHR,STRUCT_CACHE_VkExternalMemoryPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.externalMemoryFeatures&&(this.externalMemoryFeatures=e.externalMemoryFeatures),void 0!==e.exportFromImportedHandleTypes&&(this.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes),void 0!==e.compatibleHandleTypes&&(this.compatibleHandleTypes=e.compatibleHandleTypes))}function VkPhysicalDeviceExternalImageFormatInfo(e,t){if(new.target!==VkPhysicalDeviceExternalImageFormatInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalImageFormatInfo,STRUCT_CACHE_VkPhysicalDeviceExternalImageFormatInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalImageFormatInfo,STRUCT_CACHE_VkPhysicalDeviceExternalImageFormatInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalImageFormatInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000071e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkPhysicalDeviceExternalImageFormatInfoKHR(e,t){if(new.target!==VkPhysicalDeviceExternalImageFormatInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalImageFormatInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalImageFormatInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalImageFormatInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalImageFormatInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalImageFormatInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000071e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkExternalImageFormatProperties(e,t){if(new.target!==VkExternalImageFormatProperties){if("string"==typeof e){let t=getStructFromStack(e,VkExternalImageFormatProperties,STRUCT_CACHE_VkExternalImageFormatProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalImageFormatProperties,STRUCT_CACHE_VkExternalImageFormatProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalImageFormatProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000071001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkExternalImageFormatPropertiesKHR(e,t){if(new.target!==VkExternalImageFormatPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalImageFormatPropertiesKHR,STRUCT_CACHE_VkExternalImageFormatPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalImageFormatPropertiesKHR,STRUCT_CACHE_VkExternalImageFormatPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalImageFormatPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000071001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceExternalBufferInfo(e,t){if(new.target!==VkPhysicalDeviceExternalBufferInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalBufferInfo,STRUCT_CACHE_VkPhysicalDeviceExternalBufferInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalBufferInfo,STRUCT_CACHE_VkPhysicalDeviceExternalBufferInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalBufferInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000071002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkPhysicalDeviceExternalBufferInfoKHR(e,t){if(new.target!==VkPhysicalDeviceExternalBufferInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalBufferInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalBufferInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalBufferInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalBufferInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalBufferInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000071002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkExternalBufferProperties(e,t){if(new.target!==VkExternalBufferProperties){if("string"==typeof e){let t=getStructFromStack(e,VkExternalBufferProperties,STRUCT_CACHE_VkExternalBufferProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalBufferProperties,STRUCT_CACHE_VkExternalBufferProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalBufferProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000071003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.externalMemoryProperties&&(this.externalMemoryProperties=e.externalMemoryProperties))}function VkExternalBufferPropertiesKHR(e,t){if(new.target!==VkExternalBufferPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalBufferPropertiesKHR,STRUCT_CACHE_VkExternalBufferPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalBufferPropertiesKHR,STRUCT_CACHE_VkExternalBufferPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalBufferPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000071003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.externalMemoryProperties&&(this.externalMemoryProperties=e.externalMemoryProperties))}function VkPhysicalDeviceIDProperties(e,t){if(new.target!==VkPhysicalDeviceIDProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceIDProperties,STRUCT_CACHE_VkPhysicalDeviceIDProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceIDProperties,STRUCT_CACHE_VkPhysicalDeviceIDProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceIDProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._deviceUUID=[...Array(16)].fill(0),this._driverUUID=[...Array(16)].fill(0),this._deviceLUID=[...Array(8)].fill(0),this.sType=1000071004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceIDPropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceIDPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceIDPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceIDPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceIDPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceIDPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceIDPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._deviceUUID=[...Array(16)].fill(0),this._driverUUID=[...Array(16)].fill(0),this._deviceLUID=[...Array(8)].fill(0),this.sType=1000071004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkExternalMemoryImageCreateInfo(e,t){if(new.target!==VkExternalMemoryImageCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryImageCreateInfo,STRUCT_CACHE_VkExternalMemoryImageCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryImageCreateInfo,STRUCT_CACHE_VkExternalMemoryImageCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryImageCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000072001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExternalMemoryImageCreateInfoKHR(e,t){if(new.target!==VkExternalMemoryImageCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryImageCreateInfoKHR,STRUCT_CACHE_VkExternalMemoryImageCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryImageCreateInfoKHR,STRUCT_CACHE_VkExternalMemoryImageCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryImageCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000072001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExternalMemoryBufferCreateInfo(e,t){if(new.target!==VkExternalMemoryBufferCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryBufferCreateInfo,STRUCT_CACHE_VkExternalMemoryBufferCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryBufferCreateInfo,STRUCT_CACHE_VkExternalMemoryBufferCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryBufferCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000072e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExternalMemoryBufferCreateInfoKHR(e,t){if(new.target!==VkExternalMemoryBufferCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalMemoryBufferCreateInfoKHR,STRUCT_CACHE_VkExternalMemoryBufferCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalMemoryBufferCreateInfoKHR,STRUCT_CACHE_VkExternalMemoryBufferCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalMemoryBufferCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000072e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExportMemoryAllocateInfo(e,t){if(new.target!==VkExportMemoryAllocateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkExportMemoryAllocateInfo,STRUCT_CACHE_VkExportMemoryAllocateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportMemoryAllocateInfo,STRUCT_CACHE_VkExportMemoryAllocateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportMemoryAllocateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000072002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExportMemoryAllocateInfoKHR(e,t){if(new.target!==VkExportMemoryAllocateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExportMemoryAllocateInfoKHR,STRUCT_CACHE_VkExportMemoryAllocateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportMemoryAllocateInfoKHR,STRUCT_CACHE_VkExportMemoryAllocateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportMemoryAllocateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000072002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkImportMemoryWin32HandleInfoKHR(e,t){if(new.target!==VkImportMemoryWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImportMemoryWin32HandleInfoKHR,STRUCT_CACHE_VkImportMemoryWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportMemoryWin32HandleInfoKHR,STRUCT_CACHE_VkImportMemoryWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportMemoryWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._name=null,this.sType=1000073e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle),void 0!==e.name&&(this.name=e.name))}function VkExportMemoryWin32HandleInfoKHR(e,t){if(new.target!==VkExportMemoryWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExportMemoryWin32HandleInfoKHR,STRUCT_CACHE_VkExportMemoryWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportMemoryWin32HandleInfoKHR,STRUCT_CACHE_VkExportMemoryWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportMemoryWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._name=null,this.sType=1000073001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess),void 0!==e.name&&(this.name=e.name))}function VkMemoryWin32HandlePropertiesKHR(e,t){if(new.target!==VkMemoryWin32HandlePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryWin32HandlePropertiesKHR,STRUCT_CACHE_VkMemoryWin32HandlePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryWin32HandlePropertiesKHR,STRUCT_CACHE_VkMemoryWin32HandlePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryWin32HandlePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000073002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryGetWin32HandleInfoKHR(e,t){if(new.target!==VkMemoryGetWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryGetWin32HandleInfoKHR,STRUCT_CACHE_VkMemoryGetWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryGetWin32HandleInfoKHR,STRUCT_CACHE_VkMemoryGetWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryGetWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._memory=null,this.sType=1000073003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkImportMemoryFdInfoKHR(e,t){if(new.target!==VkImportMemoryFdInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImportMemoryFdInfoKHR,STRUCT_CACHE_VkImportMemoryFdInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportMemoryFdInfoKHR,STRUCT_CACHE_VkImportMemoryFdInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportMemoryFdInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000074e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.fd&&(this.fd=e.fd))}function VkMemoryFdPropertiesKHR(e,t){if(new.target!==VkMemoryFdPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryFdPropertiesKHR,STRUCT_CACHE_VkMemoryFdPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryFdPropertiesKHR,STRUCT_CACHE_VkMemoryFdPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryFdPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000074001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryGetFdInfoKHR(e,t){if(new.target!==VkMemoryGetFdInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryGetFdInfoKHR,STRUCT_CACHE_VkMemoryGetFdInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryGetFdInfoKHR,STRUCT_CACHE_VkMemoryGetFdInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryGetFdInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._memory=null,this.sType=1000074002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkWin32KeyedMutexAcquireReleaseInfoKHR(e,t){if(new.target!==VkWin32KeyedMutexAcquireReleaseInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkWin32KeyedMutexAcquireReleaseInfoKHR,STRUCT_CACHE_VkWin32KeyedMutexAcquireReleaseInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkWin32KeyedMutexAcquireReleaseInfoKHR,STRUCT_CACHE_VkWin32KeyedMutexAcquireReleaseInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkWin32KeyedMutexAcquireReleaseInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._pAcquireSyncs=null,this._pAcquireSyncsNative=null,this._pAcquireKeys=null,this._pAcquireTimeouts=null,this._pReleaseSyncs=null,this._pReleaseSyncsNative=null,this._pReleaseKeys=null,this.sType=1000075e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.acquireCount&&(this.acquireCount=e.acquireCount),void 0!==e.pAcquireSyncs&&(this.pAcquireSyncs=e.pAcquireSyncs),void 0!==e.pAcquireKeys&&(this.pAcquireKeys=e.pAcquireKeys),void 0!==e.pAcquireTimeouts&&(this.pAcquireTimeouts=e.pAcquireTimeouts),void 0!==e.releaseCount&&(this.releaseCount=e.releaseCount),void 0!==e.pReleaseSyncs&&(this.pReleaseSyncs=e.pReleaseSyncs),void 0!==e.pReleaseKeys&&(this.pReleaseKeys=e.pReleaseKeys))}function VkPhysicalDeviceExternalSemaphoreInfo(e,t){if(new.target!==VkPhysicalDeviceExternalSemaphoreInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalSemaphoreInfo,STRUCT_CACHE_VkPhysicalDeviceExternalSemaphoreInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalSemaphoreInfo,STRUCT_CACHE_VkPhysicalDeviceExternalSemaphoreInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalSemaphoreInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000076e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkPhysicalDeviceExternalSemaphoreInfoKHR(e,t){if(new.target!==VkPhysicalDeviceExternalSemaphoreInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalSemaphoreInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalSemaphoreInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalSemaphoreInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalSemaphoreInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalSemaphoreInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000076e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkExternalSemaphoreProperties(e,t){if(new.target!==VkExternalSemaphoreProperties){if("string"==typeof e){let t=getStructFromStack(e,VkExternalSemaphoreProperties,STRUCT_CACHE_VkExternalSemaphoreProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalSemaphoreProperties,STRUCT_CACHE_VkExternalSemaphoreProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalSemaphoreProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000076001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkExternalSemaphorePropertiesKHR(e,t){if(new.target!==VkExternalSemaphorePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalSemaphorePropertiesKHR,STRUCT_CACHE_VkExternalSemaphorePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalSemaphorePropertiesKHR,STRUCT_CACHE_VkExternalSemaphorePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalSemaphorePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000076001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkExportSemaphoreCreateInfo(e,t){if(new.target!==VkExportSemaphoreCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkExportSemaphoreCreateInfo,STRUCT_CACHE_VkExportSemaphoreCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportSemaphoreCreateInfo,STRUCT_CACHE_VkExportSemaphoreCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportSemaphoreCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000077e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExportSemaphoreCreateInfoKHR(e,t){if(new.target!==VkExportSemaphoreCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExportSemaphoreCreateInfoKHR,STRUCT_CACHE_VkExportSemaphoreCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportSemaphoreCreateInfoKHR,STRUCT_CACHE_VkExportSemaphoreCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportSemaphoreCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000077e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkImportSemaphoreWin32HandleInfoKHR(e,t){if(new.target!==VkImportSemaphoreWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImportSemaphoreWin32HandleInfoKHR,STRUCT_CACHE_VkImportSemaphoreWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportSemaphoreWin32HandleInfoKHR,STRUCT_CACHE_VkImportSemaphoreWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportSemaphoreWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._semaphore=null,this._name=null,this.sType=1000078e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle),void 0!==e.name&&(this.name=e.name))}function VkExportSemaphoreWin32HandleInfoKHR(e,t){if(new.target!==VkExportSemaphoreWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExportSemaphoreWin32HandleInfoKHR,STRUCT_CACHE_VkExportSemaphoreWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportSemaphoreWin32HandleInfoKHR,STRUCT_CACHE_VkExportSemaphoreWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportSemaphoreWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._name=null,this.sType=1000078001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess),void 0!==e.name&&(this.name=e.name))}function VkD3D12FenceSubmitInfoKHR(e,t){if(new.target!==VkD3D12FenceSubmitInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkD3D12FenceSubmitInfoKHR,STRUCT_CACHE_VkD3D12FenceSubmitInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkD3D12FenceSubmitInfoKHR,STRUCT_CACHE_VkD3D12FenceSubmitInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkD3D12FenceSubmitInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pWaitSemaphoreValues=null,this._pSignalSemaphoreValues=null,this.sType=1000078002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreValuesCount&&(this.waitSemaphoreValuesCount=e.waitSemaphoreValuesCount),void 0!==e.pWaitSemaphoreValues&&(this.pWaitSemaphoreValues=e.pWaitSemaphoreValues),void 0!==e.signalSemaphoreValuesCount&&(this.signalSemaphoreValuesCount=e.signalSemaphoreValuesCount),void 0!==e.pSignalSemaphoreValues&&(this.pSignalSemaphoreValues=e.pSignalSemaphoreValues))}function VkSemaphoreGetWin32HandleInfoKHR(e,t){if(new.target!==VkSemaphoreGetWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSemaphoreGetWin32HandleInfoKHR,STRUCT_CACHE_VkSemaphoreGetWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSemaphoreGetWin32HandleInfoKHR,STRUCT_CACHE_VkSemaphoreGetWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSemaphoreGetWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._semaphore=null,this.sType=1000078003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkImportSemaphoreFdInfoKHR(e,t){if(new.target!==VkImportSemaphoreFdInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImportSemaphoreFdInfoKHR,STRUCT_CACHE_VkImportSemaphoreFdInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportSemaphoreFdInfoKHR,STRUCT_CACHE_VkImportSemaphoreFdInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportSemaphoreFdInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._semaphore=null,this.sType=1000079e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.fd&&(this.fd=e.fd))}function VkSemaphoreGetFdInfoKHR(e,t){if(new.target!==VkSemaphoreGetFdInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSemaphoreGetFdInfoKHR,STRUCT_CACHE_VkSemaphoreGetFdInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSemaphoreGetFdInfoKHR,STRUCT_CACHE_VkSemaphoreGetFdInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSemaphoreGetFdInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._semaphore=null,this.sType=1000079001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkPhysicalDeviceExternalFenceInfo(e,t){if(new.target!==VkPhysicalDeviceExternalFenceInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalFenceInfo,STRUCT_CACHE_VkPhysicalDeviceExternalFenceInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalFenceInfo,STRUCT_CACHE_VkPhysicalDeviceExternalFenceInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalFenceInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000112e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkPhysicalDeviceExternalFenceInfoKHR(e,t){if(new.target!==VkPhysicalDeviceExternalFenceInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalFenceInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalFenceInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalFenceInfoKHR,STRUCT_CACHE_VkPhysicalDeviceExternalFenceInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalFenceInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000112e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))}VkInstance.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkInstance.byteLength=8,VkPhysicalDevice.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkPhysicalDevice.byteLength=8,VkDevice.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDevice.byteLength=8,VkQueue.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkQueue.byteLength=8,VkCommandBuffer.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkCommandBuffer.byteLength=8,VkDeviceMemory.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDeviceMemory.byteLength=8,VkCommandPool.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkCommandPool.byteLength=8,VkBuffer.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkBuffer.byteLength=8,VkBufferView.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkBufferView.byteLength=8,VkImage.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkImage.byteLength=8,VkImageView.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkImageView.byteLength=8,VkShaderModule.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkShaderModule.byteLength=8,VkPipeline.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkPipeline.byteLength=8,VkPipelineLayout.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkPipelineLayout.byteLength=8,VkSampler.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkSampler.byteLength=8,VkDescriptorSet.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDescriptorSet.byteLength=8,VkDescriptorSetLayout.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDescriptorSetLayout.byteLength=8,VkDescriptorPool.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDescriptorPool.byteLength=8,VkFence.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkFence.byteLength=8,VkSemaphore.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkSemaphore.byteLength=8,VkEvent.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkEvent.byteLength=8,VkQueryPool.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkQueryPool.byteLength=8,VkFramebuffer.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkFramebuffer.byteLength=8,VkRenderPass.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkRenderPass.byteLength=8,VkPipelineCache.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkPipelineCache.byteLength=8,VkObjectTableNVX.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkObjectTableNVX.byteLength=8,VkIndirectCommandsLayoutNVX.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkIndirectCommandsLayoutNVX.byteLength=8,VkDescriptorUpdateTemplate.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDescriptorUpdateTemplate.byteLength=8,VkSamplerYcbcrConversion.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkSamplerYcbcrConversion.byteLength=8,VkValidationCacheEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkValidationCacheEXT.byteLength=8,VkAccelerationStructureNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkAccelerationStructureNV.byteLength=8,VkPerformanceConfigurationINTEL.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkPerformanceConfigurationINTEL.byteLength=8,VkDisplayKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDisplayKHR.byteLength=8,VkDisplayModeKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDisplayModeKHR.byteLength=8,VkSurfaceKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkSurfaceKHR.byteLength=8,VkSwapchainKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkSwapchainKHR.byteLength=8,VkDebugReportCallbackEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDebugReportCallbackEXT.byteLength=8,VkDebugUtilsMessengerEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i,0)},VkDebugUtilsMessengerEXT.byteLength=8,Object.defineProperties(VkBaseOutStructure.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBaseOutStructure.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBaseOutStructure.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){if(null===this._pNext&&this.memoryView.getBigInt64(8,!0)!==BI0){let e=this.memoryView.getBigInt64(8,!0),t=getArrayBufferFromAddress(e,BigInt(VkBaseOutStructure.byteLength));return this._pNext=new VkBaseOutStructure({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(8,this._pNext.memoryAddress,!0),this.pNext}return this._pNext},set(e){if(null!==e&&e.constructor===VkBaseOutStructure)e.flush(),this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBaseOutStructure.pNext': Expected 'VkBaseOutStructure' but got '"+typeToString(e)+"'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}}}),VkBaseOutStructure.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._pNext=null,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkBaseOutStructure.prototype.flush=function(){return!0},VkBaseOutStructure.prototype.reflect=function(e){},VkBaseOutStructure.createCopyFrom=function(e){let t=new VkBaseOutStructure;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t},VkBaseOutStructure.byteLength=16,VkBaseOutStructure.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8}},Object.defineProperties(VkBaseInStructure.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBaseInStructure.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBaseInStructure.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){if(null===this._pNext&&this.memoryView.getBigInt64(8,!0)!==BI0){let e=this.memoryView.getBigInt64(8,!0),t=getArrayBufferFromAddress(e,BigInt(VkBaseInStructure.byteLength));return this._pNext=new VkBaseInStructure({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(8,this._pNext.memoryAddress,!0),this.pNext}return this._pNext},set(e){if(null!==e&&e.constructor===VkBaseInStructure)e.flush(),this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBaseInStructure.pNext': Expected 'VkBaseInStructure' but got '"+typeToString(e)+"'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}}}),VkBaseInStructure.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._pNext=null,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkBaseInStructure.prototype.flush=function(){return!0},VkBaseInStructure.prototype.reflect=function(e){},VkBaseInStructure.createCopyFrom=function(e){let t=new VkBaseInStructure;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t},VkBaseInStructure.byteLength=16,VkBaseInStructure.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8}},Object.defineProperties(VkOffset2D.prototype,{x:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkOffset2D.x"),this.memoryView.setInt32(0,e,!0)}},y:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkOffset2D.y"),this.memoryView.setInt32(4,e,!0)}}}),VkOffset2D.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y))},VkOffset2D.prototype.flush=function(){return!0},VkOffset2D.prototype.reflect=function(e){},VkOffset2D.createCopyFrom=function(e){let t=new VkOffset2D;return t.x=e.x,t.y=e.y,t},VkOffset2D.byteLength=8,VkOffset2D.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4}},Object.defineProperties(VkOffset3D.prototype,{x:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkOffset3D.x"),this.memoryView.setInt32(0,e,!0)}},y:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkOffset3D.y"),this.memoryView.setInt32(4,e,!0)}},z:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkOffset3D.z"),this.memoryView.setInt32(8,e,!0)}}}),VkOffset3D.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.z&&(this.z=e.z))},VkOffset3D.prototype.flush=function(){return!0},VkOffset3D.prototype.reflect=function(e){},VkOffset3D.createCopyFrom=function(e){let t=new VkOffset3D;return t.x=e.x,t.y=e.y,t.z=e.z,t},VkOffset3D.byteLength=12,VkOffset3D.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4},z:{byteOffset:8,byteLength:4}},Object.defineProperties(VkExtent2D.prototype,{width:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExtent2D.width"),this.memoryView.setUint32(0,e,!0)}},height:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExtent2D.height"),this.memoryView.setUint32(4,e,!0)}}}),VkExtent2D.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height))},VkExtent2D.prototype.flush=function(){return!0},VkExtent2D.prototype.reflect=function(e){},VkExtent2D.createCopyFrom=function(e){let t=new VkExtent2D;return t.width=e.width,t.height=e.height,t},VkExtent2D.byteLength=8,VkExtent2D.memoryLayout={width:{byteOffset:0,byteLength:4},height:{byteOffset:4,byteLength:4}},Object.defineProperties(VkExtent3D.prototype,{width:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExtent3D.width"),this.memoryView.setUint32(0,e,!0)}},height:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExtent3D.height"),this.memoryView.setUint32(4,e,!0)}},depth:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExtent3D.depth"),this.memoryView.setUint32(8,e,!0)}}}),VkExtent3D.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height),void 0!==e.depth&&(this.depth=e.depth))},VkExtent3D.prototype.flush=function(){return!0},VkExtent3D.prototype.reflect=function(e){},VkExtent3D.createCopyFrom=function(e){let t=new VkExtent3D;return t.width=e.width,t.height=e.height,t.depth=e.depth,t},VkExtent3D.byteLength=12,VkExtent3D.memoryLayout={width:{byteOffset:0,byteLength:4},height:{byteOffset:4,byteLength:4},depth:{byteOffset:8,byteLength:4}},Object.defineProperties(VkViewport.prototype,{x:{get(){return this.memoryView.getFloat32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewport.x"),this.memoryView.setFloat32(0,e,!0)}},y:{get(){return this.memoryView.getFloat32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewport.y"),this.memoryView.setFloat32(4,e,!0)}},width:{get(){return this.memoryView.getFloat32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewport.width"),this.memoryView.setFloat32(8,e,!0)}},height:{get(){return this.memoryView.getFloat32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewport.height"),this.memoryView.setFloat32(12,e,!0)}},minDepth:{get(){return this.memoryView.getFloat32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewport.minDepth"),this.memoryView.setFloat32(16,e,!0)}},maxDepth:{get(){return this.memoryView.getFloat32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewport.maxDepth"),this.memoryView.setFloat32(20,e,!0)}}}),VkViewport.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height),void 0!==e.minDepth&&(this.minDepth=e.minDepth),void 0!==e.maxDepth&&(this.maxDepth=e.maxDepth))},VkViewport.prototype.flush=function(){return!0},VkViewport.prototype.reflect=function(e){},VkViewport.createCopyFrom=function(e){let t=new VkViewport;return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t.minDepth=e.minDepth,t.maxDepth=e.maxDepth,t},VkViewport.byteLength=24,VkViewport.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4},width:{byteOffset:8,byteLength:4},height:{byteOffset:12,byteLength:4},minDepth:{byteOffset:16,byteLength:4},maxDepth:{byteOffset:20,byteLength:4}},Object.defineProperties(VkRect2D.prototype,{offset:{get(){return this._offset},set(e){if(null!==e&&e.constructor===VkOffset2D)e.flush(),this._offset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRect2D.offset': Expected 'VkOffset2D' but got '"+typeToString(e)+"'");this._offset=null}}},extent:{get(){return this._extent},set(e){if(null!==e&&e.constructor===VkExtent2D)e.flush(),this._extent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRect2D.extent': Expected 'VkExtent2D' but got '"+typeToString(e)+"'");this._extent=null}}}}),VkRect2D.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),null!==this._offset&&(this.memoryBuffer!==this._offset.memoryBuffer?this._offset=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._offset.reset()),null!==this._extent&&(this.memoryBuffer!==this._extent.memoryBuffer?this._extent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._extent.reset()),"object"==typeof e&&(void 0!==e.offset&&(this.offset=e.offset),void 0!==e.extent&&(this.extent=e.extent))},VkRect2D.prototype.flush=function(){if(null!==this._offset){let e=this._offset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkRect2D.offset' isn't used as shared-memory")}}if(null!==this._extent){let e=this._extent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,8),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkRect2D.extent' isn't used as shared-memory")}}return!0},VkRect2D.prototype.reflect=function(e){},VkRect2D.createCopyFrom=function(e){let t=new VkRect2D;return null!==e.offset&&(t.offset=e.offset.constructor.createCopyFrom(e.offset)),null!==e.extent&&(t.extent=e.extent.constructor.createCopyFrom(e.extent)),t},VkRect2D.byteLength=16,VkRect2D.memoryLayout={offset:{byteOffset:0,byteLength:8},extent:{byteOffset:8,byteLength:8}},Object.defineProperties(VkClearRect.prototype,{rect:{get(){return this._rect},set(e){if(null!==e&&e.constructor===VkRect2D)e.flush(),this._rect=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearRect.rect': Expected 'VkRect2D' but got '"+typeToString(e)+"'");this._rect=null}}},baseArrayLayer:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkClearRect.baseArrayLayer"),this.memoryView.setUint32(16,e,!0)}},layerCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkClearRect.layerCount"),this.memoryView.setUint32(20,e,!0)}}}),VkClearRect.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),null!==this._rect&&(this.memoryBuffer!==this._rect.memoryBuffer?this._rect=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._rect.reset()),"object"==typeof e&&(void 0!==e.rect&&(this.rect=e.rect),void 0!==e.baseArrayLayer&&(this.baseArrayLayer=e.baseArrayLayer),void 0!==e.layerCount&&(this.layerCount=e.layerCount))},VkClearRect.prototype.flush=function(){if(null!==this._rect){let e=this._rect;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkClearRect.rect' isn't used as shared-memory")}}return!0},VkClearRect.prototype.reflect=function(e){},VkClearRect.createCopyFrom=function(e){let t=new VkClearRect;return null!==e.rect&&(t.rect=e.rect.constructor.createCopyFrom(e.rect)),t.baseArrayLayer=e.baseArrayLayer,t.layerCount=e.layerCount,t},VkClearRect.byteLength=24,VkClearRect.memoryLayout={rect:{byteOffset:0,byteLength:16},baseArrayLayer:{byteOffset:16,byteLength:4},layerCount:{byteOffset:20,byteLength:4}},Object.defineProperties(VkComponentMapping.prototype,{r:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkComponentMapping.r"),!$VAL_R_VkComponentSwizzle(e))throw new RangeError("Invalid value for 'VkComponentMapping.r': '"+e+"' is not a value of 'VkComponentSwizzle'");this.memoryView.setInt32(0,e,!0)}},g:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkComponentMapping.g"),!$VAL_R_VkComponentSwizzle(e))throw new RangeError("Invalid value for 'VkComponentMapping.g': '"+e+"' is not a value of 'VkComponentSwizzle'");this.memoryView.setInt32(4,e,!0)}},b:{get(){return this.memoryView.getInt32(8,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkComponentMapping.b"),!$VAL_R_VkComponentSwizzle(e))throw new RangeError("Invalid value for 'VkComponentMapping.b': '"+e+"' is not a value of 'VkComponentSwizzle'");this.memoryView.setInt32(8,e,!0)}},a:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkComponentMapping.a"),!$VAL_R_VkComponentSwizzle(e))throw new RangeError("Invalid value for 'VkComponentMapping.a': '"+e+"' is not a value of 'VkComponentSwizzle'");this.memoryView.setInt32(12,e,!0)}}}),VkComponentMapping.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.r&&(this.r=e.r),void 0!==e.g&&(this.g=e.g),void 0!==e.b&&(this.b=e.b),void 0!==e.a&&(this.a=e.a))},VkComponentMapping.prototype.flush=function(){return!0},VkComponentMapping.prototype.reflect=function(e){},VkComponentMapping.createCopyFrom=function(e){let t=new VkComponentMapping;return t.r=e.r,t.g=e.g,t.b=e.b,t.a=e.a,t},VkComponentMapping.byteLength=16,VkComponentMapping.memoryLayout={r:{byteOffset:0,byteLength:4},g:{byteOffset:4,byteLength:4},b:{byteOffset:8,byteLength:4},a:{byteOffset:12,byteLength:4}},Object.defineProperties(VkPhysicalDeviceProperties.prototype,{apiVersion:{get(){return this.memoryView.getUint32(0,!0)}},driverVersion:{get(){return this.memoryView.getUint32(4,!0)}},vendorID:{get(){return this.memoryView.getUint32(8,!0)}},deviceID:{get(){return this.memoryView.getUint32(12,!0)}},deviceType:{get(){return this.memoryView.getInt32(16,!0)}},deviceName:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+20,296))||null}},pipelineCacheUUID:{get(){return[this.memoryView.getUint8(276,!0),this.memoryView.getUint8(277,!0),this.memoryView.getUint8(278,!0),this.memoryView.getUint8(279,!0),this.memoryView.getUint8(280,!0),this.memoryView.getUint8(281,!0),this.memoryView.getUint8(282,!0),this.memoryView.getUint8(283,!0),this.memoryView.getUint8(284,!0),this.memoryView.getUint8(285,!0),this.memoryView.getUint8(286,!0),this.memoryView.getUint8(287,!0),this.memoryView.getUint8(288,!0),this.memoryView.getUint8(289,!0),this.memoryView.getUint8(290,!0),this.memoryView.getUint8(291,!0)]}},limits:{get(){return this._limits}},sparseProperties:{get(){return this._sparseProperties}}}),VkPhysicalDeviceProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,824)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x338"],0),null!==this._pipelineCacheUUID?this._pipelineCacheUUID.fill(0):this._pipelineCacheUUID=[...Array(16)].fill(0),null!==this._limits&&(this.memoryBuffer!==this._limits.memoryBuffer?this._limits=new VkPhysicalDeviceLimits({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+296}):this._limits.reset()),null!==this._sparseProperties&&(this.memoryBuffer!==this._sparseProperties.memoryBuffer?this._sparseProperties=new VkPhysicalDeviceSparseProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+800}):this._sparseProperties.reset())},VkPhysicalDeviceProperties.prototype.flush=function(){return!0},VkPhysicalDeviceProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(824)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,824),0)},VkPhysicalDeviceProperties.createCopyFrom=function(e){let t=new VkPhysicalDeviceProperties;return t.apiVersion=e.apiVersion,t.driverVersion=e.driverVersion,t.vendorID=e.vendorID,t.deviceID=e.deviceID,t.deviceType=e.deviceType,t.deviceName=e.deviceName,null!==e.pipelineCacheUUID&&(t.pipelineCacheUUID=[...Array(e.pipelineCacheUUID.length)].map((t,r)=>e.pipelineCacheUUID[r])),null!==e.limits&&(t.limits=e.limits.constructor.createCopyFrom(e.limits)),null!==e.sparseProperties&&(t.sparseProperties=e.sparseProperties.constructor.createCopyFrom(e.sparseProperties)),t},VkPhysicalDeviceProperties.byteLength=824,VkPhysicalDeviceProperties.memoryLayout={apiVersion:{byteOffset:0,byteLength:4},driverVersion:{byteOffset:4,byteLength:4},vendorID:{byteOffset:8,byteLength:4},deviceID:{byteOffset:12,byteLength:4},deviceType:{byteOffset:16,byteLength:4},deviceName:{byteOffset:20,byteLength:256},pipelineCacheUUID:{byteOffset:276,byteLength:16},limits:{byteOffset:296,byteLength:504},sparseProperties:{byteOffset:800,byteLength:20}},Object.defineProperties(VkExtensionProperties.prototype,{extensionName:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+0,256))||null}},specVersion:{get(){return this.memoryView.getUint32(256,!0)}}}),VkExtensionProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,260)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x104"],0)},VkExtensionProperties.prototype.flush=function(){return!0},VkExtensionProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(260)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,260),0)},VkExtensionProperties.createCopyFrom=function(e){let t=new VkExtensionProperties;return t.extensionName=e.extensionName,t.specVersion=e.specVersion,t},VkExtensionProperties.byteLength=260,VkExtensionProperties.memoryLayout={extensionName:{byteOffset:0,byteLength:256},specVersion:{byteOffset:256,byteLength:4}},Object.defineProperties(VkLayerProperties.prototype,{layerName:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+0,256))||null}},specVersion:{get(){return this.memoryView.getUint32(256,!0)}},implementationVersion:{get(){return this.memoryView.getUint32(260,!0)}},description:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+264,784))||null}}}),VkLayerProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,520)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x208"],0)},VkLayerProperties.prototype.flush=function(){return!0},VkLayerProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(520)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,520),0)},VkLayerProperties.createCopyFrom=function(e){let t=new VkLayerProperties;return t.layerName=e.layerName,t.specVersion=e.specVersion,t.implementationVersion=e.implementationVersion,t.description=e.description,t},VkLayerProperties.byteLength=520,VkLayerProperties.memoryLayout={layerName:{byteOffset:0,byteLength:256},specVersion:{byteOffset:256,byteLength:4},implementationVersion:{byteOffset:260,byteLength:4},description:{byteOffset:264,byteLength:256}},Object.defineProperties(VkApplicationInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkApplicationInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkApplicationInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkApplicationInfo.pNext' isn't allowed to be filled")}},pApplicationName:{get(){if(null!==this._pApplicationName){let e=textDecoder.decode(this._pApplicationName);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(16,!0)!==BI0){let e=this.memoryView.getBigInt64(16,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._pApplicationName=r,this.pApplicationName}return null},set(e){null!==e&&e.constructor===String?(this._pApplicationName=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(16,getAddressFromArrayBuffer(this._pApplicationName),!0)):null===e?(this._pApplicationName=null,this.memoryView.setBigInt64(16,BI0,!0)):ASSERT_IS_STRING(e,"VkApplicationInfo.pApplicationName")}},applicationVersion:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkApplicationInfo.applicationVersion"),this.memoryView.setUint32(24,e,!0)}},pEngineName:{get(){if(null!==this._pEngineName){let e=textDecoder.decode(this._pEngineName);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._pEngineName=r,this.pEngineName}return null},set(e){null!==e&&e.constructor===String?(this._pEngineName=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._pEngineName),!0)):null===e?(this._pEngineName=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkApplicationInfo.pEngineName")}},engineVersion:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkApplicationInfo.engineVersion"),this.memoryView.setUint32(40,e,!0)}},apiVersion:{get(){return this.memoryView.getUint32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkApplicationInfo.apiVersion"),this.memoryView.setUint32(44,e,!0)}}}),VkApplicationInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pApplicationName=null,this._pEngineName=null,this.sType=0,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pApplicationName&&(this.pApplicationName=e.pApplicationName),void 0!==e.applicationVersion&&(this.applicationVersion=e.applicationVersion),void 0!==e.pEngineName&&(this.pEngineName=e.pEngineName),void 0!==e.engineVersion&&(this.engineVersion=e.engineVersion),void 0!==e.apiVersion&&(this.apiVersion=e.apiVersion))},VkApplicationInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkApplicationInfo.prototype.reflect=function(e){},VkApplicationInfo.createCopyFrom=function(e){let t=new VkApplicationInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pApplicationName=e.pApplicationName,t.applicationVersion=e.applicationVersion,t.pEngineName=e.pEngineName,t.engineVersion=e.engineVersion,t.apiVersion=e.apiVersion,t},VkApplicationInfo.byteLength=48,VkApplicationInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pApplicationName:{byteOffset:16,byteLength:8},applicationVersion:{byteOffset:24,byteLength:4},pEngineName:{byteOffset:32,byteLength:8},engineVersion:{byteOffset:40,byteLength:4},apiVersion:{byteOffset:44,byteLength:4}},Object.defineProperties(VkAllocationCallbacks.prototype,{pUserData:{get(){return this._pUserData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pUserData=e,this.memoryView.setBigInt64(0,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkAllocationCallbacks.pUserData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pUserData=null,this.memoryView.setBigInt64(0,BI0,!0)}}},pfnAllocation:{get(){return this._pfnAllocation},set(e){if(null!==e&&e.constructor===Function){let t=function(){for(let e=0;e0){let t=new NativeObjectArray(e);this._pQueueCreateInfosNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pQueueCreateInfosNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._ppEnabledLayerNames){let e=this._ppEnabledLayerNames;if(e.length!==this.enabledLayerCount)throw new RangeError("Invalid array length, expected length of 'enabledLayerCount' for 'VkDeviceCreateInfo.ppEnabledLayerNames'");for(let t=0;te.pQueueCreateInfos[r].constructor.createCopyFrom(e.pQueueCreateInfos[r]))),t.enabledLayerCount=e.enabledLayerCount,null!==e.ppEnabledLayerNames&&(t.ppEnabledLayerNames=[...Array(e.ppEnabledLayerNames.length)].map((t,r)=>e.ppEnabledLayerNames[r])),t.enabledExtensionCount=e.enabledExtensionCount,null!==e.ppEnabledExtensionNames&&(t.ppEnabledExtensionNames=[...Array(e.ppEnabledExtensionNames.length)].map((t,r)=>e.ppEnabledExtensionNames[r])),null!==e.pEnabledFeatures&&(t.pEnabledFeatures=e.pEnabledFeatures.constructor.createCopyFrom(e.pEnabledFeatures)),t},VkDeviceCreateInfo.byteLength=72,VkDeviceCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},queueCreateInfoCount:{byteOffset:20,byteLength:4},pQueueCreateInfos:{byteOffset:24,byteLength:8},enabledLayerCount:{byteOffset:32,byteLength:4},ppEnabledLayerNames:{byteOffset:40,byteLength:8},enabledExtensionCount:{byteOffset:48,byteLength:4},ppEnabledExtensionNames:{byteOffset:56,byteLength:8},pEnabledFeatures:{byteOffset:64,byteLength:8}},Object.defineProperties(VkInstanceCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkInstanceCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkInstanceCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkInstanceCreateInfo.pNext'");switch(t){case 1000011e3:case 1000061e3:case 1000247e3:case 1000128004:break;default:throw new TypeError("Invalid type for 'VkInstanceCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkInstanceCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInstanceCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},pApplicationInfo:{get(){if(null===this._pApplicationInfo&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=this.memoryView.getBigInt64(24,!0),t=getArrayBufferFromAddress(e,BigInt(VkApplicationInfo.byteLength));return this._pApplicationInfo=new VkApplicationInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(24,this._pApplicationInfo.memoryAddress,!0),this.pApplicationInfo}return this._pApplicationInfo},set(e){if(null!==e&&e.constructor===VkApplicationInfo)e.flush(),this._pApplicationInfo=e,this.memoryView.setBigInt64(24,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkInstanceCreateInfo.pApplicationInfo': Expected 'VkApplicationInfo' but got '"+typeToString(e)+"'");this._pApplicationInfo=null,this.memoryView.setBigInt64(24,BI0,!0)}}},enabledLayerCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInstanceCreateInfo.enabledLayerCount"),this.memoryView.setUint32(32,e,!0)}},ppEnabledLayerNames:{get(){return this._ppEnabledLayerNames},set(e){if(null!==e&&e.constructor===Array)this._ppEnabledLayerNames=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkInstanceCreateInfo.ppEnabledLayerNames': Expected 'Array char' but got '"+typeToString(e)+"'");this._ppEnabledLayerNames=null}}},enabledExtensionCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInstanceCreateInfo.enabledExtensionCount"),this.memoryView.setUint32(48,e,!0)}},ppEnabledExtensionNames:{get(){return this._ppEnabledExtensionNames},set(e){if(null!==e&&e.constructor===Array)this._ppEnabledExtensionNames=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkInstanceCreateInfo.ppEnabledExtensionNames': Expected 'Array char' but got '"+typeToString(e)+"'");this._ppEnabledExtensionNames=null}}}}),VkInstanceCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pApplicationInfo=null,this._ppEnabledLayerNames=null,this._ppEnabledLayerNamesNative=null,this._ppEnabledExtensionNames=null,this._ppEnabledExtensionNamesNative=null,this.sType=1,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pApplicationInfo&&(this.pApplicationInfo=e.pApplicationInfo),void 0!==e.enabledLayerCount&&(this.enabledLayerCount=e.enabledLayerCount),void 0!==e.ppEnabledLayerNames&&(this.ppEnabledLayerNames=e.ppEnabledLayerNames),void 0!==e.enabledExtensionCount&&(this.enabledExtensionCount=e.enabledExtensionCount),void 0!==e.ppEnabledExtensionNames&&(this.ppEnabledExtensionNames=e.ppEnabledExtensionNames))},VkInstanceCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._ppEnabledLayerNames){let e=this._ppEnabledLayerNames;if(e.length!==this.enabledLayerCount)throw new RangeError("Invalid array length, expected length of 'enabledLayerCount' for 'VkInstanceCreateInfo.ppEnabledLayerNames'");for(let t=0;te.ppEnabledLayerNames[r])),t.enabledExtensionCount=e.enabledExtensionCount,null!==e.ppEnabledExtensionNames&&(t.ppEnabledExtensionNames=[...Array(e.ppEnabledExtensionNames.length)].map((t,r)=>e.ppEnabledExtensionNames[r])),t},VkInstanceCreateInfo.byteLength=64,VkInstanceCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},pApplicationInfo:{byteOffset:24,byteLength:8},enabledLayerCount:{byteOffset:32,byteLength:4},ppEnabledLayerNames:{byteOffset:40,byteLength:8},enabledExtensionCount:{byteOffset:48,byteLength:4},ppEnabledExtensionNames:{byteOffset:56,byteLength:8}},Object.defineProperties(VkQueueFamilyProperties.prototype,{queueFlags:{get(){return this.memoryView.getInt32(0,!0)}},queueCount:{get(){return this.memoryView.getUint32(4,!0)}},timestampValidBits:{get(){return this.memoryView.getUint32(8,!0)}},minImageTransferGranularity:{get(){return this._minImageTransferGranularity}}}),VkQueueFamilyProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),null!==this._minImageTransferGranularity&&(this.memoryBuffer!==this._minImageTransferGranularity.memoryBuffer?this._minImageTransferGranularity=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+12}):this._minImageTransferGranularity.reset())},VkQueueFamilyProperties.prototype.flush=function(){return!0},VkQueueFamilyProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkQueueFamilyProperties.createCopyFrom=function(e){let t=new VkQueueFamilyProperties;return t.queueFlags=e.queueFlags,t.queueCount=e.queueCount,t.timestampValidBits=e.timestampValidBits,null!==e.minImageTransferGranularity&&(t.minImageTransferGranularity=e.minImageTransferGranularity.constructor.createCopyFrom(e.minImageTransferGranularity)),t},VkQueueFamilyProperties.byteLength=24,VkQueueFamilyProperties.memoryLayout={queueFlags:{byteOffset:0,byteLength:4},queueCount:{byteOffset:4,byteLength:4},timestampValidBits:{byteOffset:8,byteLength:4},minImageTransferGranularity:{byteOffset:12,byteLength:12}},Object.defineProperties(VkPhysicalDeviceMemoryProperties.prototype,{memoryTypeCount:{get(){return this.memoryView.getUint32(0,!0)}},memoryTypes:{get(){return this._memoryTypes}},memoryHeapCount:{get(){return this.memoryView.getUint32(260,!0)}},memoryHeaps:{get(){return this._memoryHeaps}}}),VkPhysicalDeviceMemoryProperties.prototype.reset=function(e){if(null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,520)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x208"],0),null!==this._memoryTypes){let e=this._memoryTypes;for(let t=0;te.memoryTypes[r].constructor.createCopyFrom(e.memoryTypes[r]))),t.memoryHeapCount=e.memoryHeapCount,null!==e.memoryHeaps&&(t.memoryHeaps=[...Array(e.memoryHeaps.length)].map((t,r)=>e.memoryHeaps[r].constructor.createCopyFrom(e.memoryHeaps[r]))),t},VkPhysicalDeviceMemoryProperties.byteLength=520,VkPhysicalDeviceMemoryProperties.memoryLayout={memoryTypeCount:{byteOffset:0,byteLength:4},memoryTypes:{byteOffset:4,byteLength:256},memoryHeapCount:{byteOffset:260,byteLength:4},memoryHeaps:{byteOffset:264,byteLength:256}},Object.defineProperties(VkMemoryAllocateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryAllocateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryAllocateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkMemoryAllocateInfo.pNext'");switch(t){case 1000026002:case 1000056001:case 1000057e3:case 1000057001:case 1000072002:case 1000073e3:case 1000074e3:case 100006e4:case 1000127001:case 1000178e3:case 1000129003:case 1000238001:break;default:throw new TypeError("Invalid type for 'VkMemoryAllocateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryAllocateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},allocationSize:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkMemoryAllocateInfo.allocationSize"),this.memoryView.setBigUint64(16,BigInt(e),!0)}},memoryTypeIndex:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryAllocateInfo.memoryTypeIndex"),this.memoryView.setUint32(24,e,!0)}}}),VkMemoryAllocateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=5,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.allocationSize&&(this.allocationSize=e.allocationSize),void 0!==e.memoryTypeIndex&&(this.memoryTypeIndex=e.memoryTypeIndex))},VkMemoryAllocateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryAllocateInfo.prototype.reflect=function(e){},VkMemoryAllocateInfo.createCopyFrom=function(e){let t=new VkMemoryAllocateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.allocationSize=e.allocationSize,t.memoryTypeIndex=e.memoryTypeIndex,t},VkMemoryAllocateInfo.byteLength=32,VkMemoryAllocateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},allocationSize:{byteOffset:16,byteLength:8},memoryTypeIndex:{byteOffset:24,byteLength:4}},Object.defineProperties(VkMemoryRequirements.prototype,{size:{get(){return this.memoryView.getBigUint64(0,!0)}},alignment:{get(){return this.memoryView.getBigUint64(8,!0)}},memoryTypeBits:{get(){return this.memoryView.getUint32(16,!0)}}}),VkMemoryRequirements.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0)},VkMemoryRequirements.prototype.flush=function(){return!0},VkMemoryRequirements.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMemoryRequirements.createCopyFrom=function(e){let t=new VkMemoryRequirements;return t.size=e.size,t.alignment=e.alignment,t.memoryTypeBits=e.memoryTypeBits,t},VkMemoryRequirements.byteLength=24,VkMemoryRequirements.memoryLayout={size:{byteOffset:0,byteLength:8},alignment:{byteOffset:8,byteLength:8},memoryTypeBits:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSparseImageFormatProperties.prototype,{aspectMask:{get(){return this.memoryView.getInt32(0,!0)}},imageGranularity:{get(){return this._imageGranularity}},flags:{get(){return this.memoryView.getInt32(16,!0)}}}),VkSparseImageFormatProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,20)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x14"],0),null!==this._imageGranularity&&(this.memoryBuffer!==this._imageGranularity.memoryBuffer?this._imageGranularity=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+4}):this._imageGranularity.reset())},VkSparseImageFormatProperties.prototype.flush=function(){return!0},VkSparseImageFormatProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(20)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,20),0)},VkSparseImageFormatProperties.createCopyFrom=function(e){let t=new VkSparseImageFormatProperties;return t.aspectMask=e.aspectMask,null!==e.imageGranularity&&(t.imageGranularity=e.imageGranularity.constructor.createCopyFrom(e.imageGranularity)),t.flags=e.flags,t},VkSparseImageFormatProperties.byteLength=20,VkSparseImageFormatProperties.memoryLayout={aspectMask:{byteOffset:0,byteLength:4},imageGranularity:{byteOffset:4,byteLength:12},flags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSparseImageMemoryRequirements.prototype,{formatProperties:{get(){return this._formatProperties}},imageMipTailFirstLod:{get(){return this.memoryView.getUint32(20,!0)}},imageMipTailSize:{get(){return this.memoryView.getBigUint64(24,!0)}},imageMipTailOffset:{get(){return this.memoryView.getBigUint64(32,!0)}},imageMipTailStride:{get(){return this.memoryView.getBigUint64(40,!0)}}}),VkSparseImageMemoryRequirements.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),null!==this._formatProperties&&(this.memoryBuffer!==this._formatProperties.memoryBuffer?this._formatProperties=new VkSparseImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._formatProperties.reset())},VkSparseImageMemoryRequirements.prototype.flush=function(){return!0},VkSparseImageMemoryRequirements.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkSparseImageMemoryRequirements.createCopyFrom=function(e){let t=new VkSparseImageMemoryRequirements;return null!==e.formatProperties&&(t.formatProperties=e.formatProperties.constructor.createCopyFrom(e.formatProperties)),t.imageMipTailFirstLod=e.imageMipTailFirstLod,t.imageMipTailSize=e.imageMipTailSize,t.imageMipTailOffset=e.imageMipTailOffset,t.imageMipTailStride=e.imageMipTailStride,t},VkSparseImageMemoryRequirements.byteLength=48,VkSparseImageMemoryRequirements.memoryLayout={formatProperties:{byteOffset:0,byteLength:20},imageMipTailFirstLod:{byteOffset:20,byteLength:4},imageMipTailSize:{byteOffset:24,byteLength:8},imageMipTailOffset:{byteOffset:32,byteLength:8},imageMipTailStride:{byteOffset:40,byteLength:8}},Object.defineProperties(VkMemoryType.prototype,{propertyFlags:{get(){return this.memoryView.getInt32(0,!0)}},heapIndex:{get(){return this.memoryView.getUint32(4,!0)}}}),VkMemoryType.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0)},VkMemoryType.prototype.flush=function(){return!0},VkMemoryType.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,8),0)},VkMemoryType.createCopyFrom=function(e){let t=new VkMemoryType;return t.propertyFlags=e.propertyFlags,t.heapIndex=e.heapIndex,t},VkMemoryType.byteLength=8,VkMemoryType.memoryLayout={propertyFlags:{byteOffset:0,byteLength:4},heapIndex:{byteOffset:4,byteLength:4}},Object.defineProperties(VkMemoryHeap.prototype,{size:{get(){return this.memoryView.getBigUint64(0,!0)}},flags:{get(){return this.memoryView.getInt32(8,!0)}}}),VkMemoryHeap.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0)},VkMemoryHeap.prototype.flush=function(){return!0},VkMemoryHeap.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(16)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,16),0)},VkMemoryHeap.createCopyFrom=function(e){let t=new VkMemoryHeap;return t.size=e.size,t.flags=e.flags,t},VkMemoryHeap.byteLength=16,VkMemoryHeap.memoryLayout={size:{byteOffset:0,byteLength:8},flags:{byteOffset:8,byteLength:4}},Object.defineProperties(VkMappedMemoryRange.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMappedMemoryRange.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMappedMemoryRange.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMappedMemoryRange.pNext' isn't allowed to be filled")}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMappedMemoryRange.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(16,BI0,!0)}}},offset:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkMappedMemoryRange.offset"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},size:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkMappedMemoryRange.size"),this.memoryView.setBigUint64(32,BigInt(e),!0)}}}),VkMappedMemoryRange.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._memory=null,this.sType=6,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))},VkMappedMemoryRange.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMappedMemoryRange.prototype.reflect=function(e){},VkMappedMemoryRange.createCopyFrom=function(e){let t=new VkMappedMemoryRange;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.offset=e.offset,t.size=e.size,t},VkMappedMemoryRange.byteLength=40,VkMappedMemoryRange.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memory:{byteOffset:16,byteLength:8},offset:{byteOffset:24,byteLength:8},size:{byteOffset:32,byteLength:8}},Object.defineProperties(VkFormatProperties.prototype,{linearTilingFeatures:{get(){return this.memoryView.getInt32(0,!0)}},optimalTilingFeatures:{get(){return this.memoryView.getInt32(4,!0)}},bufferFeatures:{get(){return this.memoryView.getInt32(8,!0)}}}),VkFormatProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0)},VkFormatProperties.prototype.flush=function(){return!0},VkFormatProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(12)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,12),0)},VkFormatProperties.createCopyFrom=function(e){let t=new VkFormatProperties;return t.linearTilingFeatures=e.linearTilingFeatures,t.optimalTilingFeatures=e.optimalTilingFeatures,t.bufferFeatures=e.bufferFeatures,t},VkFormatProperties.byteLength=12,VkFormatProperties.memoryLayout={linearTilingFeatures:{byteOffset:0,byteLength:4},optimalTilingFeatures:{byteOffset:4,byteLength:4},bufferFeatures:{byteOffset:8,byteLength:4}},Object.defineProperties(VkImageFormatProperties.prototype,{maxExtent:{get(){return this._maxExtent}},maxMipLevels:{get(){return this.memoryView.getUint32(12,!0)}},maxArrayLayers:{get(){return this.memoryView.getUint32(16,!0)}},sampleCounts:{get(){return this.memoryView.getInt32(20,!0)}},maxResourceSize:{get(){return this.memoryView.getBigUint64(24,!0)}}}),VkImageFormatProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),null!==this._maxExtent&&(this.memoryBuffer!==this._maxExtent.memoryBuffer?this._maxExtent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._maxExtent.reset())},VkImageFormatProperties.prototype.flush=function(){return!0},VkImageFormatProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkImageFormatProperties.createCopyFrom=function(e){let t=new VkImageFormatProperties;return null!==e.maxExtent&&(t.maxExtent=e.maxExtent.constructor.createCopyFrom(e.maxExtent)),t.maxMipLevels=e.maxMipLevels,t.maxArrayLayers=e.maxArrayLayers,t.sampleCounts=e.sampleCounts,t.maxResourceSize=e.maxResourceSize,t},VkImageFormatProperties.byteLength=32,VkImageFormatProperties.memoryLayout={maxExtent:{byteOffset:0,byteLength:12},maxMipLevels:{byteOffset:12,byteLength:4},maxArrayLayers:{byteOffset:16,byteLength:4},sampleCounts:{byteOffset:20,byteLength:4},maxResourceSize:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorBufferInfo.prototype,{buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(0,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorBufferInfo.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(0,BI0,!0)}}},offset:{get(){return this.memoryView.getBigUint64(8,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDescriptorBufferInfo.offset"),this.memoryView.setBigUint64(8,BigInt(e),!0)}},range:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDescriptorBufferInfo.range"),this.memoryView.setBigUint64(16,BigInt(e),!0)}}}),VkDescriptorBufferInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._buffer=null,"object"==typeof e&&(void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.range&&(this.range=e.range))},VkDescriptorBufferInfo.prototype.flush=function(){return!0},VkDescriptorBufferInfo.prototype.reflect=function(e){},VkDescriptorBufferInfo.createCopyFrom=function(e){let t=new VkDescriptorBufferInfo;return null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.offset=e.offset,t.range=e.range,t},VkDescriptorBufferInfo.byteLength=24,VkDescriptorBufferInfo.memoryLayout={buffer:{byteOffset:0,byteLength:8},offset:{byteOffset:8,byteLength:8},range:{byteOffset:16,byteLength:8}},Object.defineProperties(VkDescriptorImageInfo.prototype,{sampler:{get(){return this._sampler},set(e){if(null!==e&&e.constructor===VkSampler)this._sampler=e,this.memoryView.setBigInt64(0,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorImageInfo.sampler': Expected 'VkSampler' but got '"+typeToString(e)+"'");this._sampler=null,this.memoryView.setBigInt64(0,BI0,!0)}}},imageView:{get(){return this._imageView},set(e){if(null!==e&&e.constructor===VkImageView)this._imageView=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorImageInfo.imageView': Expected 'VkImageView' but got '"+typeToString(e)+"'");this._imageView=null,this.memoryView.setBigInt64(8,BI0,!0)}}},imageLayout:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorImageInfo.imageLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkDescriptorImageInfo.imageLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(16,e,!0)}}}),VkDescriptorImageInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._sampler=null,this._imageView=null,"object"==typeof e&&(void 0!==e.sampler&&(this.sampler=e.sampler),void 0!==e.imageView&&(this.imageView=e.imageView),void 0!==e.imageLayout&&(this.imageLayout=e.imageLayout))},VkDescriptorImageInfo.prototype.flush=function(){return!0},VkDescriptorImageInfo.prototype.reflect=function(e){},VkDescriptorImageInfo.createCopyFrom=function(e){let t=new VkDescriptorImageInfo;return null!==e.sampler&&(t.sampler=e.sampler.constructor.createCopyFrom(e.sampler)),null!==e.imageView&&(t.imageView=e.imageView.constructor.createCopyFrom(e.imageView)),t.imageLayout=e.imageLayout,t},VkDescriptorImageInfo.byteLength=24,VkDescriptorImageInfo.memoryLayout={sampler:{byteOffset:0,byteLength:8},imageView:{byteOffset:8,byteLength:8},imageLayout:{byteOffset:16,byteLength:4}},Object.defineProperties(VkWriteDescriptorSet.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWriteDescriptorSet.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkWriteDescriptorSet.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkWriteDescriptorSet.pNext'");switch(t){case 1000138002:case 1000165007:break;default:throw new TypeError("Invalid type for 'VkWriteDescriptorSet.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSet.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},dstSet:{get(){return this._dstSet},set(e){if(null!==e&&e.constructor===VkDescriptorSet)this._dstSet=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSet.dstSet': Expected 'VkDescriptorSet' but got '"+typeToString(e)+"'");this._dstSet=null,this.memoryView.setBigInt64(16,BI0,!0)}}},dstBinding:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWriteDescriptorSet.dstBinding"),this.memoryView.setUint32(24,e,!0)}},dstArrayElement:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWriteDescriptorSet.dstArrayElement"),this.memoryView.setUint32(28,e,!0)}},descriptorCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWriteDescriptorSet.descriptorCount"),this.memoryView.setUint32(32,e,!0)}},descriptorType:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWriteDescriptorSet.descriptorType"),!$VAL_R_VkDescriptorType(e))throw new RangeError("Invalid value for 'VkWriteDescriptorSet.descriptorType': '"+e+"' is not a value of 'VkDescriptorType'");this.memoryView.setInt32(36,e,!0)}},pImageInfo:{get(){if(null===this._pImageInfo&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.descriptorCount,VkDescriptorImageInfo);return this._pImageInfo=e,this.pImageInfo}return this._pImageInfo},set(e){if(null!==e&&e.constructor===Array)this._pImageInfo=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSet.pImageInfo': Expected 'Array VkDescriptorImageInfo' but got '"+typeToString(e)+"'");this._pImageInfo=null}}},pBufferInfo:{get(){if(null===this._pBufferInfo&&this.memoryView.getBigInt64(48,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(48,!0),this.descriptorCount,VkDescriptorBufferInfo);return this._pBufferInfo=e,this.pBufferInfo}return this._pBufferInfo},set(e){if(null!==e&&e.constructor===Array)this._pBufferInfo=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSet.pBufferInfo': Expected 'Array VkDescriptorBufferInfo' but got '"+typeToString(e)+"'");this._pBufferInfo=null}}},pTexelBufferView:{get(){if(null===this._pTexelBufferView&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.descriptorCount,VkBufferView);return this._pTexelBufferView=e,this.pTexelBufferView}return this._pTexelBufferView},set(e){if(null!==e&&e.constructor===Array)this._pTexelBufferView=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSet.pTexelBufferView': Expected 'Array VkBufferView' but got '"+typeToString(e)+"'");this._pTexelBufferView=null}}}}),VkWriteDescriptorSet.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._dstSet=null,this._pImageInfo=null,this._pImageInfoNative=null,this._pBufferInfo=null,this._pBufferInfoNative=null,this._pTexelBufferView=null,this._pTexelBufferViewNative=null,this.sType=35,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dstSet&&(this.dstSet=e.dstSet),void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.pImageInfo&&(this.pImageInfo=e.pImageInfo),void 0!==e.pBufferInfo&&(this.pBufferInfo=e.pBufferInfo),void 0!==e.pTexelBufferView&&(this.pTexelBufferView=e.pTexelBufferView))},VkWriteDescriptorSet.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pImageInfo){let e=this._pImageInfo;if(e.length!==this.descriptorCount)throw new RangeError("Invalid array length, expected length of 'descriptorCount' for 'VkWriteDescriptorSet.pImageInfo'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pImageInfoNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pImageInfoNative=null,this.memoryView.setBigInt64(40,BI0,!0)}if(null!==this._pBufferInfo){let e=this._pBufferInfo;if(e.length!==this.descriptorCount)throw new RangeError("Invalid array length, expected length of 'descriptorCount' for 'VkWriteDescriptorSet.pBufferInfo'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pBufferInfoNative=t,this.memoryView.setBigInt64(48,t.address,!0)}else this._pBufferInfoNative=null,this.memoryView.setBigInt64(48,BI0,!0)}if(null!==this._pTexelBufferView){let e=this._pTexelBufferView;if(e.length!==this.descriptorCount)throw new RangeError("Invalid array length, expected length of 'descriptorCount' for 'VkWriteDescriptorSet.pTexelBufferView'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pTexelBufferViewNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pTexelBufferViewNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkWriteDescriptorSet.prototype.reflect=function(e){},VkWriteDescriptorSet.createCopyFrom=function(e){let t=new VkWriteDescriptorSet;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.dstSet&&(t.dstSet=e.dstSet.constructor.createCopyFrom(e.dstSet)),t.dstBinding=e.dstBinding,t.dstArrayElement=e.dstArrayElement,t.descriptorCount=e.descriptorCount,t.descriptorType=e.descriptorType,null!==e.pImageInfo&&(t.pImageInfo=[...Array(e.pImageInfo.length)].map((t,r)=>e.pImageInfo[r].constructor.createCopyFrom(e.pImageInfo[r]))),null!==e.pBufferInfo&&(t.pBufferInfo=[...Array(e.pBufferInfo.length)].map((t,r)=>e.pBufferInfo[r].constructor.createCopyFrom(e.pBufferInfo[r]))),null!==e.pTexelBufferView&&(t.pTexelBufferView=[...Array(e.pTexelBufferView.length)].map((t,r)=>e.pTexelBufferView[r].constructor.createCopyFrom(e.pTexelBufferView[r]))),t},VkWriteDescriptorSet.byteLength=64,VkWriteDescriptorSet.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},dstSet:{byteOffset:16,byteLength:8},dstBinding:{byteOffset:24,byteLength:4},dstArrayElement:{byteOffset:28,byteLength:4},descriptorCount:{byteOffset:32,byteLength:4},descriptorType:{byteOffset:36,byteLength:4},pImageInfo:{byteOffset:40,byteLength:8},pBufferInfo:{byteOffset:48,byteLength:8},pTexelBufferView:{byteOffset:56,byteLength:8}},Object.defineProperties(VkCopyDescriptorSet.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCopyDescriptorSet.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCopyDescriptorSet.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCopyDescriptorSet.pNext' isn't allowed to be filled")}},srcSet:{get(){return this._srcSet},set(e){if(null!==e&&e.constructor===VkDescriptorSet)this._srcSet=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCopyDescriptorSet.srcSet': Expected 'VkDescriptorSet' but got '"+typeToString(e)+"'");this._srcSet=null,this.memoryView.setBigInt64(16,BI0,!0)}}},srcBinding:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCopyDescriptorSet.srcBinding"),this.memoryView.setUint32(24,e,!0)}},srcArrayElement:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCopyDescriptorSet.srcArrayElement"),this.memoryView.setUint32(28,e,!0)}},dstSet:{get(){return this._dstSet},set(e){if(null!==e&&e.constructor===VkDescriptorSet)this._dstSet=e,this.memoryView.setBigInt64(32,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCopyDescriptorSet.dstSet': Expected 'VkDescriptorSet' but got '"+typeToString(e)+"'");this._dstSet=null,this.memoryView.setBigInt64(32,BI0,!0)}}},dstBinding:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCopyDescriptorSet.dstBinding"),this.memoryView.setUint32(40,e,!0)}},dstArrayElement:{get(){return this.memoryView.getUint32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCopyDescriptorSet.dstArrayElement"),this.memoryView.setUint32(44,e,!0)}},descriptorCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCopyDescriptorSet.descriptorCount"),this.memoryView.setUint32(48,e,!0)}}}),VkCopyDescriptorSet.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._srcSet=null,this._dstSet=null,this.sType=36,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcSet&&(this.srcSet=e.srcSet),void 0!==e.srcBinding&&(this.srcBinding=e.srcBinding),void 0!==e.srcArrayElement&&(this.srcArrayElement=e.srcArrayElement),void 0!==e.dstSet&&(this.dstSet=e.dstSet),void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount))},VkCopyDescriptorSet.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCopyDescriptorSet.prototype.reflect=function(e){},VkCopyDescriptorSet.createCopyFrom=function(e){let t=new VkCopyDescriptorSet;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.srcSet&&(t.srcSet=e.srcSet.constructor.createCopyFrom(e.srcSet)),t.srcBinding=e.srcBinding,t.srcArrayElement=e.srcArrayElement,null!==e.dstSet&&(t.dstSet=e.dstSet.constructor.createCopyFrom(e.dstSet)),t.dstBinding=e.dstBinding,t.dstArrayElement=e.dstArrayElement,t.descriptorCount=e.descriptorCount,t},VkCopyDescriptorSet.byteLength=56,VkCopyDescriptorSet.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcSet:{byteOffset:16,byteLength:8},srcBinding:{byteOffset:24,byteLength:4},srcArrayElement:{byteOffset:28,byteLength:4},dstSet:{byteOffset:32,byteLength:8},dstBinding:{byteOffset:40,byteLength:4},dstArrayElement:{byteOffset:44,byteLength:4},descriptorCount:{byteOffset:48,byteLength:4}},Object.defineProperties(VkBufferCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkBufferCreateInfo.pNext'");switch(t){case 1000026001:case 1000071003:case 1000072e3:case 1000244002:break;default:throw new TypeError("Invalid type for 'VkBufferCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},size:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferCreateInfo.size"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},usage:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferCreateInfo.usage"),this.memoryView.setInt32(32,e,!0)}},sharingMode:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferCreateInfo.sharingMode"),!$VAL_R_VkSharingMode(e))throw new RangeError("Invalid value for 'VkBufferCreateInfo.sharingMode': '"+e+"' is not a value of 'VkSharingMode'");this.memoryView.setInt32(36,e,!0)}},queueFamilyIndexCount:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferCreateInfo.queueFamilyIndexCount"),this.memoryView.setUint32(40,e,!0)}},pQueueFamilyIndices:{get(){return this._pQueueFamilyIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pQueueFamilyIndices=e,this.memoryView.setBigInt64(48,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferCreateInfo.pQueueFamilyIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pQueueFamilyIndices=null,this.memoryView.setBigInt64(48,BI0,!0)}}}}),VkBufferCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._pQueueFamilyIndices=null,this.sType=12,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.size&&(this.size=e.size),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.sharingMode&&(this.sharingMode=e.sharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices))},VkBufferCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferCreateInfo.prototype.reflect=function(e){},VkBufferCreateInfo.createCopyFrom=function(e){let t=new VkBufferCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.size=e.size,t.usage=e.usage,t.sharingMode=e.sharingMode,t.queueFamilyIndexCount=e.queueFamilyIndexCount,null!==e.pQueueFamilyIndices&&(t.pQueueFamilyIndices=new Uint32Array(e.pQueueFamilyIndices)),t},VkBufferCreateInfo.byteLength=56,VkBufferCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},size:{byteOffset:24,byteLength:8},usage:{byteOffset:32,byteLength:4},sharingMode:{byteOffset:36,byteLength:4},queueFamilyIndexCount:{byteOffset:40,byteLength:4},pQueueFamilyIndices:{byteOffset:48,byteLength:8}},Object.defineProperties(VkBufferViewCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferViewCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferViewCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBufferViewCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferViewCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferViewCreateInfo.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(24,BI0,!0)}}},format:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferViewCreateInfo.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkBufferViewCreateInfo.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(32,e,!0)}},offset:{get(){return this.memoryView.getBigUint64(40,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferViewCreateInfo.offset"),this.memoryView.setBigUint64(40,BigInt(e),!0)}},range:{get(){return this.memoryView.getBigUint64(48,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferViewCreateInfo.range"),this.memoryView.setBigUint64(48,BigInt(e),!0)}}}),VkBufferViewCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._buffer=null,this.sType=13,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.format&&(this.format=e.format),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.range&&(this.range=e.range))},VkBufferViewCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferViewCreateInfo.prototype.reflect=function(e){},VkBufferViewCreateInfo.createCopyFrom=function(e){let t=new VkBufferViewCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.format=e.format,t.offset=e.offset,t.range=e.range,t},VkBufferViewCreateInfo.byteLength=56,VkBufferViewCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},buffer:{byteOffset:24,byteLength:8},format:{byteOffset:32,byteLength:4},offset:{byteOffset:40,byteLength:8},range:{byteOffset:48,byteLength:8}},Object.defineProperties(VkImageSubresource.prototype,{aspectMask:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresource.aspectMask"),this.memoryView.setInt32(0,e,!0)}},mipLevel:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresource.mipLevel"),this.memoryView.setUint32(4,e,!0)}},arrayLayer:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresource.arrayLayer"),this.memoryView.setUint32(8,e,!0)}}}),VkImageSubresource.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.mipLevel&&(this.mipLevel=e.mipLevel),void 0!==e.arrayLayer&&(this.arrayLayer=e.arrayLayer))},VkImageSubresource.prototype.flush=function(){return!0},VkImageSubresource.prototype.reflect=function(e){},VkImageSubresource.createCopyFrom=function(e){let t=new VkImageSubresource;return t.aspectMask=e.aspectMask,t.mipLevel=e.mipLevel,t.arrayLayer=e.arrayLayer,t},VkImageSubresource.byteLength=12,VkImageSubresource.memoryLayout={aspectMask:{byteOffset:0,byteLength:4},mipLevel:{byteOffset:4,byteLength:4},arrayLayer:{byteOffset:8,byteLength:4}},Object.defineProperties(VkImageSubresourceLayers.prototype,{aspectMask:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceLayers.aspectMask"),this.memoryView.setInt32(0,e,!0)}},mipLevel:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceLayers.mipLevel"),this.memoryView.setUint32(4,e,!0)}},baseArrayLayer:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceLayers.baseArrayLayer"),this.memoryView.setUint32(8,e,!0)}},layerCount:{get(){return this.memoryView.getUint32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceLayers.layerCount"),this.memoryView.setUint32(12,e,!0)}}}),VkImageSubresourceLayers.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.mipLevel&&(this.mipLevel=e.mipLevel),void 0!==e.baseArrayLayer&&(this.baseArrayLayer=e.baseArrayLayer),void 0!==e.layerCount&&(this.layerCount=e.layerCount))},VkImageSubresourceLayers.prototype.flush=function(){return!0},VkImageSubresourceLayers.prototype.reflect=function(e){},VkImageSubresourceLayers.createCopyFrom=function(e){let t=new VkImageSubresourceLayers;return t.aspectMask=e.aspectMask,t.mipLevel=e.mipLevel,t.baseArrayLayer=e.baseArrayLayer,t.layerCount=e.layerCount,t},VkImageSubresourceLayers.byteLength=16,VkImageSubresourceLayers.memoryLayout={aspectMask:{byteOffset:0,byteLength:4},mipLevel:{byteOffset:4,byteLength:4},baseArrayLayer:{byteOffset:8,byteLength:4},layerCount:{byteOffset:12,byteLength:4}},Object.defineProperties(VkImageSubresourceRange.prototype,{aspectMask:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceRange.aspectMask"),this.memoryView.setInt32(0,e,!0)}},baseMipLevel:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceRange.baseMipLevel"),this.memoryView.setUint32(4,e,!0)}},levelCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceRange.levelCount"),this.memoryView.setUint32(8,e,!0)}},baseArrayLayer:{get(){return this.memoryView.getUint32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceRange.baseArrayLayer"),this.memoryView.setUint32(12,e,!0)}},layerCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageSubresourceRange.layerCount"),this.memoryView.setUint32(16,e,!0)}}}),VkImageSubresourceRange.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,20)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x14"],0),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.baseMipLevel&&(this.baseMipLevel=e.baseMipLevel),void 0!==e.levelCount&&(this.levelCount=e.levelCount),void 0!==e.baseArrayLayer&&(this.baseArrayLayer=e.baseArrayLayer),void 0!==e.layerCount&&(this.layerCount=e.layerCount))},VkImageSubresourceRange.prototype.flush=function(){return!0},VkImageSubresourceRange.prototype.reflect=function(e){},VkImageSubresourceRange.createCopyFrom=function(e){let t=new VkImageSubresourceRange;return t.aspectMask=e.aspectMask,t.baseMipLevel=e.baseMipLevel,t.levelCount=e.levelCount,t.baseArrayLayer=e.baseArrayLayer,t.layerCount=e.layerCount,t},VkImageSubresourceRange.byteLength=20,VkImageSubresourceRange.memoryLayout={aspectMask:{byteOffset:0,byteLength:4},baseMipLevel:{byteOffset:4,byteLength:4},levelCount:{byteOffset:8,byteLength:4},baseArrayLayer:{byteOffset:12,byteLength:4},layerCount:{byteOffset:16,byteLength:4}},Object.defineProperties(VkMemoryBarrier.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryBarrier.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryBarrier.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryBarrier.pNext' isn't allowed to be filled")}},srcAccessMask:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryBarrier.srcAccessMask"),this.memoryView.setInt32(16,e,!0)}},dstAccessMask:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryBarrier.dstAccessMask"),this.memoryView.setInt32(20,e,!0)}}}),VkMemoryBarrier.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=46,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask))},VkMemoryBarrier.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryBarrier.prototype.reflect=function(e){},VkMemoryBarrier.createCopyFrom=function(e){let t=new VkMemoryBarrier;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.srcAccessMask=e.srcAccessMask,t.dstAccessMask=e.dstAccessMask,t},VkMemoryBarrier.byteLength=24,VkMemoryBarrier.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcAccessMask:{byteOffset:16,byteLength:4},dstAccessMask:{byteOffset:20,byteLength:4}},Object.defineProperties(VkBufferMemoryBarrier.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferMemoryBarrier.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferMemoryBarrier.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBufferMemoryBarrier.pNext' isn't allowed to be filled")}},srcAccessMask:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferMemoryBarrier.srcAccessMask"),this.memoryView.setInt32(16,e,!0)}},dstAccessMask:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferMemoryBarrier.dstAccessMask"),this.memoryView.setInt32(20,e,!0)}},srcQueueFamilyIndex:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferMemoryBarrier.srcQueueFamilyIndex"),this.memoryView.setUint32(24,e,!0)}},dstQueueFamilyIndex:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferMemoryBarrier.dstQueueFamilyIndex"),this.memoryView.setUint32(28,e,!0)}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(32,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferMemoryBarrier.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(32,BI0,!0)}}},offset:{get(){return this.memoryView.getBigUint64(40,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferMemoryBarrier.offset"),this.memoryView.setBigUint64(40,BigInt(e),!0)}},size:{get(){return this.memoryView.getBigUint64(48,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferMemoryBarrier.size"),this.memoryView.setBigUint64(48,BigInt(e),!0)}}}),VkBufferMemoryBarrier.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._buffer=null,this.sType=44,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.srcQueueFamilyIndex&&(this.srcQueueFamilyIndex=e.srcQueueFamilyIndex),void 0!==e.dstQueueFamilyIndex&&(this.dstQueueFamilyIndex=e.dstQueueFamilyIndex),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))},VkBufferMemoryBarrier.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferMemoryBarrier.prototype.reflect=function(e){},VkBufferMemoryBarrier.createCopyFrom=function(e){let t=new VkBufferMemoryBarrier;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.srcAccessMask=e.srcAccessMask,t.dstAccessMask=e.dstAccessMask,t.srcQueueFamilyIndex=e.srcQueueFamilyIndex,t.dstQueueFamilyIndex=e.dstQueueFamilyIndex,null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.offset=e.offset,t.size=e.size,t},VkBufferMemoryBarrier.byteLength=56,VkBufferMemoryBarrier.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcAccessMask:{byteOffset:16,byteLength:4},dstAccessMask:{byteOffset:20,byteLength:4},srcQueueFamilyIndex:{byteOffset:24,byteLength:4},dstQueueFamilyIndex:{byteOffset:28,byteLength:4},buffer:{byteOffset:32,byteLength:8},offset:{byteOffset:40,byteLength:8},size:{byteOffset:48,byteLength:8}},Object.defineProperties(VkImageMemoryBarrier.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageMemoryBarrier.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageMemoryBarrier.pNext'");switch(t){case 1000143e3:break;default:throw new TypeError("Invalid type for 'VkImageMemoryBarrier.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryBarrier.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},srcAccessMask:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.srcAccessMask"),this.memoryView.setInt32(16,e,!0)}},dstAccessMask:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.dstAccessMask"),this.memoryView.setInt32(20,e,!0)}},oldLayout:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.oldLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkImageMemoryBarrier.oldLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(24,e,!0)}},newLayout:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.newLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkImageMemoryBarrier.newLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(28,e,!0)}},srcQueueFamilyIndex:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.srcQueueFamilyIndex"),this.memoryView.setUint32(32,e,!0)}},dstQueueFamilyIndex:{get(){return this.memoryView.getUint32(36,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageMemoryBarrier.dstQueueFamilyIndex"),this.memoryView.setUint32(36,e,!0)}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(40,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryBarrier.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(40,BI0,!0)}}},subresourceRange:{get(){return this._subresourceRange},set(e){if(null!==e&&e.constructor===VkImageSubresourceRange)e.flush(),this._subresourceRange=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryBarrier.subresourceRange': Expected 'VkImageSubresourceRange' but got '"+typeToString(e)+"'");this._subresourceRange=null}}}}),VkImageMemoryBarrier.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._image=null,null!==this._subresourceRange&&(this.memoryBuffer!==this._subresourceRange.memoryBuffer?this._subresourceRange=new VkImageSubresourceRange({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+48}):this._subresourceRange.reset()),this.sType=45,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.oldLayout&&(this.oldLayout=e.oldLayout),void 0!==e.newLayout&&(this.newLayout=e.newLayout),void 0!==e.srcQueueFamilyIndex&&(this.srcQueueFamilyIndex=e.srcQueueFamilyIndex),void 0!==e.dstQueueFamilyIndex&&(this.dstQueueFamilyIndex=e.dstQueueFamilyIndex),void 0!==e.image&&(this.image=e.image),void 0!==e.subresourceRange&&(this.subresourceRange=e.subresourceRange))},VkImageMemoryBarrier.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._subresourceRange){let e=this._subresourceRange;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,20);new Uint8Array(this.memoryBuffer).set(t,48),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageMemoryBarrier.subresourceRange' isn't used as shared-memory")}}return!0},VkImageMemoryBarrier.prototype.reflect=function(e){},VkImageMemoryBarrier.createCopyFrom=function(e){let t=new VkImageMemoryBarrier;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.srcAccessMask=e.srcAccessMask,t.dstAccessMask=e.dstAccessMask,t.oldLayout=e.oldLayout,t.newLayout=e.newLayout,t.srcQueueFamilyIndex=e.srcQueueFamilyIndex,t.dstQueueFamilyIndex=e.dstQueueFamilyIndex,null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),null!==e.subresourceRange&&(t.subresourceRange=e.subresourceRange.constructor.createCopyFrom(e.subresourceRange)),t},VkImageMemoryBarrier.byteLength=72,VkImageMemoryBarrier.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcAccessMask:{byteOffset:16,byteLength:4},dstAccessMask:{byteOffset:20,byteLength:4},oldLayout:{byteOffset:24,byteLength:4},newLayout:{byteOffset:28,byteLength:4},srcQueueFamilyIndex:{byteOffset:32,byteLength:4},dstQueueFamilyIndex:{byteOffset:36,byteLength:4},image:{byteOffset:40,byteLength:8},subresourceRange:{byteOffset:48,byteLength:20}},Object.defineProperties(VkImageCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageCreateInfo.pNext'");switch(t){case 1000026e3:case 1000056e3:case 1000072001:case 1000060008:case 1000147e3:case 1000129005:case 1000158003:case 1000158004:case 1000246e3:break;default:throw new TypeError("Invalid type for 'VkImageCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},imageType:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageCreateInfo.imageType"),!$VAL_R_VkImageType(e))throw new RangeError("Invalid value for 'VkImageCreateInfo.imageType': '"+e+"' is not a value of 'VkImageType'");this.memoryView.setInt32(20,e,!0)}},format:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageCreateInfo.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkImageCreateInfo.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(24,e,!0)}},extent:{get(){return this._extent},set(e){if(null!==e&&e.constructor===VkExtent3D)e.flush(),this._extent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCreateInfo.extent': Expected 'VkExtent3D' but got '"+typeToString(e)+"'");this._extent=null}}},mipLevels:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageCreateInfo.mipLevels"),this.memoryView.setUint32(40,e,!0)}},arrayLayers:{get(){return this.memoryView.getUint32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageCreateInfo.arrayLayers"),this.memoryView.setUint32(44,e,!0)}},samples:{get(){return this.memoryView.getInt32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageCreateInfo.samples"),this.memoryView.setInt32(48,e,!0)}},tiling:{get(){return this.memoryView.getInt32(52,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageCreateInfo.tiling"),!$VAL_R_VkImageTiling(e))throw new RangeError("Invalid value for 'VkImageCreateInfo.tiling': '"+e+"' is not a value of 'VkImageTiling'");this.memoryView.setInt32(52,e,!0)}},usage:{get(){return this.memoryView.getInt32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageCreateInfo.usage"),this.memoryView.setInt32(56,e,!0)}},sharingMode:{get(){return this.memoryView.getInt32(60,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageCreateInfo.sharingMode"),!$VAL_R_VkSharingMode(e))throw new RangeError("Invalid value for 'VkImageCreateInfo.sharingMode': '"+e+"' is not a value of 'VkSharingMode'");this.memoryView.setInt32(60,e,!0)}},queueFamilyIndexCount:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageCreateInfo.queueFamilyIndexCount"),this.memoryView.setUint32(64,e,!0)}},pQueueFamilyIndices:{get(){return this._pQueueFamilyIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pQueueFamilyIndices=e,this.memoryView.setBigInt64(72,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCreateInfo.pQueueFamilyIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pQueueFamilyIndices=null,this.memoryView.setBigInt64(72,BI0,!0)}}},initialLayout:{get(){return this.memoryView.getInt32(80,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageCreateInfo.initialLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkImageCreateInfo.initialLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(80,e,!0)}}}),VkImageCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,88)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x58"],0),this._pNext=null,null!==this._extent&&(this.memoryBuffer!==this._extent.memoryBuffer?this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}):this._extent.reset()),this._pQueueFamilyIndices=null,this.sType=14,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.imageType&&(this.imageType=e.imageType),void 0!==e.format&&(this.format=e.format),void 0!==e.extent&&(this.extent=e.extent),void 0!==e.mipLevels&&(this.mipLevels=e.mipLevels),void 0!==e.arrayLayers&&(this.arrayLayers=e.arrayLayers),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.tiling&&(this.tiling=e.tiling),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.sharingMode&&(this.sharingMode=e.sharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices),void 0!==e.initialLayout&&(this.initialLayout=e.initialLayout))},VkImageCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._extent){let e=this._extent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,28),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageCreateInfo.extent' isn't used as shared-memory")}}return!0},VkImageCreateInfo.prototype.reflect=function(e){},VkImageCreateInfo.createCopyFrom=function(e){let t=new VkImageCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.imageType=e.imageType,t.format=e.format,null!==e.extent&&(t.extent=e.extent.constructor.createCopyFrom(e.extent)),t.mipLevels=e.mipLevels,t.arrayLayers=e.arrayLayers,t.samples=e.samples,t.tiling=e.tiling,t.usage=e.usage,t.sharingMode=e.sharingMode,t.queueFamilyIndexCount=e.queueFamilyIndexCount,null!==e.pQueueFamilyIndices&&(t.pQueueFamilyIndices=new Uint32Array(e.pQueueFamilyIndices)),t.initialLayout=e.initialLayout,t},VkImageCreateInfo.byteLength=88,VkImageCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},imageType:{byteOffset:20,byteLength:4},format:{byteOffset:24,byteLength:4},extent:{byteOffset:28,byteLength:12},mipLevels:{byteOffset:40,byteLength:4},arrayLayers:{byteOffset:44,byteLength:4},samples:{byteOffset:48,byteLength:4},tiling:{byteOffset:52,byteLength:4},usage:{byteOffset:56,byteLength:4},sharingMode:{byteOffset:60,byteLength:4},queueFamilyIndexCount:{byteOffset:64,byteLength:4},pQueueFamilyIndices:{byteOffset:72,byteLength:8},initialLayout:{byteOffset:80,byteLength:4}},Object.defineProperties(VkSubresourceLayout.prototype,{offset:{get(){return this.memoryView.getBigUint64(0,!0)}},size:{get(){return this.memoryView.getBigUint64(8,!0)}},rowPitch:{get(){return this.memoryView.getBigUint64(16,!0)}},arrayPitch:{get(){return this.memoryView.getBigUint64(24,!0)}},depthPitch:{get(){return this.memoryView.getBigUint64(32,!0)}}}),VkSubresourceLayout.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0)},VkSubresourceLayout.prototype.flush=function(){return!0},VkSubresourceLayout.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkSubresourceLayout.createCopyFrom=function(e){let t=new VkSubresourceLayout;return t.offset=e.offset,t.size=e.size,t.rowPitch=e.rowPitch,t.arrayPitch=e.arrayPitch,t.depthPitch=e.depthPitch,t},VkSubresourceLayout.byteLength=40,VkSubresourceLayout.memoryLayout={offset:{byteOffset:0,byteLength:8},size:{byteOffset:8,byteLength:8},rowPitch:{byteOffset:16,byteLength:8},arrayPitch:{byteOffset:24,byteLength:8},depthPitch:{byteOffset:32,byteLength:8}},Object.defineProperties(VkImageViewCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageViewCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageViewCreateInfo.pNext'");switch(t){case 1000117002:case 1000156001:case 1000067e3:break;default:throw new TypeError("Invalid type for 'VkImageViewCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageViewCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageViewCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageViewCreateInfo.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(24,BI0,!0)}}},viewType:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewCreateInfo.viewType"),!$VAL_R_VkImageViewType(e))throw new RangeError("Invalid value for 'VkImageViewCreateInfo.viewType': '"+e+"' is not a value of 'VkImageViewType'");this.memoryView.setInt32(32,e,!0)}},format:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewCreateInfo.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkImageViewCreateInfo.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(36,e,!0)}},components:{get(){return this._components},set(e){if(null!==e&&e.constructor===VkComponentMapping)e.flush(),this._components=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageViewCreateInfo.components': Expected 'VkComponentMapping' but got '"+typeToString(e)+"'");this._components=null}}},subresourceRange:{get(){return this._subresourceRange},set(e){if(null!==e&&e.constructor===VkImageSubresourceRange)e.flush(),this._subresourceRange=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageViewCreateInfo.subresourceRange': Expected 'VkImageSubresourceRange' but got '"+typeToString(e)+"'");this._subresourceRange=null}}}}),VkImageViewCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,80)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x50"],0),this._pNext=null,this._image=null,null!==this._components&&(this.memoryBuffer!==this._components.memoryBuffer?this._components=new VkComponentMapping({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}):this._components.reset()),null!==this._subresourceRange&&(this.memoryBuffer!==this._subresourceRange.memoryBuffer?this._subresourceRange=new VkImageSubresourceRange({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56}):this._subresourceRange.reset()),this.sType=15,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.image&&(this.image=e.image),void 0!==e.viewType&&(this.viewType=e.viewType),void 0!==e.format&&(this.format=e.format),void 0!==e.components&&(this.components=e.components),void 0!==e.subresourceRange&&(this.subresourceRange=e.subresourceRange))},VkImageViewCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._components){let e=this._components;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,40),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageViewCreateInfo.components' isn't used as shared-memory")}}if(null!==this._subresourceRange){let e=this._subresourceRange;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,20);new Uint8Array(this.memoryBuffer).set(t,56),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageViewCreateInfo.subresourceRange' isn't used as shared-memory")}}return!0},VkImageViewCreateInfo.prototype.reflect=function(e){},VkImageViewCreateInfo.createCopyFrom=function(e){let t=new VkImageViewCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t.viewType=e.viewType,t.format=e.format,null!==e.components&&(t.components=e.components.constructor.createCopyFrom(e.components)),null!==e.subresourceRange&&(t.subresourceRange=e.subresourceRange.constructor.createCopyFrom(e.subresourceRange)),t},VkImageViewCreateInfo.byteLength=80,VkImageViewCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},image:{byteOffset:24,byteLength:8},viewType:{byteOffset:32,byteLength:4},format:{byteOffset:36,byteLength:4},components:{byteOffset:40,byteLength:16},subresourceRange:{byteOffset:56,byteLength:20}},Object.defineProperties(VkBufferCopy.prototype,{srcOffset:{get(){return this.memoryView.getBigUint64(0,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferCopy.srcOffset"),this.memoryView.setBigUint64(0,BigInt(e),!0)}},dstOffset:{get(){return this.memoryView.getBigUint64(8,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferCopy.dstOffset"),this.memoryView.setBigUint64(8,BigInt(e),!0)}},size:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferCopy.size"),this.memoryView.setBigUint64(16,BigInt(e),!0)}}}),VkBufferCopy.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),"object"==typeof e&&(void 0!==e.srcOffset&&(this.srcOffset=e.srcOffset),void 0!==e.dstOffset&&(this.dstOffset=e.dstOffset),void 0!==e.size&&(this.size=e.size))},VkBufferCopy.prototype.flush=function(){return!0},VkBufferCopy.prototype.reflect=function(e){},VkBufferCopy.createCopyFrom=function(e){let t=new VkBufferCopy;return t.srcOffset=e.srcOffset,t.dstOffset=e.dstOffset,t.size=e.size,t},VkBufferCopy.byteLength=24,VkBufferCopy.memoryLayout={srcOffset:{byteOffset:0,byteLength:8},dstOffset:{byteOffset:8,byteLength:8},size:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSparseMemoryBind.prototype,{resourceOffset:{get(){return this.memoryView.getBigUint64(0,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSparseMemoryBind.resourceOffset"),this.memoryView.setBigUint64(0,BigInt(e),!0)}},size:{get(){return this.memoryView.getBigUint64(8,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSparseMemoryBind.size"),this.memoryView.setBigUint64(8,BigInt(e),!0)}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseMemoryBind.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(16,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSparseMemoryBind.memoryOffset"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},flags:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSparseMemoryBind.flags"),this.memoryView.setInt32(32,e,!0)}}}),VkSparseMemoryBind.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._memory=null,"object"==typeof e&&(void 0!==e.resourceOffset&&(this.resourceOffset=e.resourceOffset),void 0!==e.size&&(this.size=e.size),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset),void 0!==e.flags&&(this.flags=e.flags))},VkSparseMemoryBind.prototype.flush=function(){return!0},VkSparseMemoryBind.prototype.reflect=function(e){},VkSparseMemoryBind.createCopyFrom=function(e){let t=new VkSparseMemoryBind;return t.resourceOffset=e.resourceOffset,t.size=e.size,null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t.flags=e.flags,t},VkSparseMemoryBind.byteLength=40,VkSparseMemoryBind.memoryLayout={resourceOffset:{byteOffset:0,byteLength:8},size:{byteOffset:8,byteLength:8},memory:{byteOffset:16,byteLength:8},memoryOffset:{byteOffset:24,byteLength:8},flags:{byteOffset:32,byteLength:4}},Object.defineProperties(VkSparseImageMemoryBind.prototype,{subresource:{get(){return this._subresource},set(e){if(null!==e&&e.constructor===VkImageSubresource)e.flush(),this._subresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageMemoryBind.subresource': Expected 'VkImageSubresource' but got '"+typeToString(e)+"'");this._subresource=null}}},offset:{get(){return this._offset},set(e){if(null!==e&&e.constructor===VkOffset3D)e.flush(),this._offset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageMemoryBind.offset': Expected 'VkOffset3D' but got '"+typeToString(e)+"'");this._offset=null}}},extent:{get(){return this._extent},set(e){if(null!==e&&e.constructor===VkExtent3D)e.flush(),this._extent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageMemoryBind.extent': Expected 'VkExtent3D' but got '"+typeToString(e)+"'");this._extent=null}}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(40,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageMemoryBind.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(40,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(48,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSparseImageMemoryBind.memoryOffset"),this.memoryView.setBigUint64(48,BigInt(e),!0)}},flags:{get(){return this.memoryView.getInt32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSparseImageMemoryBind.flags"),this.memoryView.setInt32(56,e,!0)}}}),VkSparseImageMemoryBind.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),null!==this._subresource&&(this.memoryBuffer!==this._subresource.memoryBuffer?this._subresource=new VkImageSubresource({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._subresource.reset()),null!==this._offset&&(this.memoryBuffer!==this._offset.memoryBuffer?this._offset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+12}):this._offset.reset()),null!==this._extent&&(this.memoryBuffer!==this._extent.memoryBuffer?this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._extent.reset()),this._memory=null,"object"==typeof e&&(void 0!==e.subresource&&(this.subresource=e.subresource),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.extent&&(this.extent=e.extent),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset),void 0!==e.flags&&(this.flags=e.flags))},VkSparseImageMemoryBind.prototype.flush=function(){if(null!==this._subresource){let e=this._subresource;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSparseImageMemoryBind.subresource' isn't used as shared-memory")}}if(null!==this._offset){let e=this._offset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,12),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSparseImageMemoryBind.offset' isn't used as shared-memory")}}if(null!==this._extent){let e=this._extent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,24),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSparseImageMemoryBind.extent' isn't used as shared-memory")}}return!0},VkSparseImageMemoryBind.prototype.reflect=function(e){},VkSparseImageMemoryBind.createCopyFrom=function(e){let t=new VkSparseImageMemoryBind;return null!==e.subresource&&(t.subresource=e.subresource.constructor.createCopyFrom(e.subresource)),null!==e.offset&&(t.offset=e.offset.constructor.createCopyFrom(e.offset)),null!==e.extent&&(t.extent=e.extent.constructor.createCopyFrom(e.extent)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t.flags=e.flags,t},VkSparseImageMemoryBind.byteLength=64,VkSparseImageMemoryBind.memoryLayout={subresource:{byteOffset:0,byteLength:12},offset:{byteOffset:12,byteLength:12},extent:{byteOffset:24,byteLength:12},memory:{byteOffset:40,byteLength:8},memoryOffset:{byteOffset:48,byteLength:8},flags:{byteOffset:56,byteLength:4}},Object.defineProperties(VkSparseBufferMemoryBindInfo.prototype,{buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(0,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseBufferMemoryBindInfo.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(0,BI0,!0)}}},bindCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSparseBufferMemoryBindInfo.bindCount"),this.memoryView.setUint32(8,e,!0)}},pBinds:{get(){if(null===this._pBinds&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(16,!0),this.bindCount,VkSparseMemoryBind);return this._pBinds=e,this.pBinds}return this._pBinds},set(e){if(null!==e&&e.constructor===Array)this._pBinds=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseBufferMemoryBindInfo.pBinds': Expected 'Array VkSparseMemoryBind' but got '"+typeToString(e)+"'");this._pBinds=null}}}}),VkSparseBufferMemoryBindInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._buffer=null,this._pBinds=null,this._pBindsNative=null,"object"==typeof e&&(void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.bindCount&&(this.bindCount=e.bindCount),void 0!==e.pBinds&&(this.pBinds=e.pBinds))},VkSparseBufferMemoryBindInfo.prototype.flush=function(){if(null!==this._pBinds){let e=this._pBinds;if(e.length!==this.bindCount)throw new RangeError("Invalid array length, expected length of 'bindCount' for 'VkSparseBufferMemoryBindInfo.pBinds'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pBindsNative=t,this.memoryView.setBigInt64(16,t.address,!0)}else this._pBindsNative=null,this.memoryView.setBigInt64(16,BI0,!0)}return!0},VkSparseBufferMemoryBindInfo.prototype.reflect=function(e){},VkSparseBufferMemoryBindInfo.createCopyFrom=function(e){let t=new VkSparseBufferMemoryBindInfo;return null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.bindCount=e.bindCount,null!==e.pBinds&&(t.pBinds=[...Array(e.pBinds.length)].map((t,r)=>e.pBinds[r].constructor.createCopyFrom(e.pBinds[r]))),t},VkSparseBufferMemoryBindInfo.byteLength=24,VkSparseBufferMemoryBindInfo.memoryLayout={buffer:{byteOffset:0,byteLength:8},bindCount:{byteOffset:8,byteLength:4},pBinds:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSparseImageOpaqueMemoryBindInfo.prototype,{image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(0,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageOpaqueMemoryBindInfo.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(0,BI0,!0)}}},bindCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSparseImageOpaqueMemoryBindInfo.bindCount"),this.memoryView.setUint32(8,e,!0)}},pBinds:{get(){if(null===this._pBinds&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(16,!0),this.bindCount,VkSparseMemoryBind);return this._pBinds=e,this.pBinds}return this._pBinds},set(e){if(null!==e&&e.constructor===Array)this._pBinds=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageOpaqueMemoryBindInfo.pBinds': Expected 'Array VkSparseMemoryBind' but got '"+typeToString(e)+"'");this._pBinds=null}}}}),VkSparseImageOpaqueMemoryBindInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._image=null,this._pBinds=null,this._pBindsNative=null,"object"==typeof e&&(void 0!==e.image&&(this.image=e.image),void 0!==e.bindCount&&(this.bindCount=e.bindCount),void 0!==e.pBinds&&(this.pBinds=e.pBinds))},VkSparseImageOpaqueMemoryBindInfo.prototype.flush=function(){if(null!==this._pBinds){let e=this._pBinds;if(e.length!==this.bindCount)throw new RangeError("Invalid array length, expected length of 'bindCount' for 'VkSparseImageOpaqueMemoryBindInfo.pBinds'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pBindsNative=t,this.memoryView.setBigInt64(16,t.address,!0)}else this._pBindsNative=null,this.memoryView.setBigInt64(16,BI0,!0)}return!0},VkSparseImageOpaqueMemoryBindInfo.prototype.reflect=function(e){},VkSparseImageOpaqueMemoryBindInfo.createCopyFrom=function(e){let t=new VkSparseImageOpaqueMemoryBindInfo;return null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t.bindCount=e.bindCount,null!==e.pBinds&&(t.pBinds=[...Array(e.pBinds.length)].map((t,r)=>e.pBinds[r].constructor.createCopyFrom(e.pBinds[r]))),t},VkSparseImageOpaqueMemoryBindInfo.byteLength=24,VkSparseImageOpaqueMemoryBindInfo.memoryLayout={image:{byteOffset:0,byteLength:8},bindCount:{byteOffset:8,byteLength:4},pBinds:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSparseImageMemoryBindInfo.prototype,{image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(0,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageMemoryBindInfo.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(0,BI0,!0)}}},bindCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSparseImageMemoryBindInfo.bindCount"),this.memoryView.setUint32(8,e,!0)}},pBinds:{get(){if(null===this._pBinds&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(16,!0),this.bindCount,VkSparseImageMemoryBind);return this._pBinds=e,this.pBinds}return this._pBinds},set(e){if(null!==e&&e.constructor===Array)this._pBinds=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSparseImageMemoryBindInfo.pBinds': Expected 'Array VkSparseImageMemoryBind' but got '"+typeToString(e)+"'");this._pBinds=null}}}}),VkSparseImageMemoryBindInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._image=null,this._pBinds=null,this._pBindsNative=null,"object"==typeof e&&(void 0!==e.image&&(this.image=e.image),void 0!==e.bindCount&&(this.bindCount=e.bindCount),void 0!==e.pBinds&&(this.pBinds=e.pBinds))},VkSparseImageMemoryBindInfo.prototype.flush=function(){if(null!==this._pBinds){let e=this._pBinds;if(e.length!==this.bindCount)throw new RangeError("Invalid array length, expected length of 'bindCount' for 'VkSparseImageMemoryBindInfo.pBinds'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pBindsNative=t,this.memoryView.setBigInt64(16,t.address,!0)}else this._pBindsNative=null,this.memoryView.setBigInt64(16,BI0,!0)}return!0},VkSparseImageMemoryBindInfo.prototype.reflect=function(e){},VkSparseImageMemoryBindInfo.createCopyFrom=function(e){let t=new VkSparseImageMemoryBindInfo;return null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t.bindCount=e.bindCount,null!==e.pBinds&&(t.pBinds=[...Array(e.pBinds.length)].map((t,r)=>e.pBinds[r].constructor.createCopyFrom(e.pBinds[r]))),t},VkSparseImageMemoryBindInfo.byteLength=24,VkSparseImageMemoryBindInfo.memoryLayout={image:{byteOffset:0,byteLength:8},bindCount:{byteOffset:8,byteLength:4},pBinds:{byteOffset:16,byteLength:8}},Object.defineProperties(VkBindSparseInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindSparseInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindSparseInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkBindSparseInfo.pNext'");switch(t){case 1000060006:case 1000207003:break;default:throw new TypeError("Invalid type for 'VkBindSparseInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkBindSparseInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},waitSemaphoreCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindSparseInfo.waitSemaphoreCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphores:{get(){if(null===this._pWaitSemaphores&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.waitSemaphoreCount,VkSemaphore);return this._pWaitSemaphores=e,this.pWaitSemaphores}return this._pWaitSemaphores},set(e){if(null!==e&&e.constructor===Array)this._pWaitSemaphores=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindSparseInfo.pWaitSemaphores': Expected 'Array VkSemaphore' but got '"+typeToString(e)+"'");this._pWaitSemaphores=null}}},bufferBindCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindSparseInfo.bufferBindCount"),this.memoryView.setUint32(32,e,!0)}},pBufferBinds:{get(){if(null===this._pBufferBinds&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.bufferBindCount,VkSparseBufferMemoryBindInfo);return this._pBufferBinds=e,this.pBufferBinds}return this._pBufferBinds},set(e){if(null!==e&&e.constructor===Array)this._pBufferBinds=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindSparseInfo.pBufferBinds': Expected 'Array VkSparseBufferMemoryBindInfo' but got '"+typeToString(e)+"'");this._pBufferBinds=null}}},imageOpaqueBindCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindSparseInfo.imageOpaqueBindCount"),this.memoryView.setUint32(48,e,!0)}},pImageOpaqueBinds:{get(){if(null===this._pImageOpaqueBinds&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.imageOpaqueBindCount,VkSparseImageOpaqueMemoryBindInfo);return this._pImageOpaqueBinds=e,this.pImageOpaqueBinds}return this._pImageOpaqueBinds},set(e){if(null!==e&&e.constructor===Array)this._pImageOpaqueBinds=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindSparseInfo.pImageOpaqueBinds': Expected 'Array VkSparseImageOpaqueMemoryBindInfo' but got '"+typeToString(e)+"'");this._pImageOpaqueBinds=null}}},imageBindCount:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindSparseInfo.imageBindCount"),this.memoryView.setUint32(64,e,!0)}},pImageBinds:{get(){if(null===this._pImageBinds&&this.memoryView.getBigInt64(72,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(72,!0),this.imageBindCount,VkSparseImageMemoryBindInfo);return this._pImageBinds=e,this.pImageBinds}return this._pImageBinds},set(e){if(null!==e&&e.constructor===Array)this._pImageBinds=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindSparseInfo.pImageBinds': Expected 'Array VkSparseImageMemoryBindInfo' but got '"+typeToString(e)+"'");this._pImageBinds=null}}},signalSemaphoreCount:{get(){return this.memoryView.getUint32(80,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindSparseInfo.signalSemaphoreCount"),this.memoryView.setUint32(80,e,!0)}},pSignalSemaphores:{get(){if(null===this._pSignalSemaphores&&this.memoryView.getBigInt64(88,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(88,!0),this.signalSemaphoreCount,VkSemaphore);return this._pSignalSemaphores=e,this.pSignalSemaphores}return this._pSignalSemaphores},set(e){if(null!==e&&e.constructor===Array)this._pSignalSemaphores=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindSparseInfo.pSignalSemaphores': Expected 'Array VkSemaphore' but got '"+typeToString(e)+"'");this._pSignalSemaphores=null}}}}),VkBindSparseInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,96)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x60"],0),this._pNext=null,this._pWaitSemaphores=null,this._pWaitSemaphoresNative=null,this._pBufferBinds=null,this._pBufferBindsNative=null,this._pImageOpaqueBinds=null,this._pImageOpaqueBindsNative=null,this._pImageBinds=null,this._pImageBindsNative=null,this._pSignalSemaphores=null,this._pSignalSemaphoresNative=null,this.sType=7,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphores&&(this.pWaitSemaphores=e.pWaitSemaphores),void 0!==e.bufferBindCount&&(this.bufferBindCount=e.bufferBindCount),void 0!==e.pBufferBinds&&(this.pBufferBinds=e.pBufferBinds),void 0!==e.imageOpaqueBindCount&&(this.imageOpaqueBindCount=e.imageOpaqueBindCount),void 0!==e.pImageOpaqueBinds&&(this.pImageOpaqueBinds=e.pImageOpaqueBinds),void 0!==e.imageBindCount&&(this.imageBindCount=e.imageBindCount),void 0!==e.pImageBinds&&(this.pImageBinds=e.pImageBinds),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphores&&(this.pSignalSemaphores=e.pSignalSemaphores))},VkBindSparseInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pWaitSemaphores){let e=this._pWaitSemaphores;if(e.length!==this.waitSemaphoreCount)throw new RangeError("Invalid array length, expected length of 'waitSemaphoreCount' for 'VkBindSparseInfo.pWaitSemaphores'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pWaitSemaphoresNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pWaitSemaphoresNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pBufferBinds){let e=this._pBufferBinds;if(e.length!==this.bufferBindCount)throw new RangeError("Invalid array length, expected length of 'bufferBindCount' for 'VkBindSparseInfo.pBufferBinds'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pBufferBindsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pBufferBindsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}if(null!==this._pImageOpaqueBinds){let e=this._pImageOpaqueBinds;if(e.length!==this.imageOpaqueBindCount)throw new RangeError("Invalid array length, expected length of 'imageOpaqueBindCount' for 'VkBindSparseInfo.pImageOpaqueBinds'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pImageOpaqueBindsNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pImageOpaqueBindsNative=null,this.memoryView.setBigInt64(56,BI0,!0)}if(null!==this._pImageBinds){let e=this._pImageBinds;if(e.length!==this.imageBindCount)throw new RangeError("Invalid array length, expected length of 'imageBindCount' for 'VkBindSparseInfo.pImageBinds'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pImageBindsNative=t,this.memoryView.setBigInt64(72,t.address,!0)}else this._pImageBindsNative=null,this.memoryView.setBigInt64(72,BI0,!0)}if(null!==this._pSignalSemaphores){let e=this._pSignalSemaphores;if(e.length!==this.signalSemaphoreCount)throw new RangeError("Invalid array length, expected length of 'signalSemaphoreCount' for 'VkBindSparseInfo.pSignalSemaphores'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSignalSemaphoresNative=t,this.memoryView.setBigInt64(88,t.address,!0)}else this._pSignalSemaphoresNative=null,this.memoryView.setBigInt64(88,BI0,!0)}return!0},VkBindSparseInfo.prototype.reflect=function(e){},VkBindSparseInfo.createCopyFrom=function(e){let t=new VkBindSparseInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreCount=e.waitSemaphoreCount,null!==e.pWaitSemaphores&&(t.pWaitSemaphores=[...Array(e.pWaitSemaphores.length)].map((t,r)=>e.pWaitSemaphores[r].constructor.createCopyFrom(e.pWaitSemaphores[r]))),t.bufferBindCount=e.bufferBindCount,null!==e.pBufferBinds&&(t.pBufferBinds=[...Array(e.pBufferBinds.length)].map((t,r)=>e.pBufferBinds[r].constructor.createCopyFrom(e.pBufferBinds[r]))),t.imageOpaqueBindCount=e.imageOpaqueBindCount,null!==e.pImageOpaqueBinds&&(t.pImageOpaqueBinds=[...Array(e.pImageOpaqueBinds.length)].map((t,r)=>e.pImageOpaqueBinds[r].constructor.createCopyFrom(e.pImageOpaqueBinds[r]))),t.imageBindCount=e.imageBindCount,null!==e.pImageBinds&&(t.pImageBinds=[...Array(e.pImageBinds.length)].map((t,r)=>e.pImageBinds[r].constructor.createCopyFrom(e.pImageBinds[r]))),t.signalSemaphoreCount=e.signalSemaphoreCount,null!==e.pSignalSemaphores&&(t.pSignalSemaphores=[...Array(e.pSignalSemaphores.length)].map((t,r)=>e.pSignalSemaphores[r].constructor.createCopyFrom(e.pSignalSemaphores[r]))),t},VkBindSparseInfo.byteLength=96,VkBindSparseInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreCount:{byteOffset:16,byteLength:4},pWaitSemaphores:{byteOffset:24,byteLength:8},bufferBindCount:{byteOffset:32,byteLength:4},pBufferBinds:{byteOffset:40,byteLength:8},imageOpaqueBindCount:{byteOffset:48,byteLength:4},pImageOpaqueBinds:{byteOffset:56,byteLength:8},imageBindCount:{byteOffset:64,byteLength:4},pImageBinds:{byteOffset:72,byteLength:8},signalSemaphoreCount:{byteOffset:80,byteLength:4},pSignalSemaphores:{byteOffset:88,byteLength:8}},Object.defineProperties(VkImageCopy.prototype,{srcSubresource:{get(){return this._srcSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._srcSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCopy.srcSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._srcSubresource=null}}},srcOffset:{get(){return this._srcOffset},set(e){if(null!==e&&e.constructor===VkOffset3D)e.flush(),this._srcOffset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCopy.srcOffset': Expected 'VkOffset3D' but got '"+typeToString(e)+"'");this._srcOffset=null}}},dstSubresource:{get(){return this._dstSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._dstSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCopy.dstSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._dstSubresource=null}}},dstOffset:{get(){return this._dstOffset},set(e){if(null!==e&&e.constructor===VkOffset3D)e.flush(),this._dstOffset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCopy.dstOffset': Expected 'VkOffset3D' but got '"+typeToString(e)+"'");this._dstOffset=null}}},extent:{get(){return this._extent},set(e){if(null!==e&&e.constructor===VkExtent3D)e.flush(),this._extent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageCopy.extent': Expected 'VkExtent3D' but got '"+typeToString(e)+"'");this._extent=null}}}}),VkImageCopy.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,68)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x44"],0),null!==this._srcSubresource&&(this.memoryBuffer!==this._srcSubresource.memoryBuffer?this._srcSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._srcSubresource.reset()),null!==this._srcOffset&&(this.memoryBuffer!==this._srcOffset.memoryBuffer?this._srcOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._srcOffset.reset()),null!==this._dstSubresource&&(this.memoryBuffer!==this._dstSubresource.memoryBuffer?this._dstSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}):this._dstSubresource.reset()),null!==this._dstOffset&&(this.memoryBuffer!==this._dstOffset.memoryBuffer?this._dstOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}):this._dstOffset.reset()),null!==this._extent&&(this.memoryBuffer!==this._extent.memoryBuffer?this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56}):this._extent.reset()),"object"==typeof e&&(void 0!==e.srcSubresource&&(this.srcSubresource=e.srcSubresource),void 0!==e.srcOffset&&(this.srcOffset=e.srcOffset),void 0!==e.dstSubresource&&(this.dstSubresource=e.dstSubresource),void 0!==e.dstOffset&&(this.dstOffset=e.dstOffset),void 0!==e.extent&&(this.extent=e.extent))},VkImageCopy.prototype.flush=function(){if(null!==this._srcSubresource){let e=this._srcSubresource;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageCopy.srcSubresource' isn't used as shared-memory")}}if(null!==this._srcOffset){let e=this._srcOffset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageCopy.srcOffset' isn't used as shared-memory")}}if(null!==this._dstSubresource){let e=this._dstSubresource;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,28),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageCopy.dstSubresource' isn't used as shared-memory")}}if(null!==this._dstOffset){let e=this._dstOffset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,44),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageCopy.dstOffset' isn't used as shared-memory")}}if(null!==this._extent){let e=this._extent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,56),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageCopy.extent' isn't used as shared-memory")}}return!0},VkImageCopy.prototype.reflect=function(e){},VkImageCopy.createCopyFrom=function(e){let t=new VkImageCopy;return null!==e.srcSubresource&&(t.srcSubresource=e.srcSubresource.constructor.createCopyFrom(e.srcSubresource)),null!==e.srcOffset&&(t.srcOffset=e.srcOffset.constructor.createCopyFrom(e.srcOffset)),null!==e.dstSubresource&&(t.dstSubresource=e.dstSubresource.constructor.createCopyFrom(e.dstSubresource)),null!==e.dstOffset&&(t.dstOffset=e.dstOffset.constructor.createCopyFrom(e.dstOffset)),null!==e.extent&&(t.extent=e.extent.constructor.createCopyFrom(e.extent)),t},VkImageCopy.byteLength=68,VkImageCopy.memoryLayout={srcSubresource:{byteOffset:0,byteLength:16},srcOffset:{byteOffset:16,byteLength:12},dstSubresource:{byteOffset:28,byteLength:16},dstOffset:{byteOffset:44,byteLength:12},extent:{byteOffset:56,byteLength:12}},Object.defineProperties(VkImageBlit.prototype,{srcSubresource:{get(){return this._srcSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._srcSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageBlit.srcSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._srcSubresource=null}}},srcOffsets:{get(){return this._srcOffsets},set(e){if(null!==e&&e.constructor===Array)this._srcOffsets=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageBlit.srcOffsets': Expected 'Array VkOffset3D' but got '"+typeToString(e)+"'");this._srcOffsets=null}}},dstSubresource:{get(){return this._dstSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._dstSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageBlit.dstSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._dstSubresource=null}}},dstOffsets:{get(){return this._dstOffsets},set(e){if(null!==e&&e.constructor===Array)this._dstOffsets=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageBlit.dstOffsets': Expected 'Array VkOffset3D' but got '"+typeToString(e)+"'");this._dstOffsets=null}}}}),VkImageBlit.prototype.reset=function(e){if(null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,80)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x50"],0),null!==this._srcSubresource&&(this.memoryBuffer!==this._srcSubresource.memoryBuffer?this._srcSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._srcSubresource.reset()),null!==this._srcOffsets){let e=this._srcOffsets;for(let t=0;te.srcOffsets[r].constructor.createCopyFrom(e.srcOffsets[r]))),null!==e.dstSubresource&&(t.dstSubresource=e.dstSubresource.constructor.createCopyFrom(e.dstSubresource)),null!==e.dstOffsets&&(t.dstOffsets=[...Array(e.dstOffsets.length)].map((t,r)=>e.dstOffsets[r].constructor.createCopyFrom(e.dstOffsets[r]))),t},VkImageBlit.byteLength=80,VkImageBlit.memoryLayout={srcSubresource:{byteOffset:0,byteLength:16},srcOffsets:{byteOffset:16,byteLength:24},dstSubresource:{byteOffset:40,byteLength:16},dstOffsets:{byteOffset:56,byteLength:24}},Object.defineProperties(VkBufferImageCopy.prototype,{bufferOffset:{get(){return this.memoryView.getBigUint64(0,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferImageCopy.bufferOffset"),this.memoryView.setBigUint64(0,BigInt(e),!0)}},bufferRowLength:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferImageCopy.bufferRowLength"),this.memoryView.setUint32(8,e,!0)}},bufferImageHeight:{get(){return this.memoryView.getUint32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBufferImageCopy.bufferImageHeight"),this.memoryView.setUint32(12,e,!0)}},imageSubresource:{get(){return this._imageSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._imageSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferImageCopy.imageSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._imageSubresource=null}}},imageOffset:{get(){return this._imageOffset},set(e){if(null!==e&&e.constructor===VkOffset3D)e.flush(),this._imageOffset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferImageCopy.imageOffset': Expected 'VkOffset3D' but got '"+typeToString(e)+"'");this._imageOffset=null}}},imageExtent:{get(){return this._imageExtent},set(e){if(null!==e&&e.constructor===VkExtent3D)e.flush(),this._imageExtent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferImageCopy.imageExtent': Expected 'VkExtent3D' but got '"+typeToString(e)+"'");this._imageExtent=null}}}}),VkBufferImageCopy.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),null!==this._imageSubresource&&(this.memoryBuffer!==this._imageSubresource.memoryBuffer?this._imageSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._imageSubresource.reset()),null!==this._imageOffset&&(this.memoryBuffer!==this._imageOffset.memoryBuffer?this._imageOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}):this._imageOffset.reset()),null!==this._imageExtent&&(this.memoryBuffer!==this._imageExtent.memoryBuffer?this._imageExtent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}):this._imageExtent.reset()),"object"==typeof e&&(void 0!==e.bufferOffset&&(this.bufferOffset=e.bufferOffset),void 0!==e.bufferRowLength&&(this.bufferRowLength=e.bufferRowLength),void 0!==e.bufferImageHeight&&(this.bufferImageHeight=e.bufferImageHeight),void 0!==e.imageSubresource&&(this.imageSubresource=e.imageSubresource),void 0!==e.imageOffset&&(this.imageOffset=e.imageOffset),void 0!==e.imageExtent&&(this.imageExtent=e.imageExtent))},VkBufferImageCopy.prototype.flush=function(){if(null!==this._imageSubresource){let e=this._imageSubresource;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkBufferImageCopy.imageSubresource' isn't used as shared-memory")}}if(null!==this._imageOffset){let e=this._imageOffset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,32),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkBufferImageCopy.imageOffset' isn't used as shared-memory")}}if(null!==this._imageExtent){let e=this._imageExtent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,44),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkBufferImageCopy.imageExtent' isn't used as shared-memory")}}return!0},VkBufferImageCopy.prototype.reflect=function(e){},VkBufferImageCopy.createCopyFrom=function(e){let t=new VkBufferImageCopy;return t.bufferOffset=e.bufferOffset,t.bufferRowLength=e.bufferRowLength,t.bufferImageHeight=e.bufferImageHeight,null!==e.imageSubresource&&(t.imageSubresource=e.imageSubresource.constructor.createCopyFrom(e.imageSubresource)),null!==e.imageOffset&&(t.imageOffset=e.imageOffset.constructor.createCopyFrom(e.imageOffset)),null!==e.imageExtent&&(t.imageExtent=e.imageExtent.constructor.createCopyFrom(e.imageExtent)),t},VkBufferImageCopy.byteLength=56,VkBufferImageCopy.memoryLayout={bufferOffset:{byteOffset:0,byteLength:8},bufferRowLength:{byteOffset:8,byteLength:4},bufferImageHeight:{byteOffset:12,byteLength:4},imageSubresource:{byteOffset:16,byteLength:16},imageOffset:{byteOffset:32,byteLength:12},imageExtent:{byteOffset:44,byteLength:12}},Object.defineProperties(VkImageResolve.prototype,{srcSubresource:{get(){return this._srcSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._srcSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageResolve.srcSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._srcSubresource=null}}},srcOffset:{get(){return this._srcOffset},set(e){if(null!==e&&e.constructor===VkOffset3D)e.flush(),this._srcOffset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageResolve.srcOffset': Expected 'VkOffset3D' but got '"+typeToString(e)+"'");this._srcOffset=null}}},dstSubresource:{get(){return this._dstSubresource},set(e){if(null!==e&&e.constructor===VkImageSubresourceLayers)e.flush(),this._dstSubresource=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageResolve.dstSubresource': Expected 'VkImageSubresourceLayers' but got '"+typeToString(e)+"'");this._dstSubresource=null}}},dstOffset:{get(){return this._dstOffset},set(e){if(null!==e&&e.constructor===VkOffset3D)e.flush(),this._dstOffset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageResolve.dstOffset': Expected 'VkOffset3D' but got '"+typeToString(e)+"'");this._dstOffset=null}}},extent:{get(){return this._extent},set(e){if(null!==e&&e.constructor===VkExtent3D)e.flush(),this._extent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageResolve.extent': Expected 'VkExtent3D' but got '"+typeToString(e)+"'");this._extent=null}}}}),VkImageResolve.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,68)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x44"],0),null!==this._srcSubresource&&(this.memoryBuffer!==this._srcSubresource.memoryBuffer?this._srcSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._srcSubresource.reset()),null!==this._srcOffset&&(this.memoryBuffer!==this._srcOffset.memoryBuffer?this._srcOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._srcOffset.reset()),null!==this._dstSubresource&&(this.memoryBuffer!==this._dstSubresource.memoryBuffer?this._dstSubresource=new VkImageSubresourceLayers({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}):this._dstSubresource.reset()),null!==this._dstOffset&&(this.memoryBuffer!==this._dstOffset.memoryBuffer?this._dstOffset=new VkOffset3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}):this._dstOffset.reset()),null!==this._extent&&(this.memoryBuffer!==this._extent.memoryBuffer?this._extent=new VkExtent3D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+56}):this._extent.reset()),"object"==typeof e&&(void 0!==e.srcSubresource&&(this.srcSubresource=e.srcSubresource),void 0!==e.srcOffset&&(this.srcOffset=e.srcOffset),void 0!==e.dstSubresource&&(this.dstSubresource=e.dstSubresource),void 0!==e.dstOffset&&(this.dstOffset=e.dstOffset),void 0!==e.extent&&(this.extent=e.extent))},VkImageResolve.prototype.flush=function(){if(null!==this._srcSubresource){let e=this._srcSubresource;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageResolve.srcSubresource' isn't used as shared-memory")}}if(null!==this._srcOffset){let e=this._srcOffset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageResolve.srcOffset' isn't used as shared-memory")}}if(null!==this._dstSubresource){let e=this._dstSubresource;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,28),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageResolve.dstSubresource' isn't used as shared-memory")}}if(null!==this._dstOffset){let e=this._dstOffset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,44),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageResolve.dstOffset' isn't used as shared-memory")}}if(null!==this._extent){let e=this._extent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,56),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkImageResolve.extent' isn't used as shared-memory")}}return!0},VkImageResolve.prototype.reflect=function(e){},VkImageResolve.createCopyFrom=function(e){let t=new VkImageResolve;return null!==e.srcSubresource&&(t.srcSubresource=e.srcSubresource.constructor.createCopyFrom(e.srcSubresource)),null!==e.srcOffset&&(t.srcOffset=e.srcOffset.constructor.createCopyFrom(e.srcOffset)),null!==e.dstSubresource&&(t.dstSubresource=e.dstSubresource.constructor.createCopyFrom(e.dstSubresource)),null!==e.dstOffset&&(t.dstOffset=e.dstOffset.constructor.createCopyFrom(e.dstOffset)),null!==e.extent&&(t.extent=e.extent.constructor.createCopyFrom(e.extent)),t},VkImageResolve.byteLength=68,VkImageResolve.memoryLayout={srcSubresource:{byteOffset:0,byteLength:16},srcOffset:{byteOffset:16,byteLength:12},dstSubresource:{byteOffset:28,byteLength:16},dstOffset:{byteOffset:44,byteLength:12},extent:{byteOffset:56,byteLength:12}},Object.defineProperties(VkShaderModuleCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkShaderModuleCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkShaderModuleCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkShaderModuleCreateInfo.pNext'");switch(t){case 1000160001:break;default:throw new TypeError("Invalid type for 'VkShaderModuleCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkShaderModuleCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkShaderModuleCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},codeSize:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkShaderModuleCreateInfo.codeSize"),this.memoryView.setBigInt64(24,BigInt(e),!0)}},pCode:{get(){return this._pCode},set(e){if(null!==e&&e.constructor===Uint8Array)this._pCode=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkShaderModuleCreateInfo.pCode': Expected 'Uint8Array' but got '"+typeToString(e)+"'");this._pCode=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkShaderModuleCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pCode=null,this.sType=16,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.codeSize&&(this.codeSize=e.codeSize),void 0!==e.pCode&&(this.pCode=e.pCode))},VkShaderModuleCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkShaderModuleCreateInfo.prototype.reflect=function(e){},VkShaderModuleCreateInfo.createCopyFrom=function(e){let t=new VkShaderModuleCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.codeSize=e.codeSize,null!==e.pCode&&(t.pCode=new Uint8Array(e.pCode)),t},VkShaderModuleCreateInfo.byteLength=40,VkShaderModuleCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},codeSize:{byteOffset:24,byteLength:8},pCode:{byteOffset:32,byteLength:8}},Object.defineProperties(VkDescriptorSetLayoutBinding.prototype,{binding:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutBinding.binding"),this.memoryView.setUint32(0,e,!0)}},descriptorType:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutBinding.descriptorType"),!$VAL_R_VkDescriptorType(e))throw new RangeError("Invalid value for 'VkDescriptorSetLayoutBinding.descriptorType': '"+e+"' is not a value of 'VkDescriptorType'");this.memoryView.setInt32(4,e,!0)}},descriptorCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutBinding.descriptorCount"),this.memoryView.setUint32(8,e,!0)}},stageFlags:{get(){return this.memoryView.getInt32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutBinding.stageFlags"),this.memoryView.setInt32(12,e,!0)}},pImmutableSamplers:{get(){if(null===this._pImmutableSamplers&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(16,!0),this.descriptorCount,VkSampler);return this._pImmutableSamplers=e,this.pImmutableSamplers}return this._pImmutableSamplers},set(e){if(null!==e&&e.constructor===Array)this._pImmutableSamplers=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutBinding.pImmutableSamplers': Expected 'Array VkSampler' but got '"+typeToString(e)+"'");this._pImmutableSamplers=null}}}}),VkDescriptorSetLayoutBinding.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pImmutableSamplers=null,this._pImmutableSamplersNative=null,"object"==typeof e&&(void 0!==e.binding&&(this.binding=e.binding),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.stageFlags&&(this.stageFlags=e.stageFlags),void 0!==e.pImmutableSamplers&&(this.pImmutableSamplers=e.pImmutableSamplers))},VkDescriptorSetLayoutBinding.prototype.flush=function(){if(null!==this._pImmutableSamplers){let e=this._pImmutableSamplers;if(e.length!==this.descriptorCount)throw new RangeError("Invalid array length, expected length of 'descriptorCount' for 'VkDescriptorSetLayoutBinding.pImmutableSamplers'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pImmutableSamplersNative=t,this.memoryView.setBigInt64(16,t.address,!0)}else this._pImmutableSamplersNative=null,this.memoryView.setBigInt64(16,BI0,!0)}return!0},VkDescriptorSetLayoutBinding.prototype.reflect=function(e){},VkDescriptorSetLayoutBinding.createCopyFrom=function(e){let t=new VkDescriptorSetLayoutBinding;return t.binding=e.binding,t.descriptorType=e.descriptorType,t.descriptorCount=e.descriptorCount,t.stageFlags=e.stageFlags,null!==e.pImmutableSamplers&&(t.pImmutableSamplers=[...Array(e.pImmutableSamplers.length)].map((t,r)=>e.pImmutableSamplers[r].constructor.createCopyFrom(e.pImmutableSamplers[r]))),t},VkDescriptorSetLayoutBinding.byteLength=24,VkDescriptorSetLayoutBinding.memoryLayout={binding:{byteOffset:0,byteLength:4},descriptorType:{byteOffset:4,byteLength:4},descriptorCount:{byteOffset:8,byteLength:4},stageFlags:{byteOffset:12,byteLength:4},pImmutableSamplers:{byteOffset:16,byteLength:8}},Object.defineProperties(VkDescriptorSetLayoutCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetLayoutCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutCreateInfo.pNext'");switch(t){case 1000161e3:break;default:throw new TypeError("Invalid type for 'VkDescriptorSetLayoutCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},bindingCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutCreateInfo.bindingCount"),this.memoryView.setUint32(20,e,!0)}},pBindings:{get(){if(null===this._pBindings&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.bindingCount,VkDescriptorSetLayoutBinding);return this._pBindings=e,this.pBindings}return this._pBindings},set(e){if(null!==e&&e.constructor===Array)this._pBindings=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutCreateInfo.pBindings': Expected 'Array VkDescriptorSetLayoutBinding' but got '"+typeToString(e)+"'");this._pBindings=null}}}}),VkDescriptorSetLayoutCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pBindings=null,this._pBindingsNative=null,this.sType=32,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.bindingCount&&(this.bindingCount=e.bindingCount),void 0!==e.pBindings&&(this.pBindings=e.pBindings))},VkDescriptorSetLayoutCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pBindings){let e=this._pBindings;if(e.length!==this.bindingCount)throw new RangeError("Invalid array length, expected length of 'bindingCount' for 'VkDescriptorSetLayoutCreateInfo.pBindings'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pBindingsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pBindingsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDescriptorSetLayoutCreateInfo.prototype.reflect=function(e){},VkDescriptorSetLayoutCreateInfo.createCopyFrom=function(e){let t=new VkDescriptorSetLayoutCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.bindingCount=e.bindingCount,null!==e.pBindings&&(t.pBindings=[...Array(e.pBindings.length)].map((t,r)=>e.pBindings[r].constructor.createCopyFrom(e.pBindings[r]))),t},VkDescriptorSetLayoutCreateInfo.byteLength=32,VkDescriptorSetLayoutCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},bindingCount:{byteOffset:20,byteLength:4},pBindings:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorPoolSize.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorPoolSize.type"),!$VAL_R_VkDescriptorType(e))throw new RangeError("Invalid value for 'VkDescriptorPoolSize.type': '"+e+"' is not a value of 'VkDescriptorType'");this.memoryView.setInt32(0,e,!0)}},descriptorCount:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorPoolSize.descriptorCount"),this.memoryView.setUint32(4,e,!0)}}}),VkDescriptorPoolSize.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount))},VkDescriptorPoolSize.prototype.flush=function(){return!0},VkDescriptorPoolSize.prototype.reflect=function(e){},VkDescriptorPoolSize.createCopyFrom=function(e){let t=new VkDescriptorPoolSize;return t.type=e.type,t.descriptorCount=e.descriptorCount,t},VkDescriptorPoolSize.byteLength=8,VkDescriptorPoolSize.memoryLayout={type:{byteOffset:0,byteLength:4},descriptorCount:{byteOffset:4,byteLength:4}},Object.defineProperties(VkDescriptorPoolCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorPoolCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorPoolCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkDescriptorPoolCreateInfo.pNext'");switch(t){case 1000138003:break;default:throw new TypeError("Invalid type for 'VkDescriptorPoolCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorPoolCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorPoolCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},maxSets:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorPoolCreateInfo.maxSets"),this.memoryView.setUint32(20,e,!0)}},poolSizeCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorPoolCreateInfo.poolSizeCount"),this.memoryView.setUint32(24,e,!0)}},pPoolSizes:{get(){if(null===this._pPoolSizes&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.poolSizeCount,VkDescriptorPoolSize);return this._pPoolSizes=e,this.pPoolSizes}return this._pPoolSizes},set(e){if(null!==e&&e.constructor===Array)this._pPoolSizes=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorPoolCreateInfo.pPoolSizes': Expected 'Array VkDescriptorPoolSize' but got '"+typeToString(e)+"'");this._pPoolSizes=null}}}}),VkDescriptorPoolCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pPoolSizes=null,this._pPoolSizesNative=null,this.sType=33,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.maxSets&&(this.maxSets=e.maxSets),void 0!==e.poolSizeCount&&(this.poolSizeCount=e.poolSizeCount),void 0!==e.pPoolSizes&&(this.pPoolSizes=e.pPoolSizes))},VkDescriptorPoolCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pPoolSizes){let e=this._pPoolSizes;if(e.length!==this.poolSizeCount)throw new RangeError("Invalid array length, expected length of 'poolSizeCount' for 'VkDescriptorPoolCreateInfo.pPoolSizes'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPoolSizesNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pPoolSizesNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkDescriptorPoolCreateInfo.prototype.reflect=function(e){},VkDescriptorPoolCreateInfo.createCopyFrom=function(e){let t=new VkDescriptorPoolCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.maxSets=e.maxSets,t.poolSizeCount=e.poolSizeCount,null!==e.pPoolSizes&&(t.pPoolSizes=[...Array(e.pPoolSizes.length)].map((t,r)=>e.pPoolSizes[r].constructor.createCopyFrom(e.pPoolSizes[r]))),t},VkDescriptorPoolCreateInfo.byteLength=40,VkDescriptorPoolCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},maxSets:{byteOffset:20,byteLength:4},poolSizeCount:{byteOffset:24,byteLength:4},pPoolSizes:{byteOffset:32,byteLength:8}},Object.defineProperties(VkDescriptorSetAllocateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetAllocateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetAllocateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkDescriptorSetAllocateInfo.pNext'");switch(t){case 1000161003:break;default:throw new TypeError("Invalid type for 'VkDescriptorSetAllocateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetAllocateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},descriptorPool:{get(){return this._descriptorPool},set(e){if(null!==e&&e.constructor===VkDescriptorPool)this._descriptorPool=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetAllocateInfo.descriptorPool': Expected 'VkDescriptorPool' but got '"+typeToString(e)+"'");this._descriptorPool=null,this.memoryView.setBigInt64(16,BI0,!0)}}},descriptorSetCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetAllocateInfo.descriptorSetCount"),this.memoryView.setUint32(24,e,!0)}},pSetLayouts:{get(){if(null===this._pSetLayouts&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.descriptorSetCount,VkDescriptorSetLayout);return this._pSetLayouts=e,this.pSetLayouts}return this._pSetLayouts},set(e){if(null!==e&&e.constructor===Array)this._pSetLayouts=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetAllocateInfo.pSetLayouts': Expected 'Array VkDescriptorSetLayout' but got '"+typeToString(e)+"'");this._pSetLayouts=null}}}}),VkDescriptorSetAllocateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._descriptorPool=null,this._pSetLayouts=null,this._pSetLayoutsNative=null,this.sType=34,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.descriptorPool&&(this.descriptorPool=e.descriptorPool),void 0!==e.descriptorSetCount&&(this.descriptorSetCount=e.descriptorSetCount),void 0!==e.pSetLayouts&&(this.pSetLayouts=e.pSetLayouts))},VkDescriptorSetAllocateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pSetLayouts){let e=this._pSetLayouts;if(e.length!==this.descriptorSetCount)throw new RangeError("Invalid array length, expected length of 'descriptorSetCount' for 'VkDescriptorSetAllocateInfo.pSetLayouts'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSetLayoutsNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pSetLayoutsNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkDescriptorSetAllocateInfo.prototype.reflect=function(e){},VkDescriptorSetAllocateInfo.createCopyFrom=function(e){let t=new VkDescriptorSetAllocateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.descriptorPool&&(t.descriptorPool=e.descriptorPool.constructor.createCopyFrom(e.descriptorPool)),t.descriptorSetCount=e.descriptorSetCount,null!==e.pSetLayouts&&(t.pSetLayouts=[...Array(e.pSetLayouts.length)].map((t,r)=>e.pSetLayouts[r].constructor.createCopyFrom(e.pSetLayouts[r]))),t},VkDescriptorSetAllocateInfo.byteLength=40,VkDescriptorSetAllocateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},descriptorPool:{byteOffset:16,byteLength:8},descriptorSetCount:{byteOffset:24,byteLength:4},pSetLayouts:{byteOffset:32,byteLength:8}},Object.defineProperties(VkSpecializationMapEntry.prototype,{constantID:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSpecializationMapEntry.constantID"),this.memoryView.setUint32(0,e,!0)}},offset:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSpecializationMapEntry.offset"),this.memoryView.setUint32(4,e,!0)}},size:{get(){return this.memoryView.getBigInt64(8,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSpecializationMapEntry.size"),this.memoryView.setBigInt64(8,BigInt(e),!0)}}}),VkSpecializationMapEntry.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.constantID&&(this.constantID=e.constantID),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))},VkSpecializationMapEntry.prototype.flush=function(){return!0},VkSpecializationMapEntry.prototype.reflect=function(e){},VkSpecializationMapEntry.createCopyFrom=function(e){let t=new VkSpecializationMapEntry;return t.constantID=e.constantID,t.offset=e.offset,t.size=e.size,t},VkSpecializationMapEntry.byteLength=16,VkSpecializationMapEntry.memoryLayout={constantID:{byteOffset:0,byteLength:4},offset:{byteOffset:4,byteLength:4},size:{byteOffset:8,byteLength:8}},Object.defineProperties(VkSpecializationInfo.prototype,{mapEntryCount:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSpecializationInfo.mapEntryCount"),this.memoryView.setUint32(0,e,!0)}},pMapEntries:{get(){if(null===this._pMapEntries&&this.memoryView.getBigInt64(8,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(8,!0),this.mapEntryCount,VkSpecializationMapEntry);return this._pMapEntries=e,this.pMapEntries}return this._pMapEntries},set(e){if(null!==e&&e.constructor===Array)this._pMapEntries=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSpecializationInfo.pMapEntries': Expected 'Array VkSpecializationMapEntry' but got '"+typeToString(e)+"'");this._pMapEntries=null}}},dataSize:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSpecializationInfo.dataSize"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},pData:{get(){return this._pData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pData=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSpecializationInfo.pData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pData=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkSpecializationInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pMapEntries=null,this._pMapEntriesNative=null,this._pData=null,"object"==typeof e&&(void 0!==e.mapEntryCount&&(this.mapEntryCount=e.mapEntryCount),void 0!==e.pMapEntries&&(this.pMapEntries=e.pMapEntries),void 0!==e.dataSize&&(this.dataSize=e.dataSize),void 0!==e.pData&&(this.pData=e.pData))},VkSpecializationInfo.prototype.flush=function(){if(null!==this._pMapEntries){let e=this._pMapEntries;if(e.length!==this.mapEntryCount)throw new RangeError("Invalid array length, expected length of 'mapEntryCount' for 'VkSpecializationInfo.pMapEntries'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pMapEntriesNative=t,this.memoryView.setBigInt64(8,t.address,!0)}else this._pMapEntriesNative=null,this.memoryView.setBigInt64(8,BI0,!0)}return!0},VkSpecializationInfo.prototype.reflect=function(e){},VkSpecializationInfo.createCopyFrom=function(e){let t=new VkSpecializationInfo;if(t.mapEntryCount=e.mapEntryCount,null!==e.pMapEntries&&(t.pMapEntries=[...Array(e.pMapEntries.length)].map((t,r)=>e.pMapEntries[r].constructor.createCopyFrom(e.pMapEntries[r]))),t.dataSize=e.dataSize,null!==e.pData){let r=new ArrayBuffer(e.pData.byteLength);new Uint8Array(r).set(new Uint8Array(e.pData),0),t.pData=r}return t},VkSpecializationInfo.byteLength=32,VkSpecializationInfo.memoryLayout={mapEntryCount:{byteOffset:0,byteLength:4},pMapEntries:{byteOffset:8,byteLength:8},dataSize:{byteOffset:16,byteLength:8},pData:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPipelineShaderStageCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineShaderStageCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineShaderStageCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineShaderStageCreateInfo.pNext'");switch(t){case 1000225001:break;default:throw new TypeError("Invalid type for 'VkPipelineShaderStageCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineShaderStageCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineShaderStageCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},stage:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineShaderStageCreateInfo.stage"),this.memoryView.setInt32(20,e,!0)}},module:{get(){return this._module},set(e){if(null!==e&&e.constructor===VkShaderModule)this._module=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineShaderStageCreateInfo.module': Expected 'VkShaderModule' but got '"+typeToString(e)+"'");this._module=null,this.memoryView.setBigInt64(24,BI0,!0)}}},pName:{get(){if(null!==this._pName){let e=textDecoder.decode(this._pName);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._pName=r,this.pName}return null},set(e){null!==e&&e.constructor===String?(this._pName=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._pName),!0)):null===e?(this._pName=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkPipelineShaderStageCreateInfo.pName")}},pSpecializationInfo:{get(){if(null===this._pSpecializationInfo&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=this.memoryView.getBigInt64(40,!0),t=getArrayBufferFromAddress(e,BigInt(VkSpecializationInfo.byteLength));return this._pSpecializationInfo=new VkSpecializationInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(40,this._pSpecializationInfo.memoryAddress,!0),this.pSpecializationInfo}return this._pSpecializationInfo},set(e){if(null!==e&&e.constructor===VkSpecializationInfo)e.flush(),this._pSpecializationInfo=e,this.memoryView.setBigInt64(40,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineShaderStageCreateInfo.pSpecializationInfo': Expected 'VkSpecializationInfo' but got '"+typeToString(e)+"'");this._pSpecializationInfo=null,this.memoryView.setBigInt64(40,BI0,!0)}}}}),VkPipelineShaderStageCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._module=null,this._pName=null,this._pSpecializationInfo=null,this.sType=18,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stage&&(this.stage=e.stage),void 0!==e.module&&(this.module=e.module),void 0!==e.pName&&(this.pName=e.pName),void 0!==e.pSpecializationInfo&&(this.pSpecializationInfo=e.pSpecializationInfo))},VkPipelineShaderStageCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineShaderStageCreateInfo.prototype.reflect=function(e){},VkPipelineShaderStageCreateInfo.createCopyFrom=function(e){let t=new VkPipelineShaderStageCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.stage=e.stage,null!==e.module&&(t.module=e.module.constructor.createCopyFrom(e.module)),t.pName=e.pName,null!==e.pSpecializationInfo&&(t.pSpecializationInfo=e.pSpecializationInfo.constructor.createCopyFrom(e.pSpecializationInfo)),t},VkPipelineShaderStageCreateInfo.byteLength=48,VkPipelineShaderStageCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},stage:{byteOffset:20,byteLength:4},module:{byteOffset:24,byteLength:8},pName:{byteOffset:32,byteLength:8},pSpecializationInfo:{byteOffset:40,byteLength:8}},Object.defineProperties(VkComputePipelineCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkComputePipelineCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkComputePipelineCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkComputePipelineCreateInfo.pNext'");switch(t){case 1000192e3:case 1000183e3:break;default:throw new TypeError("Invalid type for 'VkComputePipelineCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkComputePipelineCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkComputePipelineCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},stage:{get(){return this._stage},set(e){if(null!==e&&e.constructor===VkPipelineShaderStageCreateInfo)e.flush(),this._stage=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkComputePipelineCreateInfo.stage': Expected 'VkPipelineShaderStageCreateInfo' but got '"+typeToString(e)+"'");this._stage=null}}},layout:{get(){return this._layout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._layout=e,this.memoryView.setBigInt64(72,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkComputePipelineCreateInfo.layout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._layout=null,this.memoryView.setBigInt64(72,BI0,!0)}}},basePipelineHandle:{get(){return this._basePipelineHandle},set(e){if(null!==e&&e.constructor===VkPipeline)this._basePipelineHandle=e,this.memoryView.setBigInt64(80,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkComputePipelineCreateInfo.basePipelineHandle': Expected 'VkPipeline' but got '"+typeToString(e)+"'");this._basePipelineHandle=null,this.memoryView.setBigInt64(80,BI0,!0)}}},basePipelineIndex:{get(){return this.memoryView.getInt32(88,!0)},set(e){ASSERT_IS_NUMBER(e,"VkComputePipelineCreateInfo.basePipelineIndex"),this.memoryView.setInt32(88,e,!0)}}}),VkComputePipelineCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,96)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x60"],0),this._pNext=null,null!==this._stage&&(this.memoryBuffer!==this._stage.memoryBuffer?this._stage=new VkPipelineShaderStageCreateInfo({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._stage.reset()),this._layout=null,this._basePipelineHandle=null,this.sType=29,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stage&&(this.stage=e.stage),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.basePipelineHandle&&(this.basePipelineHandle=e.basePipelineHandle),void 0!==e.basePipelineIndex&&(this.basePipelineIndex=e.basePipelineIndex))},VkComputePipelineCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._stage){let e=this._stage;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,48);new Uint8Array(this.memoryBuffer).set(t,24),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkComputePipelineCreateInfo.stage' isn't used as shared-memory")}}return!0},VkComputePipelineCreateInfo.prototype.reflect=function(e){},VkComputePipelineCreateInfo.createCopyFrom=function(e){let t=new VkComputePipelineCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.stage&&(t.stage=e.stage.constructor.createCopyFrom(e.stage)),null!==e.layout&&(t.layout=e.layout.constructor.createCopyFrom(e.layout)),null!==e.basePipelineHandle&&(t.basePipelineHandle=e.basePipelineHandle.constructor.createCopyFrom(e.basePipelineHandle)),t.basePipelineIndex=e.basePipelineIndex,t},VkComputePipelineCreateInfo.byteLength=96,VkComputePipelineCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},stage:{byteOffset:24,byteLength:48},layout:{byteOffset:72,byteLength:8},basePipelineHandle:{byteOffset:80,byteLength:8},basePipelineIndex:{byteOffset:88,byteLength:4}},Object.defineProperties(VkVertexInputBindingDescription.prototype,{binding:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputBindingDescription.binding"),this.memoryView.setUint32(0,e,!0)}},stride:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputBindingDescription.stride"),this.memoryView.setUint32(4,e,!0)}},inputRate:{get(){return this.memoryView.getInt32(8,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkVertexInputBindingDescription.inputRate"),!$VAL_R_VkVertexInputRate(e))throw new RangeError("Invalid value for 'VkVertexInputBindingDescription.inputRate': '"+e+"' is not a value of 'VkVertexInputRate'");this.memoryView.setInt32(8,e,!0)}}}),VkVertexInputBindingDescription.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.binding&&(this.binding=e.binding),void 0!==e.stride&&(this.stride=e.stride),void 0!==e.inputRate&&(this.inputRate=e.inputRate))},VkVertexInputBindingDescription.prototype.flush=function(){return!0},VkVertexInputBindingDescription.prototype.reflect=function(e){},VkVertexInputBindingDescription.createCopyFrom=function(e){let t=new VkVertexInputBindingDescription;return t.binding=e.binding,t.stride=e.stride,t.inputRate=e.inputRate,t},VkVertexInputBindingDescription.byteLength=12,VkVertexInputBindingDescription.memoryLayout={binding:{byteOffset:0,byteLength:4},stride:{byteOffset:4,byteLength:4},inputRate:{byteOffset:8,byteLength:4}},Object.defineProperties(VkVertexInputAttributeDescription.prototype,{location:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputAttributeDescription.location"),this.memoryView.setUint32(0,e,!0)}},binding:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputAttributeDescription.binding"),this.memoryView.setUint32(4,e,!0)}},format:{get(){return this.memoryView.getInt32(8,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkVertexInputAttributeDescription.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkVertexInputAttributeDescription.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(8,e,!0)}},offset:{get(){return this.memoryView.getUint32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputAttributeDescription.offset"),this.memoryView.setUint32(12,e,!0)}}}),VkVertexInputAttributeDescription.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.location&&(this.location=e.location),void 0!==e.binding&&(this.binding=e.binding),void 0!==e.format&&(this.format=e.format),void 0!==e.offset&&(this.offset=e.offset))},VkVertexInputAttributeDescription.prototype.flush=function(){return!0},VkVertexInputAttributeDescription.prototype.reflect=function(e){},VkVertexInputAttributeDescription.createCopyFrom=function(e){let t=new VkVertexInputAttributeDescription;return t.location=e.location,t.binding=e.binding,t.format=e.format,t.offset=e.offset,t},VkVertexInputAttributeDescription.byteLength=16,VkVertexInputAttributeDescription.memoryLayout={location:{byteOffset:0,byteLength:4},binding:{byteOffset:4,byteLength:4},format:{byteOffset:8,byteLength:4},offset:{byteOffset:12,byteLength:4}},Object.defineProperties(VkPipelineVertexInputStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineVertexInputStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineVertexInputStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineVertexInputStateCreateInfo.pNext'");switch(t){case 1000190001:break;default:throw new TypeError("Invalid type for 'VkPipelineVertexInputStateCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineVertexInputStateCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineVertexInputStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},vertexBindingDescriptionCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineVertexInputStateCreateInfo.vertexBindingDescriptionCount"),this.memoryView.setUint32(20,e,!0)}},pVertexBindingDescriptions:{get(){if(null===this._pVertexBindingDescriptions&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.vertexBindingDescriptionCount,VkVertexInputBindingDescription);return this._pVertexBindingDescriptions=e,this.pVertexBindingDescriptions}return this._pVertexBindingDescriptions},set(e){if(null!==e&&e.constructor===Array)this._pVertexBindingDescriptions=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineVertexInputStateCreateInfo.pVertexBindingDescriptions': Expected 'Array VkVertexInputBindingDescription' but got '"+typeToString(e)+"'");this._pVertexBindingDescriptions=null}}},vertexAttributeDescriptionCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineVertexInputStateCreateInfo.vertexAttributeDescriptionCount"),this.memoryView.setUint32(32,e,!0)}},pVertexAttributeDescriptions:{get(){if(null===this._pVertexAttributeDescriptions&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.vertexAttributeDescriptionCount,VkVertexInputAttributeDescription);return this._pVertexAttributeDescriptions=e,this.pVertexAttributeDescriptions}return this._pVertexAttributeDescriptions},set(e){if(null!==e&&e.constructor===Array)this._pVertexAttributeDescriptions=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineVertexInputStateCreateInfo.pVertexAttributeDescriptions': Expected 'Array VkVertexInputAttributeDescription' but got '"+typeToString(e)+"'");this._pVertexAttributeDescriptions=null}}}}),VkPipelineVertexInputStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pVertexBindingDescriptions=null,this._pVertexBindingDescriptionsNative=null,this._pVertexAttributeDescriptions=null,this._pVertexAttributeDescriptionsNative=null,this.sType=19,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.vertexBindingDescriptionCount&&(this.vertexBindingDescriptionCount=e.vertexBindingDescriptionCount),void 0!==e.pVertexBindingDescriptions&&(this.pVertexBindingDescriptions=e.pVertexBindingDescriptions),void 0!==e.vertexAttributeDescriptionCount&&(this.vertexAttributeDescriptionCount=e.vertexAttributeDescriptionCount),void 0!==e.pVertexAttributeDescriptions&&(this.pVertexAttributeDescriptions=e.pVertexAttributeDescriptions))},VkPipelineVertexInputStateCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pVertexBindingDescriptions){let e=this._pVertexBindingDescriptions;if(e.length!==this.vertexBindingDescriptionCount)throw new RangeError("Invalid array length, expected length of 'vertexBindingDescriptionCount' for 'VkPipelineVertexInputStateCreateInfo.pVertexBindingDescriptions'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pVertexBindingDescriptionsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pVertexBindingDescriptionsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pVertexAttributeDescriptions){let e=this._pVertexAttributeDescriptions;if(e.length!==this.vertexAttributeDescriptionCount)throw new RangeError("Invalid array length, expected length of 'vertexAttributeDescriptionCount' for 'VkPipelineVertexInputStateCreateInfo.pVertexAttributeDescriptions'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pVertexAttributeDescriptionsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pVertexAttributeDescriptionsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkPipelineVertexInputStateCreateInfo.prototype.reflect=function(e){},VkPipelineVertexInputStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineVertexInputStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.vertexBindingDescriptionCount=e.vertexBindingDescriptionCount,null!==e.pVertexBindingDescriptions&&(t.pVertexBindingDescriptions=[...Array(e.pVertexBindingDescriptions.length)].map((t,r)=>e.pVertexBindingDescriptions[r].constructor.createCopyFrom(e.pVertexBindingDescriptions[r]))),t.vertexAttributeDescriptionCount=e.vertexAttributeDescriptionCount,null!==e.pVertexAttributeDescriptions&&(t.pVertexAttributeDescriptions=[...Array(e.pVertexAttributeDescriptions.length)].map((t,r)=>e.pVertexAttributeDescriptions[r].constructor.createCopyFrom(e.pVertexAttributeDescriptions[r]))),t},VkPipelineVertexInputStateCreateInfo.byteLength=48,VkPipelineVertexInputStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},vertexBindingDescriptionCount:{byteOffset:20,byteLength:4},pVertexBindingDescriptions:{byteOffset:24,byteLength:8},vertexAttributeDescriptionCount:{byteOffset:32,byteLength:4},pVertexAttributeDescriptions:{byteOffset:40,byteLength:8}},Object.defineProperties(VkPipelineInputAssemblyStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineInputAssemblyStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineInputAssemblyStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineInputAssemblyStateCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineInputAssemblyStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},topology:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineInputAssemblyStateCreateInfo.topology"),!$VAL_R_VkPrimitiveTopology(e))throw new RangeError("Invalid value for 'VkPipelineInputAssemblyStateCreateInfo.topology': '"+e+"' is not a value of 'VkPrimitiveTopology'");this.memoryView.setInt32(20,e,!0)}},primitiveRestartEnable:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPipelineInputAssemblyStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=20,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.topology&&(this.topology=e.topology),void 0!==e.primitiveRestartEnable&&(this.primitiveRestartEnable=e.primitiveRestartEnable))},VkPipelineInputAssemblyStateCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineInputAssemblyStateCreateInfo.prototype.reflect=function(e){},VkPipelineInputAssemblyStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineInputAssemblyStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.topology=e.topology,t.primitiveRestartEnable=e.primitiveRestartEnable,t},VkPipelineInputAssemblyStateCreateInfo.byteLength=32,VkPipelineInputAssemblyStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},topology:{byteOffset:20,byteLength:4},primitiveRestartEnable:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPipelineTessellationStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineTessellationStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineTessellationStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineTessellationStateCreateInfo.pNext'");switch(t){case 1000117003:break;default:throw new TypeError("Invalid type for 'VkPipelineTessellationStateCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineTessellationStateCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineTessellationStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},patchControlPoints:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineTessellationStateCreateInfo.patchControlPoints"),this.memoryView.setUint32(20,e,!0)}}}),VkPipelineTessellationStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=21,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.patchControlPoints&&(this.patchControlPoints=e.patchControlPoints))},VkPipelineTessellationStateCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineTessellationStateCreateInfo.prototype.reflect=function(e){},VkPipelineTessellationStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineTessellationStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.patchControlPoints=e.patchControlPoints,t},VkPipelineTessellationStateCreateInfo.byteLength=24,VkPipelineTessellationStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},patchControlPoints:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPipelineViewportStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineViewportStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineViewportStateCreateInfo.pNext'");switch(t){case 1000087e3:case 1000098e3:case 1000205e3:case 1000164e3:case 1000164005:break;default:throw new TypeError("Invalid type for 'VkPipelineViewportStateCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportStateCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},viewportCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportStateCreateInfo.viewportCount"),this.memoryView.setUint32(20,e,!0)}},pViewports:{get(){if(null===this._pViewports&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.viewportCount,VkViewport);return this._pViewports=e,this.pViewports}return this._pViewports},set(e){if(null!==e&&e.constructor===Array)this._pViewports=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportStateCreateInfo.pViewports': Expected 'Array VkViewport' but got '"+typeToString(e)+"'");this._pViewports=null}}},scissorCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportStateCreateInfo.scissorCount"),this.memoryView.setUint32(32,e,!0)}},pScissors:{get(){if(null===this._pScissors&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.scissorCount,VkRect2D);return this._pScissors=e,this.pScissors}return this._pScissors},set(e){if(null!==e&&e.constructor===Array)this._pScissors=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportStateCreateInfo.pScissors': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pScissors=null}}}}),VkPipelineViewportStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pViewports=null,this._pViewportsNative=null,this._pScissors=null,this._pScissorsNative=null,this.sType=22,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pViewports&&(this.pViewports=e.pViewports),void 0!==e.scissorCount&&(this.scissorCount=e.scissorCount),void 0!==e.pScissors&&(this.pScissors=e.pScissors))},VkPipelineViewportStateCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pViewports){let e=this._pViewports;if(e.length!==this.viewportCount)throw new RangeError("Invalid array length, expected length of 'viewportCount' for 'VkPipelineViewportStateCreateInfo.pViewports'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pViewportsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pViewportsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pScissors){let e=this._pScissors;if(e.length!==this.scissorCount)throw new RangeError("Invalid array length, expected length of 'scissorCount' for 'VkPipelineViewportStateCreateInfo.pScissors'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pScissorsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pScissorsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkPipelineViewportStateCreateInfo.prototype.reflect=function(e){},VkPipelineViewportStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineViewportStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.viewportCount=e.viewportCount,null!==e.pViewports&&(t.pViewports=[...Array(e.pViewports.length)].map((t,r)=>e.pViewports[r].constructor.createCopyFrom(e.pViewports[r]))),t.scissorCount=e.scissorCount,null!==e.pScissors&&(t.pScissors=[...Array(e.pScissors.length)].map((t,r)=>e.pScissors[r].constructor.createCopyFrom(e.pScissors[r]))),t},VkPipelineViewportStateCreateInfo.byteLength=48,VkPipelineViewportStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},viewportCount:{byteOffset:20,byteLength:4},pViewports:{byteOffset:24,byteLength:8},scissorCount:{byteOffset:32,byteLength:4},pScissors:{byteOffset:40,byteLength:8}},Object.defineProperties(VkPipelineRasterizationStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineRasterizationStateCreateInfo.pNext'");switch(t){case 1000018e3:case 1000101001:case 1000028002:case 1000102001:case 1000259001:break;default:throw new TypeError("Invalid type for 'VkPipelineRasterizationStateCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineRasterizationStateCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},depthClampEnable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},rasterizerDiscardEnable:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},polygonMode:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.polygonMode"),!$VAL_R_VkPolygonMode(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationStateCreateInfo.polygonMode': '"+e+"' is not a value of 'VkPolygonMode'");this.memoryView.setInt32(28,e,!0)}},cullMode:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.cullMode"),this.memoryView.setInt32(32,e,!0)}},frontFace:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.frontFace"),!$VAL_R_VkFrontFace(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationStateCreateInfo.frontFace': '"+e+"' is not a value of 'VkFrontFace'");this.memoryView.setInt32(36,e,!0)}},depthBiasEnable:{get(){return 0!==this.memoryView.getUint32(40,!0)},set(e){this.memoryView.setUint32(40,0|e,!0)}},depthBiasConstantFactor:{get(){return this.memoryView.getFloat32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.depthBiasConstantFactor"),this.memoryView.setFloat32(44,e,!0)}},depthBiasClamp:{get(){return this.memoryView.getFloat32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.depthBiasClamp"),this.memoryView.setFloat32(48,e,!0)}},depthBiasSlopeFactor:{get(){return this.memoryView.getFloat32(52,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.depthBiasSlopeFactor"),this.memoryView.setFloat32(52,e,!0)}},lineWidth:{get(){return this.memoryView.getFloat32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateCreateInfo.lineWidth"),this.memoryView.setFloat32(56,e,!0)}}}),VkPipelineRasterizationStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this.sType=23,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.depthClampEnable&&(this.depthClampEnable=e.depthClampEnable),void 0!==e.rasterizerDiscardEnable&&(this.rasterizerDiscardEnable=e.rasterizerDiscardEnable),void 0!==e.polygonMode&&(this.polygonMode=e.polygonMode),void 0!==e.cullMode&&(this.cullMode=e.cullMode),void 0!==e.frontFace&&(this.frontFace=e.frontFace),void 0!==e.depthBiasEnable&&(this.depthBiasEnable=e.depthBiasEnable),void 0!==e.depthBiasConstantFactor&&(this.depthBiasConstantFactor=e.depthBiasConstantFactor),void 0!==e.depthBiasClamp&&(this.depthBiasClamp=e.depthBiasClamp),void 0!==e.depthBiasSlopeFactor&&(this.depthBiasSlopeFactor=e.depthBiasSlopeFactor),void 0!==e.lineWidth&&(this.lineWidth=e.lineWidth))},VkPipelineRasterizationStateCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineRasterizationStateCreateInfo.prototype.reflect=function(e){},VkPipelineRasterizationStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineRasterizationStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.depthClampEnable=e.depthClampEnable,t.rasterizerDiscardEnable=e.rasterizerDiscardEnable,t.polygonMode=e.polygonMode,t.cullMode=e.cullMode,t.frontFace=e.frontFace,t.depthBiasEnable=e.depthBiasEnable,t.depthBiasConstantFactor=e.depthBiasConstantFactor,t.depthBiasClamp=e.depthBiasClamp,t.depthBiasSlopeFactor=e.depthBiasSlopeFactor,t.lineWidth=e.lineWidth,t},VkPipelineRasterizationStateCreateInfo.byteLength=64,VkPipelineRasterizationStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},depthClampEnable:{byteOffset:20,byteLength:4},rasterizerDiscardEnable:{byteOffset:24,byteLength:4},polygonMode:{byteOffset:28,byteLength:4},cullMode:{byteOffset:32,byteLength:4},frontFace:{byteOffset:36,byteLength:4},depthBiasEnable:{byteOffset:40,byteLength:4},depthBiasConstantFactor:{byteOffset:44,byteLength:4},depthBiasClamp:{byteOffset:48,byteLength:4},depthBiasSlopeFactor:{byteOffset:52,byteLength:4},lineWidth:{byteOffset:56,byteLength:4}},Object.defineProperties(VkPipelineMultisampleStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineMultisampleStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineMultisampleStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineMultisampleStateCreateInfo.pNext'");switch(t){case 1000149e3:case 1000143002:case 1000152e3:case 1000250001:break;default:throw new TypeError("Invalid type for 'VkPipelineMultisampleStateCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineMultisampleStateCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineMultisampleStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},rasterizationSamples:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineMultisampleStateCreateInfo.rasterizationSamples"),this.memoryView.setInt32(20,e,!0)}},sampleShadingEnable:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},minSampleShading:{get(){return this.memoryView.getFloat32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineMultisampleStateCreateInfo.minSampleShading"),this.memoryView.setFloat32(28,e,!0)}},pSampleMask:{get(){return this._pSampleMask},set(e){if(null!==e&&e.constructor===Uint32Array)this._pSampleMask=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineMultisampleStateCreateInfo.pSampleMask': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pSampleMask=null,this.memoryView.setBigInt64(32,BI0,!0)}}},alphaToCoverageEnable:{get(){return 0!==this.memoryView.getUint32(40,!0)},set(e){this.memoryView.setUint32(40,0|e,!0)}},alphaToOneEnable:{get(){return 0!==this.memoryView.getUint32(44,!0)},set(e){this.memoryView.setUint32(44,0|e,!0)}}}),VkPipelineMultisampleStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pSampleMask=null,this.sType=24,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.rasterizationSamples&&(this.rasterizationSamples=e.rasterizationSamples),void 0!==e.sampleShadingEnable&&(this.sampleShadingEnable=e.sampleShadingEnable),void 0!==e.minSampleShading&&(this.minSampleShading=e.minSampleShading),void 0!==e.pSampleMask&&(this.pSampleMask=e.pSampleMask),void 0!==e.alphaToCoverageEnable&&(this.alphaToCoverageEnable=e.alphaToCoverageEnable),void 0!==e.alphaToOneEnable&&(this.alphaToOneEnable=e.alphaToOneEnable))},VkPipelineMultisampleStateCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineMultisampleStateCreateInfo.prototype.reflect=function(e){},VkPipelineMultisampleStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineMultisampleStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.rasterizationSamples=e.rasterizationSamples,t.sampleShadingEnable=e.sampleShadingEnable,t.minSampleShading=e.minSampleShading,null!==e.pSampleMask&&(t.pSampleMask=new Uint32Array(e.pSampleMask)),t.alphaToCoverageEnable=e.alphaToCoverageEnable,t.alphaToOneEnable=e.alphaToOneEnable,t},VkPipelineMultisampleStateCreateInfo.byteLength=48,VkPipelineMultisampleStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},rasterizationSamples:{byteOffset:20,byteLength:4},sampleShadingEnable:{byteOffset:24,byteLength:4},minSampleShading:{byteOffset:28,byteLength:4},pSampleMask:{byteOffset:32,byteLength:8},alphaToCoverageEnable:{byteOffset:40,byteLength:4},alphaToOneEnable:{byteOffset:44,byteLength:4}},Object.defineProperties(VkPipelineColorBlendAttachmentState.prototype,{blendEnable:{get(){return 0!==this.memoryView.getUint32(0,!0)},set(e){this.memoryView.setUint32(0,0|e,!0)}},srcColorBlendFactor:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.srcColorBlendFactor"),!$VAL_R_VkBlendFactor(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAttachmentState.srcColorBlendFactor': '"+e+"' is not a value of 'VkBlendFactor'");this.memoryView.setInt32(4,e,!0)}},dstColorBlendFactor:{get(){return this.memoryView.getInt32(8,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.dstColorBlendFactor"),!$VAL_R_VkBlendFactor(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAttachmentState.dstColorBlendFactor': '"+e+"' is not a value of 'VkBlendFactor'");this.memoryView.setInt32(8,e,!0)}},colorBlendOp:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.colorBlendOp"),!$VAL_R_VkBlendOp(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAttachmentState.colorBlendOp': '"+e+"' is not a value of 'VkBlendOp'");this.memoryView.setInt32(12,e,!0)}},srcAlphaBlendFactor:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.srcAlphaBlendFactor"),!$VAL_R_VkBlendFactor(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAttachmentState.srcAlphaBlendFactor': '"+e+"' is not a value of 'VkBlendFactor'");this.memoryView.setInt32(16,e,!0)}},dstAlphaBlendFactor:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.dstAlphaBlendFactor"),!$VAL_R_VkBlendFactor(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAttachmentState.dstAlphaBlendFactor': '"+e+"' is not a value of 'VkBlendFactor'");this.memoryView.setInt32(20,e,!0)}},alphaBlendOp:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.alphaBlendOp"),!$VAL_R_VkBlendOp(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAttachmentState.alphaBlendOp': '"+e+"' is not a value of 'VkBlendOp'");this.memoryView.setInt32(24,e,!0)}},colorWriteMask:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAttachmentState.colorWriteMask"),this.memoryView.setInt32(28,e,!0)}}}),VkPipelineColorBlendAttachmentState.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),"object"==typeof e&&(void 0!==e.blendEnable&&(this.blendEnable=e.blendEnable),void 0!==e.srcColorBlendFactor&&(this.srcColorBlendFactor=e.srcColorBlendFactor),void 0!==e.dstColorBlendFactor&&(this.dstColorBlendFactor=e.dstColorBlendFactor),void 0!==e.colorBlendOp&&(this.colorBlendOp=e.colorBlendOp),void 0!==e.srcAlphaBlendFactor&&(this.srcAlphaBlendFactor=e.srcAlphaBlendFactor),void 0!==e.dstAlphaBlendFactor&&(this.dstAlphaBlendFactor=e.dstAlphaBlendFactor),void 0!==e.alphaBlendOp&&(this.alphaBlendOp=e.alphaBlendOp),void 0!==e.colorWriteMask&&(this.colorWriteMask=e.colorWriteMask))},VkPipelineColorBlendAttachmentState.prototype.flush=function(){return!0},VkPipelineColorBlendAttachmentState.prototype.reflect=function(e){},VkPipelineColorBlendAttachmentState.createCopyFrom=function(e){let t=new VkPipelineColorBlendAttachmentState;return t.blendEnable=e.blendEnable,t.srcColorBlendFactor=e.srcColorBlendFactor,t.dstColorBlendFactor=e.dstColorBlendFactor,t.colorBlendOp=e.colorBlendOp,t.srcAlphaBlendFactor=e.srcAlphaBlendFactor,t.dstAlphaBlendFactor=e.dstAlphaBlendFactor,t.alphaBlendOp=e.alphaBlendOp,t.colorWriteMask=e.colorWriteMask,t},VkPipelineColorBlendAttachmentState.byteLength=32,VkPipelineColorBlendAttachmentState.memoryLayout={blendEnable:{byteOffset:0,byteLength:4},srcColorBlendFactor:{byteOffset:4,byteLength:4},dstColorBlendFactor:{byteOffset:8,byteLength:4},colorBlendOp:{byteOffset:12,byteLength:4},srcAlphaBlendFactor:{byteOffset:16,byteLength:4},dstAlphaBlendFactor:{byteOffset:20,byteLength:4},alphaBlendOp:{byteOffset:24,byteLength:4},colorWriteMask:{byteOffset:28,byteLength:4}},Object.defineProperties(VkPipelineColorBlendStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPipelineColorBlendStateCreateInfo.pNext'");switch(t){case 1000148002:break;default:throw new TypeError("Invalid type for 'VkPipelineColorBlendStateCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineColorBlendStateCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineColorBlendStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},logicOpEnable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},logicOp:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendStateCreateInfo.logicOp"),!$VAL_R_VkLogicOp(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendStateCreateInfo.logicOp': '"+e+"' is not a value of 'VkLogicOp'");this.memoryView.setInt32(24,e,!0)}},attachmentCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineColorBlendStateCreateInfo.attachmentCount"),this.memoryView.setUint32(28,e,!0)}},pAttachments:{get(){if(null===this._pAttachments&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.attachmentCount,VkPipelineColorBlendAttachmentState);return this._pAttachments=e,this.pAttachments}return this._pAttachments},set(e){if(null!==e&&e.constructor===Array)this._pAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineColorBlendStateCreateInfo.pAttachments': Expected 'Array VkPipelineColorBlendAttachmentState' but got '"+typeToString(e)+"'");this._pAttachments=null}}},blendConstants:{get(){return this._blendConstants},set(e){if(null!==e&&e.constructor===Array)this._blendConstants=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineColorBlendStateCreateInfo.blendConstants': Expected 'Array float' but got '"+typeToString(e)+"'");this._blendConstants=null}}}}),VkPipelineColorBlendStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,null!==this._blendConstants?this._blendConstants.fill(0):this._blendConstants=[...Array(4)].fill(0),this.sType=26,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.logicOpEnable&&(this.logicOpEnable=e.logicOpEnable),void 0!==e.logicOp&&(this.logicOp=e.logicOp),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.blendConstants&&(this.blendConstants=e.blendConstants))},VkPipelineColorBlendStateCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachments){let e=this._pAttachments;if(e.length!==this.attachmentCount)throw new RangeError("Invalid array length, expected length of 'attachmentCount' for 'VkPipelineColorBlendStateCreateInfo.pAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentsNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pAttachmentsNative=null,this.memoryView.setBigInt64(32,BI0,!0)}if(null!==this._blendConstants){let e=this._blendConstants;if(4!==e.length)throw new RangeError("Invalid array length, expected length of '4' for 'VkPipelineColorBlendStateCreateInfo.blendConstants'");for(let t=0;te.pAttachments[r].constructor.createCopyFrom(e.pAttachments[r]))),null!==e.blendConstants&&(t.blendConstants=[...Array(e.blendConstants.length)].map((t,r)=>e.blendConstants[r])),t},VkPipelineColorBlendStateCreateInfo.byteLength=56,VkPipelineColorBlendStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},logicOpEnable:{byteOffset:20,byteLength:4},logicOp:{byteOffset:24,byteLength:4},attachmentCount:{byteOffset:28,byteLength:4},pAttachments:{byteOffset:32,byteLength:8},blendConstants:{byteOffset:40,byteLength:16}},Object.defineProperties(VkPipelineDynamicStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineDynamicStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineDynamicStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineDynamicStateCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDynamicStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},dynamicStateCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDynamicStateCreateInfo.dynamicStateCount"),this.memoryView.setUint32(20,e,!0)}},pDynamicStates:{get(){return this._pDynamicStates},set(e){if(null!==e&&e.constructor===Int32Array)this._pDynamicStates=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineDynamicStateCreateInfo.pDynamicStates': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pDynamicStates=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkPipelineDynamicStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDynamicStates=null,this.sType=27,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.dynamicStateCount&&(this.dynamicStateCount=e.dynamicStateCount),void 0!==e.pDynamicStates&&(this.pDynamicStates=e.pDynamicStates))},VkPipelineDynamicStateCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineDynamicStateCreateInfo.prototype.reflect=function(e){},VkPipelineDynamicStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineDynamicStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.dynamicStateCount=e.dynamicStateCount,null!==e.pDynamicStates&&(t.pDynamicStates=new Int32Array(e.pDynamicStates)),t},VkPipelineDynamicStateCreateInfo.byteLength=32,VkPipelineDynamicStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},dynamicStateCount:{byteOffset:20,byteLength:4},pDynamicStates:{byteOffset:24,byteLength:8}},Object.defineProperties(VkStencilOpState.prototype,{failOp:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkStencilOpState.failOp"),!$VAL_R_VkStencilOp(e))throw new RangeError("Invalid value for 'VkStencilOpState.failOp': '"+e+"' is not a value of 'VkStencilOp'");this.memoryView.setInt32(0,e,!0)}},passOp:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkStencilOpState.passOp"),!$VAL_R_VkStencilOp(e))throw new RangeError("Invalid value for 'VkStencilOpState.passOp': '"+e+"' is not a value of 'VkStencilOp'");this.memoryView.setInt32(4,e,!0)}},depthFailOp:{get(){return this.memoryView.getInt32(8,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkStencilOpState.depthFailOp"),!$VAL_R_VkStencilOp(e))throw new RangeError("Invalid value for 'VkStencilOpState.depthFailOp': '"+e+"' is not a value of 'VkStencilOp'");this.memoryView.setInt32(8,e,!0)}},compareOp:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkStencilOpState.compareOp"),!$VAL_R_VkCompareOp(e))throw new RangeError("Invalid value for 'VkStencilOpState.compareOp': '"+e+"' is not a value of 'VkCompareOp'");this.memoryView.setInt32(12,e,!0)}},compareMask:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkStencilOpState.compareMask"),this.memoryView.setUint32(16,e,!0)}},writeMask:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkStencilOpState.writeMask"),this.memoryView.setUint32(20,e,!0)}},reference:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkStencilOpState.reference"),this.memoryView.setUint32(24,e,!0)}}}),VkStencilOpState.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,28)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x1C"],0),"object"==typeof e&&(void 0!==e.failOp&&(this.failOp=e.failOp),void 0!==e.passOp&&(this.passOp=e.passOp),void 0!==e.depthFailOp&&(this.depthFailOp=e.depthFailOp),void 0!==e.compareOp&&(this.compareOp=e.compareOp),void 0!==e.compareMask&&(this.compareMask=e.compareMask),void 0!==e.writeMask&&(this.writeMask=e.writeMask),void 0!==e.reference&&(this.reference=e.reference))},VkStencilOpState.prototype.flush=function(){return!0},VkStencilOpState.prototype.reflect=function(e){},VkStencilOpState.createCopyFrom=function(e){let t=new VkStencilOpState;return t.failOp=e.failOp,t.passOp=e.passOp,t.depthFailOp=e.depthFailOp,t.compareOp=e.compareOp,t.compareMask=e.compareMask,t.writeMask=e.writeMask,t.reference=e.reference,t},VkStencilOpState.byteLength=28,VkStencilOpState.memoryLayout={failOp:{byteOffset:0,byteLength:4},passOp:{byteOffset:4,byteLength:4},depthFailOp:{byteOffset:8,byteLength:4},compareOp:{byteOffset:12,byteLength:4},compareMask:{byteOffset:16,byteLength:4},writeMask:{byteOffset:20,byteLength:4},reference:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPipelineDepthStencilStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineDepthStencilStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineDepthStencilStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineDepthStencilStateCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDepthStencilStateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},depthTestEnable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},depthWriteEnable:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},depthCompareOp:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineDepthStencilStateCreateInfo.depthCompareOp"),!$VAL_R_VkCompareOp(e))throw new RangeError("Invalid value for 'VkPipelineDepthStencilStateCreateInfo.depthCompareOp': '"+e+"' is not a value of 'VkCompareOp'");this.memoryView.setInt32(28,e,!0)}},depthBoundsTestEnable:{get(){return 0!==this.memoryView.getUint32(32,!0)},set(e){this.memoryView.setUint32(32,0|e,!0)}},stencilTestEnable:{get(){return 0!==this.memoryView.getUint32(36,!0)},set(e){this.memoryView.setUint32(36,0|e,!0)}},front:{get(){return this._front},set(e){if(null!==e&&e.constructor===VkStencilOpState)e.flush(),this._front=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineDepthStencilStateCreateInfo.front': Expected 'VkStencilOpState' but got '"+typeToString(e)+"'");this._front=null}}},back:{get(){return this._back},set(e){if(null!==e&&e.constructor===VkStencilOpState)e.flush(),this._back=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineDepthStencilStateCreateInfo.back': Expected 'VkStencilOpState' but got '"+typeToString(e)+"'");this._back=null}}},minDepthBounds:{get(){return this.memoryView.getFloat32(96,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDepthStencilStateCreateInfo.minDepthBounds"),this.memoryView.setFloat32(96,e,!0)}},maxDepthBounds:{get(){return this.memoryView.getFloat32(100,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDepthStencilStateCreateInfo.maxDepthBounds"),this.memoryView.setFloat32(100,e,!0)}}}),VkPipelineDepthStencilStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,104)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x68"],0),this._pNext=null,null!==this._front&&(this.memoryBuffer!==this._front.memoryBuffer?this._front=new VkStencilOpState({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}):this._front.reset()),null!==this._back&&(this.memoryBuffer!==this._back.memoryBuffer?this._back=new VkStencilOpState({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+68}):this._back.reset()),this.sType=25,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.depthTestEnable&&(this.depthTestEnable=e.depthTestEnable),void 0!==e.depthWriteEnable&&(this.depthWriteEnable=e.depthWriteEnable),void 0!==e.depthCompareOp&&(this.depthCompareOp=e.depthCompareOp),void 0!==e.depthBoundsTestEnable&&(this.depthBoundsTestEnable=e.depthBoundsTestEnable),void 0!==e.stencilTestEnable&&(this.stencilTestEnable=e.stencilTestEnable),void 0!==e.front&&(this.front=e.front),void 0!==e.back&&(this.back=e.back),void 0!==e.minDepthBounds&&(this.minDepthBounds=e.minDepthBounds),void 0!==e.maxDepthBounds&&(this.maxDepthBounds=e.maxDepthBounds))},VkPipelineDepthStencilStateCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._front){let e=this._front;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,28);new Uint8Array(this.memoryBuffer).set(t,40),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkPipelineDepthStencilStateCreateInfo.front' isn't used as shared-memory")}}if(null!==this._back){let e=this._back;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,28);new Uint8Array(this.memoryBuffer).set(t,68),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkPipelineDepthStencilStateCreateInfo.back' isn't used as shared-memory")}}return!0},VkPipelineDepthStencilStateCreateInfo.prototype.reflect=function(e){},VkPipelineDepthStencilStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineDepthStencilStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.depthTestEnable=e.depthTestEnable,t.depthWriteEnable=e.depthWriteEnable,t.depthCompareOp=e.depthCompareOp,t.depthBoundsTestEnable=e.depthBoundsTestEnable,t.stencilTestEnable=e.stencilTestEnable,null!==e.front&&(t.front=e.front.constructor.createCopyFrom(e.front)),null!==e.back&&(t.back=e.back.constructor.createCopyFrom(e.back)),t.minDepthBounds=e.minDepthBounds,t.maxDepthBounds=e.maxDepthBounds,t},VkPipelineDepthStencilStateCreateInfo.byteLength=104,VkPipelineDepthStencilStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},depthTestEnable:{byteOffset:20,byteLength:4},depthWriteEnable:{byteOffset:24,byteLength:4},depthCompareOp:{byteOffset:28,byteLength:4},depthBoundsTestEnable:{byteOffset:32,byteLength:4},stencilTestEnable:{byteOffset:36,byteLength:4},front:{byteOffset:40,byteLength:28},back:{byteOffset:68,byteLength:28},minDepthBounds:{byteOffset:96,byteLength:4},maxDepthBounds:{byteOffset:100,byteLength:4}},Object.defineProperties(VkGraphicsPipelineCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGraphicsPipelineCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkGraphicsPipelineCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pNext'");switch(t){case 1000099001:case 1000166001:case 1000192e3:case 1000183e3:break;default:throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGraphicsPipelineCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},stageCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGraphicsPipelineCreateInfo.stageCount"),this.memoryView.setUint32(20,e,!0)}},pStages:{get(){if(null===this._pStages&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.stageCount,VkPipelineShaderStageCreateInfo);return this._pStages=e,this.pStages}return this._pStages},set(e){if(null!==e&&e.constructor===Array)this._pStages=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pStages': Expected 'Array VkPipelineShaderStageCreateInfo' but got '"+typeToString(e)+"'");this._pStages=null}}},pVertexInputState:{get(){if(null===this._pVertexInputState&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineVertexInputStateCreateInfo.byteLength));return this._pVertexInputState=new VkPipelineVertexInputStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(32,this._pVertexInputState.memoryAddress,!0),this.pVertexInputState}return this._pVertexInputState},set(e){if(null!==e&&e.constructor===VkPipelineVertexInputStateCreateInfo)e.flush(),this._pVertexInputState=e,this.memoryView.setBigInt64(32,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pVertexInputState': Expected 'VkPipelineVertexInputStateCreateInfo' but got '"+typeToString(e)+"'");this._pVertexInputState=null,this.memoryView.setBigInt64(32,BI0,!0)}}},pInputAssemblyState:{get(){if(null===this._pInputAssemblyState&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=this.memoryView.getBigInt64(40,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineInputAssemblyStateCreateInfo.byteLength));return this._pInputAssemblyState=new VkPipelineInputAssemblyStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(40,this._pInputAssemblyState.memoryAddress,!0),this.pInputAssemblyState}return this._pInputAssemblyState},set(e){if(null!==e&&e.constructor===VkPipelineInputAssemblyStateCreateInfo)e.flush(),this._pInputAssemblyState=e,this.memoryView.setBigInt64(40,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pInputAssemblyState': Expected 'VkPipelineInputAssemblyStateCreateInfo' but got '"+typeToString(e)+"'");this._pInputAssemblyState=null,this.memoryView.setBigInt64(40,BI0,!0)}}},pTessellationState:{get(){if(null===this._pTessellationState&&this.memoryView.getBigInt64(48,!0)!==BI0){let e=this.memoryView.getBigInt64(48,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineTessellationStateCreateInfo.byteLength));return this._pTessellationState=new VkPipelineTessellationStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(48,this._pTessellationState.memoryAddress,!0),this.pTessellationState}return this._pTessellationState},set(e){if(null!==e&&e.constructor===VkPipelineTessellationStateCreateInfo)e.flush(),this._pTessellationState=e,this.memoryView.setBigInt64(48,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pTessellationState': Expected 'VkPipelineTessellationStateCreateInfo' but got '"+typeToString(e)+"'");this._pTessellationState=null,this.memoryView.setBigInt64(48,BI0,!0)}}},pViewportState:{get(){if(null===this._pViewportState&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=this.memoryView.getBigInt64(56,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineViewportStateCreateInfo.byteLength));return this._pViewportState=new VkPipelineViewportStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(56,this._pViewportState.memoryAddress,!0),this.pViewportState}return this._pViewportState},set(e){if(null!==e&&e.constructor===VkPipelineViewportStateCreateInfo)e.flush(),this._pViewportState=e,this.memoryView.setBigInt64(56,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pViewportState': Expected 'VkPipelineViewportStateCreateInfo' but got '"+typeToString(e)+"'");this._pViewportState=null,this.memoryView.setBigInt64(56,BI0,!0)}}},pRasterizationState:{get(){if(null===this._pRasterizationState&&this.memoryView.getBigInt64(64,!0)!==BI0){let e=this.memoryView.getBigInt64(64,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineRasterizationStateCreateInfo.byteLength));return this._pRasterizationState=new VkPipelineRasterizationStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(64,this._pRasterizationState.memoryAddress,!0),this.pRasterizationState}return this._pRasterizationState},set(e){if(null!==e&&e.constructor===VkPipelineRasterizationStateCreateInfo)e.flush(),this._pRasterizationState=e,this.memoryView.setBigInt64(64,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pRasterizationState': Expected 'VkPipelineRasterizationStateCreateInfo' but got '"+typeToString(e)+"'");this._pRasterizationState=null,this.memoryView.setBigInt64(64,BI0,!0)}}},pMultisampleState:{get(){if(null===this._pMultisampleState&&this.memoryView.getBigInt64(72,!0)!==BI0){let e=this.memoryView.getBigInt64(72,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineMultisampleStateCreateInfo.byteLength));return this._pMultisampleState=new VkPipelineMultisampleStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(72,this._pMultisampleState.memoryAddress,!0),this.pMultisampleState}return this._pMultisampleState},set(e){if(null!==e&&e.constructor===VkPipelineMultisampleStateCreateInfo)e.flush(),this._pMultisampleState=e,this.memoryView.setBigInt64(72,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pMultisampleState': Expected 'VkPipelineMultisampleStateCreateInfo' but got '"+typeToString(e)+"'");this._pMultisampleState=null,this.memoryView.setBigInt64(72,BI0,!0)}}},pDepthStencilState:{get(){if(null===this._pDepthStencilState&&this.memoryView.getBigInt64(80,!0)!==BI0){let e=this.memoryView.getBigInt64(80,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineDepthStencilStateCreateInfo.byteLength));return this._pDepthStencilState=new VkPipelineDepthStencilStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(80,this._pDepthStencilState.memoryAddress,!0),this.pDepthStencilState}return this._pDepthStencilState},set(e){if(null!==e&&e.constructor===VkPipelineDepthStencilStateCreateInfo)e.flush(),this._pDepthStencilState=e,this.memoryView.setBigInt64(80,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pDepthStencilState': Expected 'VkPipelineDepthStencilStateCreateInfo' but got '"+typeToString(e)+"'");this._pDepthStencilState=null,this.memoryView.setBigInt64(80,BI0,!0)}}},pColorBlendState:{get(){if(null===this._pColorBlendState&&this.memoryView.getBigInt64(88,!0)!==BI0){let e=this.memoryView.getBigInt64(88,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineColorBlendStateCreateInfo.byteLength));return this._pColorBlendState=new VkPipelineColorBlendStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(88,this._pColorBlendState.memoryAddress,!0),this.pColorBlendState}return this._pColorBlendState},set(e){if(null!==e&&e.constructor===VkPipelineColorBlendStateCreateInfo)e.flush(),this._pColorBlendState=e,this.memoryView.setBigInt64(88,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pColorBlendState': Expected 'VkPipelineColorBlendStateCreateInfo' but got '"+typeToString(e)+"'");this._pColorBlendState=null,this.memoryView.setBigInt64(88,BI0,!0)}}},pDynamicState:{get(){if(null===this._pDynamicState&&this.memoryView.getBigInt64(96,!0)!==BI0){let e=this.memoryView.getBigInt64(96,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineDynamicStateCreateInfo.byteLength));return this._pDynamicState=new VkPipelineDynamicStateCreateInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(96,this._pDynamicState.memoryAddress,!0),this.pDynamicState}return this._pDynamicState},set(e){if(null!==e&&e.constructor===VkPipelineDynamicStateCreateInfo)e.flush(),this._pDynamicState=e,this.memoryView.setBigInt64(96,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.pDynamicState': Expected 'VkPipelineDynamicStateCreateInfo' but got '"+typeToString(e)+"'");this._pDynamicState=null,this.memoryView.setBigInt64(96,BI0,!0)}}},layout:{get(){return this._layout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._layout=e,this.memoryView.setBigInt64(104,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.layout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._layout=null,this.memoryView.setBigInt64(104,BI0,!0)}}},renderPass:{get(){return this._renderPass},set(e){if(null!==e&&e.constructor===VkRenderPass)this._renderPass=e,this.memoryView.setBigInt64(112,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.renderPass': Expected 'VkRenderPass' but got '"+typeToString(e)+"'");this._renderPass=null,this.memoryView.setBigInt64(112,BI0,!0)}}},subpass:{get(){return this.memoryView.getUint32(120,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGraphicsPipelineCreateInfo.subpass"),this.memoryView.setUint32(120,e,!0)}},basePipelineHandle:{get(){return this._basePipelineHandle},set(e){if(null!==e&&e.constructor===VkPipeline)this._basePipelineHandle=e,this.memoryView.setBigInt64(128,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGraphicsPipelineCreateInfo.basePipelineHandle': Expected 'VkPipeline' but got '"+typeToString(e)+"'");this._basePipelineHandle=null,this.memoryView.setBigInt64(128,BI0,!0)}}},basePipelineIndex:{get(){return this.memoryView.getInt32(136,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGraphicsPipelineCreateInfo.basePipelineIndex"),this.memoryView.setInt32(136,e,!0)}}}),VkGraphicsPipelineCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,144)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x90"],0),this._pNext=null,this._pStages=null,this._pStagesNative=null,this._pVertexInputState=null,this._pInputAssemblyState=null,this._pTessellationState=null,this._pViewportState=null,this._pRasterizationState=null,this._pMultisampleState=null,this._pDepthStencilState=null,this._pColorBlendState=null,this._pDynamicState=null,this._layout=null,this._renderPass=null,this._basePipelineHandle=null,this.sType=28,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stageCount&&(this.stageCount=e.stageCount),void 0!==e.pStages&&(this.pStages=e.pStages),void 0!==e.pVertexInputState&&(this.pVertexInputState=e.pVertexInputState),void 0!==e.pInputAssemblyState&&(this.pInputAssemblyState=e.pInputAssemblyState),void 0!==e.pTessellationState&&(this.pTessellationState=e.pTessellationState),void 0!==e.pViewportState&&(this.pViewportState=e.pViewportState),void 0!==e.pRasterizationState&&(this.pRasterizationState=e.pRasterizationState),void 0!==e.pMultisampleState&&(this.pMultisampleState=e.pMultisampleState),void 0!==e.pDepthStencilState&&(this.pDepthStencilState=e.pDepthStencilState),void 0!==e.pColorBlendState&&(this.pColorBlendState=e.pColorBlendState),void 0!==e.pDynamicState&&(this.pDynamicState=e.pDynamicState),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.basePipelineHandle&&(this.basePipelineHandle=e.basePipelineHandle),void 0!==e.basePipelineIndex&&(this.basePipelineIndex=e.basePipelineIndex))},VkGraphicsPipelineCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pStages){let e=this._pStages;if(e.length!==this.stageCount)throw new RangeError("Invalid array length, expected length of 'stageCount' for 'VkGraphicsPipelineCreateInfo.pStages'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pStagesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pStagesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkGraphicsPipelineCreateInfo.prototype.reflect=function(e){},VkGraphicsPipelineCreateInfo.createCopyFrom=function(e){let t=new VkGraphicsPipelineCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.stageCount=e.stageCount,null!==e.pStages&&(t.pStages=[...Array(e.pStages.length)].map((t,r)=>e.pStages[r].constructor.createCopyFrom(e.pStages[r]))),null!==e.pVertexInputState&&(t.pVertexInputState=e.pVertexInputState.constructor.createCopyFrom(e.pVertexInputState)),null!==e.pInputAssemblyState&&(t.pInputAssemblyState=e.pInputAssemblyState.constructor.createCopyFrom(e.pInputAssemblyState)),null!==e.pTessellationState&&(t.pTessellationState=e.pTessellationState.constructor.createCopyFrom(e.pTessellationState)),null!==e.pViewportState&&(t.pViewportState=e.pViewportState.constructor.createCopyFrom(e.pViewportState)),null!==e.pRasterizationState&&(t.pRasterizationState=e.pRasterizationState.constructor.createCopyFrom(e.pRasterizationState)),null!==e.pMultisampleState&&(t.pMultisampleState=e.pMultisampleState.constructor.createCopyFrom(e.pMultisampleState)),null!==e.pDepthStencilState&&(t.pDepthStencilState=e.pDepthStencilState.constructor.createCopyFrom(e.pDepthStencilState)),null!==e.pColorBlendState&&(t.pColorBlendState=e.pColorBlendState.constructor.createCopyFrom(e.pColorBlendState)),null!==e.pDynamicState&&(t.pDynamicState=e.pDynamicState.constructor.createCopyFrom(e.pDynamicState)),null!==e.layout&&(t.layout=e.layout.constructor.createCopyFrom(e.layout)),null!==e.renderPass&&(t.renderPass=e.renderPass.constructor.createCopyFrom(e.renderPass)),t.subpass=e.subpass,null!==e.basePipelineHandle&&(t.basePipelineHandle=e.basePipelineHandle.constructor.createCopyFrom(e.basePipelineHandle)),t.basePipelineIndex=e.basePipelineIndex,t},VkGraphicsPipelineCreateInfo.byteLength=144,VkGraphicsPipelineCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},stageCount:{byteOffset:20,byteLength:4},pStages:{byteOffset:24,byteLength:8},pVertexInputState:{byteOffset:32,byteLength:8},pInputAssemblyState:{byteOffset:40,byteLength:8},pTessellationState:{byteOffset:48,byteLength:8},pViewportState:{byteOffset:56,byteLength:8},pRasterizationState:{byteOffset:64,byteLength:8},pMultisampleState:{byteOffset:72,byteLength:8},pDepthStencilState:{byteOffset:80,byteLength:8},pColorBlendState:{byteOffset:88,byteLength:8},pDynamicState:{byteOffset:96,byteLength:8},layout:{byteOffset:104,byteLength:8},renderPass:{byteOffset:112,byteLength:8},subpass:{byteOffset:120,byteLength:4},basePipelineHandle:{byteOffset:128,byteLength:8},basePipelineIndex:{byteOffset:136,byteLength:4}},Object.defineProperties(VkPipelineCacheCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCacheCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineCacheCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineCacheCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCacheCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},initialDataSize:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPipelineCacheCreateInfo.initialDataSize"),this.memoryView.setBigInt64(24,BigInt(e),!0)}},pInitialData:{get(){return this._pInitialData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pInitialData=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineCacheCreateInfo.pInitialData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pInitialData=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkPipelineCacheCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pInitialData=null,this.sType=17,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.initialDataSize&&(this.initialDataSize=e.initialDataSize),void 0!==e.pInitialData&&(this.pInitialData=e.pInitialData))},VkPipelineCacheCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineCacheCreateInfo.prototype.reflect=function(e){},VkPipelineCacheCreateInfo.createCopyFrom=function(e){let t=new VkPipelineCacheCreateInfo;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.initialDataSize=e.initialDataSize,null!==e.pInitialData){let r=new ArrayBuffer(e.pInitialData.byteLength);new Uint8Array(r).set(new Uint8Array(e.pInitialData),0),t.pInitialData=r}return t},VkPipelineCacheCreateInfo.byteLength=40,VkPipelineCacheCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},initialDataSize:{byteOffset:24,byteLength:8},pInitialData:{byteOffset:32,byteLength:8}},Object.defineProperties(VkPushConstantRange.prototype,{stageFlags:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPushConstantRange.stageFlags"),this.memoryView.setInt32(0,e,!0)}},offset:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPushConstantRange.offset"),this.memoryView.setUint32(4,e,!0)}},size:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPushConstantRange.size"),this.memoryView.setUint32(8,e,!0)}}}),VkPushConstantRange.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.stageFlags&&(this.stageFlags=e.stageFlags),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.size&&(this.size=e.size))},VkPushConstantRange.prototype.flush=function(){return!0},VkPushConstantRange.prototype.reflect=function(e){},VkPushConstantRange.createCopyFrom=function(e){let t=new VkPushConstantRange;return t.stageFlags=e.stageFlags,t.offset=e.offset,t.size=e.size,t},VkPushConstantRange.byteLength=12,VkPushConstantRange.memoryLayout={stageFlags:{byteOffset:0,byteLength:4},offset:{byteOffset:4,byteLength:4},size:{byteOffset:8,byteLength:4}},Object.defineProperties(VkPipelineLayoutCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineLayoutCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineLayoutCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineLayoutCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineLayoutCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},setLayoutCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineLayoutCreateInfo.setLayoutCount"),this.memoryView.setUint32(20,e,!0)}},pSetLayouts:{get(){if(null===this._pSetLayouts&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.setLayoutCount,VkDescriptorSetLayout);return this._pSetLayouts=e,this.pSetLayouts}return this._pSetLayouts},set(e){if(null!==e&&e.constructor===Array)this._pSetLayouts=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineLayoutCreateInfo.pSetLayouts': Expected 'Array VkDescriptorSetLayout' but got '"+typeToString(e)+"'");this._pSetLayouts=null}}},pushConstantRangeCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineLayoutCreateInfo.pushConstantRangeCount"),this.memoryView.setUint32(32,e,!0)}},pPushConstantRanges:{get(){if(null===this._pPushConstantRanges&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.pushConstantRangeCount,VkPushConstantRange);return this._pPushConstantRanges=e,this.pPushConstantRanges}return this._pPushConstantRanges},set(e){if(null!==e&&e.constructor===Array)this._pPushConstantRanges=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineLayoutCreateInfo.pPushConstantRanges': Expected 'Array VkPushConstantRange' but got '"+typeToString(e)+"'");this._pPushConstantRanges=null}}}}),VkPipelineLayoutCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pSetLayouts=null,this._pSetLayoutsNative=null,this._pPushConstantRanges=null,this._pPushConstantRangesNative=null,this.sType=30,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.setLayoutCount&&(this.setLayoutCount=e.setLayoutCount),void 0!==e.pSetLayouts&&(this.pSetLayouts=e.pSetLayouts),void 0!==e.pushConstantRangeCount&&(this.pushConstantRangeCount=e.pushConstantRangeCount),void 0!==e.pPushConstantRanges&&(this.pPushConstantRanges=e.pPushConstantRanges))},VkPipelineLayoutCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pSetLayouts){let e=this._pSetLayouts;if(e.length!==this.setLayoutCount)throw new RangeError("Invalid array length, expected length of 'setLayoutCount' for 'VkPipelineLayoutCreateInfo.pSetLayouts'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSetLayoutsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pSetLayoutsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pPushConstantRanges){let e=this._pPushConstantRanges;if(e.length!==this.pushConstantRangeCount)throw new RangeError("Invalid array length, expected length of 'pushConstantRangeCount' for 'VkPipelineLayoutCreateInfo.pPushConstantRanges'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPushConstantRangesNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pPushConstantRangesNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkPipelineLayoutCreateInfo.prototype.reflect=function(e){},VkPipelineLayoutCreateInfo.createCopyFrom=function(e){let t=new VkPipelineLayoutCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.setLayoutCount=e.setLayoutCount,null!==e.pSetLayouts&&(t.pSetLayouts=[...Array(e.pSetLayouts.length)].map((t,r)=>e.pSetLayouts[r].constructor.createCopyFrom(e.pSetLayouts[r]))),t.pushConstantRangeCount=e.pushConstantRangeCount,null!==e.pPushConstantRanges&&(t.pPushConstantRanges=[...Array(e.pPushConstantRanges.length)].map((t,r)=>e.pPushConstantRanges[r].constructor.createCopyFrom(e.pPushConstantRanges[r]))),t},VkPipelineLayoutCreateInfo.byteLength=48,VkPipelineLayoutCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},setLayoutCount:{byteOffset:20,byteLength:4},pSetLayouts:{byteOffset:24,byteLength:8},pushConstantRangeCount:{byteOffset:32,byteLength:4},pPushConstantRanges:{byteOffset:40,byteLength:8}},Object.defineProperties(VkSamplerCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSamplerCreateInfo.pNext'");switch(t){case 1000156001:case 1000130001:break;default:throw new TypeError("Invalid type for 'VkSamplerCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},magFilter:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.magFilter"),!$VAL_R_VkFilter(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.magFilter': '"+e+"' is not a value of 'VkFilter'");this.memoryView.setInt32(20,e,!0)}},minFilter:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.minFilter"),!$VAL_R_VkFilter(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.minFilter': '"+e+"' is not a value of 'VkFilter'");this.memoryView.setInt32(24,e,!0)}},mipmapMode:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.mipmapMode"),!$VAL_R_VkSamplerMipmapMode(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.mipmapMode': '"+e+"' is not a value of 'VkSamplerMipmapMode'");this.memoryView.setInt32(28,e,!0)}},addressModeU:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.addressModeU"),!$VAL_R_VkSamplerAddressMode(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.addressModeU': '"+e+"' is not a value of 'VkSamplerAddressMode'");this.memoryView.setInt32(32,e,!0)}},addressModeV:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.addressModeV"),!$VAL_R_VkSamplerAddressMode(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.addressModeV': '"+e+"' is not a value of 'VkSamplerAddressMode'");this.memoryView.setInt32(36,e,!0)}},addressModeW:{get(){return this.memoryView.getInt32(40,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.addressModeW"),!$VAL_R_VkSamplerAddressMode(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.addressModeW': '"+e+"' is not a value of 'VkSamplerAddressMode'");this.memoryView.setInt32(40,e,!0)}},mipLodBias:{get(){return this.memoryView.getFloat32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.mipLodBias"),this.memoryView.setFloat32(44,e,!0)}},anisotropyEnable:{get(){return 0!==this.memoryView.getUint32(48,!0)},set(e){this.memoryView.setUint32(48,0|e,!0)}},maxAnisotropy:{get(){return this.memoryView.getFloat32(52,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.maxAnisotropy"),this.memoryView.setFloat32(52,e,!0)}},compareEnable:{get(){return 0!==this.memoryView.getUint32(56,!0)},set(e){this.memoryView.setUint32(56,0|e,!0)}},compareOp:{get(){return this.memoryView.getInt32(60,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.compareOp"),!$VAL_R_VkCompareOp(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.compareOp': '"+e+"' is not a value of 'VkCompareOp'");this.memoryView.setInt32(60,e,!0)}},minLod:{get(){return this.memoryView.getFloat32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.minLod"),this.memoryView.setFloat32(64,e,!0)}},maxLod:{get(){return this.memoryView.getFloat32(68,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.maxLod"),this.memoryView.setFloat32(68,e,!0)}},borderColor:{get(){return this.memoryView.getInt32(72,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerCreateInfo.borderColor"),!$VAL_R_VkBorderColor(e))throw new RangeError("Invalid value for 'VkSamplerCreateInfo.borderColor': '"+e+"' is not a value of 'VkBorderColor'");this.memoryView.setInt32(72,e,!0)}},unnormalizedCoordinates:{get(){return 0!==this.memoryView.getUint32(76,!0)},set(e){this.memoryView.setUint32(76,0|e,!0)}}}),VkSamplerCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,80)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x50"],0),this._pNext=null,this.sType=31,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.magFilter&&(this.magFilter=e.magFilter),void 0!==e.minFilter&&(this.minFilter=e.minFilter),void 0!==e.mipmapMode&&(this.mipmapMode=e.mipmapMode),void 0!==e.addressModeU&&(this.addressModeU=e.addressModeU),void 0!==e.addressModeV&&(this.addressModeV=e.addressModeV),void 0!==e.addressModeW&&(this.addressModeW=e.addressModeW),void 0!==e.mipLodBias&&(this.mipLodBias=e.mipLodBias),void 0!==e.anisotropyEnable&&(this.anisotropyEnable=e.anisotropyEnable),void 0!==e.maxAnisotropy&&(this.maxAnisotropy=e.maxAnisotropy),void 0!==e.compareEnable&&(this.compareEnable=e.compareEnable),void 0!==e.compareOp&&(this.compareOp=e.compareOp),void 0!==e.minLod&&(this.minLod=e.minLod),void 0!==e.maxLod&&(this.maxLod=e.maxLod),void 0!==e.borderColor&&(this.borderColor=e.borderColor),void 0!==e.unnormalizedCoordinates&&(this.unnormalizedCoordinates=e.unnormalizedCoordinates))},VkSamplerCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSamplerCreateInfo.prototype.reflect=function(e){},VkSamplerCreateInfo.createCopyFrom=function(e){let t=new VkSamplerCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.magFilter=e.magFilter,t.minFilter=e.minFilter,t.mipmapMode=e.mipmapMode,t.addressModeU=e.addressModeU,t.addressModeV=e.addressModeV,t.addressModeW=e.addressModeW,t.mipLodBias=e.mipLodBias,t.anisotropyEnable=e.anisotropyEnable,t.maxAnisotropy=e.maxAnisotropy,t.compareEnable=e.compareEnable,t.compareOp=e.compareOp,t.minLod=e.minLod,t.maxLod=e.maxLod,t.borderColor=e.borderColor,t.unnormalizedCoordinates=e.unnormalizedCoordinates,t},VkSamplerCreateInfo.byteLength=80,VkSamplerCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},magFilter:{byteOffset:20,byteLength:4},minFilter:{byteOffset:24,byteLength:4},mipmapMode:{byteOffset:28,byteLength:4},addressModeU:{byteOffset:32,byteLength:4},addressModeV:{byteOffset:36,byteLength:4},addressModeW:{byteOffset:40,byteLength:4},mipLodBias:{byteOffset:44,byteLength:4},anisotropyEnable:{byteOffset:48,byteLength:4},maxAnisotropy:{byteOffset:52,byteLength:4},compareEnable:{byteOffset:56,byteLength:4},compareOp:{byteOffset:60,byteLength:4},minLod:{byteOffset:64,byteLength:4},maxLod:{byteOffset:68,byteLength:4},borderColor:{byteOffset:72,byteLength:4},unnormalizedCoordinates:{byteOffset:76,byteLength:4}},Object.defineProperties(VkCommandPoolCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCommandPoolCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCommandPoolCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCommandPoolCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandPoolCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},queueFamilyIndex:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandPoolCreateInfo.queueFamilyIndex"),this.memoryView.setUint32(20,e,!0)}}}),VkCommandPoolCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=39,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.queueFamilyIndex&&(this.queueFamilyIndex=e.queueFamilyIndex))},VkCommandPoolCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCommandPoolCreateInfo.prototype.reflect=function(e){},VkCommandPoolCreateInfo.createCopyFrom=function(e){let t=new VkCommandPoolCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.queueFamilyIndex=e.queueFamilyIndex,t},VkCommandPoolCreateInfo.byteLength=24,VkCommandPoolCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},queueFamilyIndex:{byteOffset:20,byteLength:4}},Object.defineProperties(VkCommandBufferAllocateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCommandBufferAllocateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCommandBufferAllocateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCommandBufferAllocateInfo.pNext' isn't allowed to be filled")}},commandPool:{get(){return this._commandPool},set(e){if(null!==e&&e.constructor===VkCommandPool)this._commandPool=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCommandBufferAllocateInfo.commandPool': Expected 'VkCommandPool' but got '"+typeToString(e)+"'");this._commandPool=null,this.memoryView.setBigInt64(16,BI0,!0)}}},level:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCommandBufferAllocateInfo.level"),!$VAL_R_VkCommandBufferLevel(e))throw new RangeError("Invalid value for 'VkCommandBufferAllocateInfo.level': '"+e+"' is not a value of 'VkCommandBufferLevel'");this.memoryView.setInt32(24,e,!0)}},commandBufferCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandBufferAllocateInfo.commandBufferCount"),this.memoryView.setUint32(28,e,!0)}}}),VkCommandBufferAllocateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._commandPool=null,this.sType=40,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.commandPool&&(this.commandPool=e.commandPool),void 0!==e.level&&(this.level=e.level),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount))},VkCommandBufferAllocateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCommandBufferAllocateInfo.prototype.reflect=function(e){},VkCommandBufferAllocateInfo.createCopyFrom=function(e){let t=new VkCommandBufferAllocateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.commandPool&&(t.commandPool=e.commandPool.constructor.createCopyFrom(e.commandPool)),t.level=e.level,t.commandBufferCount=e.commandBufferCount,t},VkCommandBufferAllocateInfo.byteLength=32,VkCommandBufferAllocateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},commandPool:{byteOffset:16,byteLength:8},level:{byteOffset:24,byteLength:4},commandBufferCount:{byteOffset:28,byteLength:4}},Object.defineProperties(VkCommandBufferInheritanceInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCommandBufferInheritanceInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCommandBufferInheritanceInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkCommandBufferInheritanceInfo.pNext'");switch(t){case 1000081e3:break;default:throw new TypeError("Invalid type for 'VkCommandBufferInheritanceInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkCommandBufferInheritanceInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},renderPass:{get(){return this._renderPass},set(e){if(null!==e&&e.constructor===VkRenderPass)this._renderPass=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCommandBufferInheritanceInfo.renderPass': Expected 'VkRenderPass' but got '"+typeToString(e)+"'");this._renderPass=null,this.memoryView.setBigInt64(16,BI0,!0)}}},subpass:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandBufferInheritanceInfo.subpass"),this.memoryView.setUint32(24,e,!0)}},framebuffer:{get(){return this._framebuffer},set(e){if(null!==e&&e.constructor===VkFramebuffer)this._framebuffer=e,this.memoryView.setBigInt64(32,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCommandBufferInheritanceInfo.framebuffer': Expected 'VkFramebuffer' but got '"+typeToString(e)+"'");this._framebuffer=null,this.memoryView.setBigInt64(32,BI0,!0)}}},occlusionQueryEnable:{get(){return 0!==this.memoryView.getUint32(40,!0)},set(e){this.memoryView.setUint32(40,0|e,!0)}},queryFlags:{get(){return this.memoryView.getInt32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandBufferInheritanceInfo.queryFlags"),this.memoryView.setInt32(44,e,!0)}},pipelineStatistics:{get(){return this.memoryView.getInt32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandBufferInheritanceInfo.pipelineStatistics"),this.memoryView.setInt32(48,e,!0)}}}),VkCommandBufferInheritanceInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._renderPass=null,this._framebuffer=null,this.sType=41,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.framebuffer&&(this.framebuffer=e.framebuffer),void 0!==e.occlusionQueryEnable&&(this.occlusionQueryEnable=e.occlusionQueryEnable),void 0!==e.queryFlags&&(this.queryFlags=e.queryFlags),void 0!==e.pipelineStatistics&&(this.pipelineStatistics=e.pipelineStatistics))},VkCommandBufferInheritanceInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCommandBufferInheritanceInfo.prototype.reflect=function(e){},VkCommandBufferInheritanceInfo.createCopyFrom=function(e){let t=new VkCommandBufferInheritanceInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.renderPass&&(t.renderPass=e.renderPass.constructor.createCopyFrom(e.renderPass)),t.subpass=e.subpass,null!==e.framebuffer&&(t.framebuffer=e.framebuffer.constructor.createCopyFrom(e.framebuffer)),t.occlusionQueryEnable=e.occlusionQueryEnable,t.queryFlags=e.queryFlags,t.pipelineStatistics=e.pipelineStatistics,t},VkCommandBufferInheritanceInfo.byteLength=56,VkCommandBufferInheritanceInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},renderPass:{byteOffset:16,byteLength:8},subpass:{byteOffset:24,byteLength:4},framebuffer:{byteOffset:32,byteLength:8},occlusionQueryEnable:{byteOffset:40,byteLength:4},queryFlags:{byteOffset:44,byteLength:4},pipelineStatistics:{byteOffset:48,byteLength:4}},Object.defineProperties(VkCommandBufferBeginInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCommandBufferBeginInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCommandBufferBeginInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkCommandBufferBeginInfo.pNext'");switch(t){case 1000060004:break;default:throw new TypeError("Invalid type for 'VkCommandBufferBeginInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkCommandBufferBeginInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCommandBufferBeginInfo.flags"),this.memoryView.setInt32(16,e,!0)}},pInheritanceInfo:{get(){if(null===this._pInheritanceInfo&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=this.memoryView.getBigInt64(24,!0),t=getArrayBufferFromAddress(e,BigInt(VkCommandBufferInheritanceInfo.byteLength));return this._pInheritanceInfo=new VkCommandBufferInheritanceInfo({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(24,this._pInheritanceInfo.memoryAddress,!0),this.pInheritanceInfo}return this._pInheritanceInfo},set(e){if(null!==e&&e.constructor===VkCommandBufferInheritanceInfo)e.flush(),this._pInheritanceInfo=e,this.memoryView.setBigInt64(24,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCommandBufferBeginInfo.pInheritanceInfo': Expected 'VkCommandBufferInheritanceInfo' but got '"+typeToString(e)+"'");this._pInheritanceInfo=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkCommandBufferBeginInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pInheritanceInfo=null,this.sType=42,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pInheritanceInfo&&(this.pInheritanceInfo=e.pInheritanceInfo))},VkCommandBufferBeginInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCommandBufferBeginInfo.prototype.reflect=function(e){},VkCommandBufferBeginInfo.createCopyFrom=function(e){let t=new VkCommandBufferBeginInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.pInheritanceInfo&&(t.pInheritanceInfo=e.pInheritanceInfo.constructor.createCopyFrom(e.pInheritanceInfo)),t},VkCommandBufferBeginInfo.byteLength=32,VkCommandBufferBeginInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},pInheritanceInfo:{byteOffset:24,byteLength:8}},Object.defineProperties(VkRenderPassBeginInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassBeginInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassBeginInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.pNext'");switch(t){case 1000060003:case 1000143001:case 1000108003:break;default:throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},renderPass:{get(){return this._renderPass},set(e){if(null!==e&&e.constructor===VkRenderPass)this._renderPass=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.renderPass': Expected 'VkRenderPass' but got '"+typeToString(e)+"'");this._renderPass=null,this.memoryView.setBigInt64(16,BI0,!0)}}},framebuffer:{get(){return this._framebuffer},set(e){if(null!==e&&e.constructor===VkFramebuffer)this._framebuffer=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.framebuffer': Expected 'VkFramebuffer' but got '"+typeToString(e)+"'");this._framebuffer=null,this.memoryView.setBigInt64(24,BI0,!0)}}},renderArea:{get(){return this._renderArea},set(e){if(null!==e&&e.constructor===VkRect2D)e.flush(),this._renderArea=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.renderArea': Expected 'VkRect2D' but got '"+typeToString(e)+"'");this._renderArea=null}}},clearValueCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassBeginInfo.clearValueCount"),this.memoryView.setUint32(48,e,!0)}},pClearValues:{get(){if(null===this._pClearValues&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.clearValueCount,VkClearValue);return this._pClearValues=e,this.pClearValues}return this._pClearValues},set(e){if(null!==e&&e.constructor===Array)this._pClearValues=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassBeginInfo.pClearValues': Expected 'Array VkClearValue' but got '"+typeToString(e)+"'");this._pClearValues=null}}}}),VkRenderPassBeginInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._renderPass=null,this._framebuffer=null,null!==this._renderArea&&(this.memoryBuffer!==this._renderArea.memoryBuffer?this._renderArea=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}):this._renderArea.reset()),this._pClearValues=null,this._pClearValuesNative=null,this.sType=43,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.framebuffer&&(this.framebuffer=e.framebuffer),void 0!==e.renderArea&&(this.renderArea=e.renderArea),void 0!==e.clearValueCount&&(this.clearValueCount=e.clearValueCount),void 0!==e.pClearValues&&(this.pClearValues=e.pClearValues))},VkRenderPassBeginInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._renderArea){let e=this._renderArea;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,32),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkRenderPassBeginInfo.renderArea' isn't used as shared-memory")}}if(null!==this._pClearValues){let e=this._pClearValues;if(e.length!==this.clearValueCount)throw new RangeError("Invalid array length, expected length of 'clearValueCount' for 'VkRenderPassBeginInfo.pClearValues'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pClearValuesNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pClearValuesNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkRenderPassBeginInfo.prototype.reflect=function(e){},VkRenderPassBeginInfo.createCopyFrom=function(e){let t=new VkRenderPassBeginInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.renderPass&&(t.renderPass=e.renderPass.constructor.createCopyFrom(e.renderPass)),null!==e.framebuffer&&(t.framebuffer=e.framebuffer.constructor.createCopyFrom(e.framebuffer)),null!==e.renderArea&&(t.renderArea=e.renderArea.constructor.createCopyFrom(e.renderArea)),t.clearValueCount=e.clearValueCount,null!==e.pClearValues&&(t.pClearValues=[...Array(e.pClearValues.length)].map((t,r)=>e.pClearValues[r].constructor.createCopyFrom(e.pClearValues[r]))),t},VkRenderPassBeginInfo.byteLength=64,VkRenderPassBeginInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},renderPass:{byteOffset:16,byteLength:8},framebuffer:{byteOffset:24,byteLength:8},renderArea:{byteOffset:32,byteLength:16},clearValueCount:{byteOffset:48,byteLength:4},pClearValues:{byteOffset:56,byteLength:8}},Object.defineProperties(VkClearDepthStencilValue.prototype,{depth:{get(){return this.memoryView.getFloat32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkClearDepthStencilValue.depth"),this.memoryView.setFloat32(0,e,!0)}},stencil:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkClearDepthStencilValue.stencil"),this.memoryView.setUint32(4,e,!0)}}}),VkClearDepthStencilValue.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.depth&&(this.depth=e.depth),void 0!==e.stencil&&(this.stencil=e.stencil))},VkClearDepthStencilValue.prototype.flush=function(){return!0},VkClearDepthStencilValue.prototype.reflect=function(e){},VkClearDepthStencilValue.createCopyFrom=function(e){let t=new VkClearDepthStencilValue;return t.depth=e.depth,t.stencil=e.stencil,t},VkClearDepthStencilValue.byteLength=8,VkClearDepthStencilValue.memoryLayout={depth:{byteOffset:0,byteLength:4},stencil:{byteOffset:4,byteLength:4}},Object.defineProperties(VkClearAttachment.prototype,{aspectMask:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkClearAttachment.aspectMask"),this.memoryView.setInt32(0,e,!0)}},colorAttachment:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkClearAttachment.colorAttachment"),this.memoryView.setUint32(4,e,!0)}},clearValue:{get(){return this._clearValue},set(e){if(null!==e&&e.constructor===VkClearValue)e.flush(),this._clearValue=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearAttachment.clearValue': Expected 'VkClearValue' but got '"+typeToString(e)+"'");this._clearValue=null}}}}),VkClearAttachment.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),null!==this._clearValue&&(this.memoryBuffer!==this._clearValue.memoryBuffer?this._clearValue=new VkClearValue({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._clearValue.reset()),"object"==typeof e&&(void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask),void 0!==e.colorAttachment&&(this.colorAttachment=e.colorAttachment),void 0!==e.clearValue&&(this.clearValue=e.clearValue))},VkClearAttachment.prototype.flush=function(){if(null!==this._clearValue){let e=this._clearValue;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,8),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkClearAttachment.clearValue' isn't used as shared-memory")}}return!0},VkClearAttachment.prototype.reflect=function(e){},VkClearAttachment.createCopyFrom=function(e){let t=new VkClearAttachment;return t.aspectMask=e.aspectMask,t.colorAttachment=e.colorAttachment,null!==e.clearValue&&(t.clearValue=e.clearValue.constructor.createCopyFrom(e.clearValue)),t},VkClearAttachment.byteLength=24,VkClearAttachment.memoryLayout={aspectMask:{byteOffset:0,byteLength:4},colorAttachment:{byteOffset:4,byteLength:4},clearValue:{byteOffset:8,byteLength:16}},Object.defineProperties(VkAttachmentDescription.prototype,{flags:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentDescription.flags"),this.memoryView.setInt32(0,e,!0)}},format:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(4,e,!0)}},samples:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentDescription.samples"),this.memoryView.setInt32(8,e,!0)}},loadOp:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.loadOp"),!$VAL_R_VkAttachmentLoadOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.loadOp': '"+e+"' is not a value of 'VkAttachmentLoadOp'");this.memoryView.setInt32(12,e,!0)}},storeOp:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.storeOp"),!$VAL_R_VkAttachmentStoreOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.storeOp': '"+e+"' is not a value of 'VkAttachmentStoreOp'");this.memoryView.setInt32(16,e,!0)}},stencilLoadOp:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.stencilLoadOp"),!$VAL_R_VkAttachmentLoadOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.stencilLoadOp': '"+e+"' is not a value of 'VkAttachmentLoadOp'");this.memoryView.setInt32(20,e,!0)}},stencilStoreOp:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.stencilStoreOp"),!$VAL_R_VkAttachmentStoreOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.stencilStoreOp': '"+e+"' is not a value of 'VkAttachmentStoreOp'");this.memoryView.setInt32(24,e,!0)}},initialLayout:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.initialLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.initialLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(28,e,!0)}},finalLayout:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription.finalLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkAttachmentDescription.finalLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(32,e,!0)}}}),VkAttachmentDescription.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,36)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x24"],0),"object"==typeof e&&(void 0!==e.flags&&(this.flags=e.flags),void 0!==e.format&&(this.format=e.format),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.loadOp&&(this.loadOp=e.loadOp),void 0!==e.storeOp&&(this.storeOp=e.storeOp),void 0!==e.stencilLoadOp&&(this.stencilLoadOp=e.stencilLoadOp),void 0!==e.stencilStoreOp&&(this.stencilStoreOp=e.stencilStoreOp),void 0!==e.initialLayout&&(this.initialLayout=e.initialLayout),void 0!==e.finalLayout&&(this.finalLayout=e.finalLayout))},VkAttachmentDescription.prototype.flush=function(){return!0},VkAttachmentDescription.prototype.reflect=function(e){},VkAttachmentDescription.createCopyFrom=function(e){let t=new VkAttachmentDescription;return t.flags=e.flags,t.format=e.format,t.samples=e.samples,t.loadOp=e.loadOp,t.storeOp=e.storeOp,t.stencilLoadOp=e.stencilLoadOp,t.stencilStoreOp=e.stencilStoreOp,t.initialLayout=e.initialLayout,t.finalLayout=e.finalLayout,t},VkAttachmentDescription.byteLength=36,VkAttachmentDescription.memoryLayout={flags:{byteOffset:0,byteLength:4},format:{byteOffset:4,byteLength:4},samples:{byteOffset:8,byteLength:4},loadOp:{byteOffset:12,byteLength:4},storeOp:{byteOffset:16,byteLength:4},stencilLoadOp:{byteOffset:20,byteLength:4},stencilStoreOp:{byteOffset:24,byteLength:4},initialLayout:{byteOffset:28,byteLength:4},finalLayout:{byteOffset:32,byteLength:4}},Object.defineProperties(VkAttachmentReference.prototype,{attachment:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentReference.attachment"),this.memoryView.setUint32(0,e,!0)}},layout:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentReference.layout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkAttachmentReference.layout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(4,e,!0)}}}),VkAttachmentReference.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.attachment&&(this.attachment=e.attachment),void 0!==e.layout&&(this.layout=e.layout))},VkAttachmentReference.prototype.flush=function(){return!0},VkAttachmentReference.prototype.reflect=function(e){},VkAttachmentReference.createCopyFrom=function(e){let t=new VkAttachmentReference;return t.attachment=e.attachment,t.layout=e.layout,t},VkAttachmentReference.byteLength=8,VkAttachmentReference.memoryLayout={attachment:{byteOffset:0,byteLength:4},layout:{byteOffset:4,byteLength:4}},Object.defineProperties(VkSubpassDescription.prototype,{flags:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription.flags"),this.memoryView.setInt32(0,e,!0)}},pipelineBindPoint:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassDescription.pipelineBindPoint"),!$VAL_R_VkPipelineBindPoint(e))throw new RangeError("Invalid value for 'VkSubpassDescription.pipelineBindPoint': '"+e+"' is not a value of 'VkPipelineBindPoint'");this.memoryView.setInt32(4,e,!0)}},inputAttachmentCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription.inputAttachmentCount"),this.memoryView.setUint32(8,e,!0)}},pInputAttachments:{get(){if(null===this._pInputAttachments&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(16,!0),this.inputAttachmentCount,VkAttachmentReference);return this._pInputAttachments=e,this.pInputAttachments}return this._pInputAttachments},set(e){if(null!==e&&e.constructor===Array)this._pInputAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription.pInputAttachments': Expected 'Array VkAttachmentReference' but got '"+typeToString(e)+"'");this._pInputAttachments=null}}},colorAttachmentCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription.colorAttachmentCount"),this.memoryView.setUint32(24,e,!0)}},pColorAttachments:{get(){if(null===this._pColorAttachments&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.colorAttachmentCount,VkAttachmentReference);return this._pColorAttachments=e,this.pColorAttachments}return this._pColorAttachments},set(e){if(null!==e&&e.constructor===Array)this._pColorAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription.pColorAttachments': Expected 'Array VkAttachmentReference' but got '"+typeToString(e)+"'");this._pColorAttachments=null}}},pResolveAttachments:{get(){if(null===this._pResolveAttachments&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.colorAttachmentCount,VkAttachmentReference);return this._pResolveAttachments=e,this.pResolveAttachments}return this._pResolveAttachments},set(e){if(null!==e&&e.constructor===Array)this._pResolveAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription.pResolveAttachments': Expected 'Array VkAttachmentReference' but got '"+typeToString(e)+"'");this._pResolveAttachments=null}}},pDepthStencilAttachment:{get(){if(null===this._pDepthStencilAttachment&&this.memoryView.getBigInt64(48,!0)!==BI0){let e=this.memoryView.getBigInt64(48,!0),t=getArrayBufferFromAddress(e,BigInt(VkAttachmentReference.byteLength));return this._pDepthStencilAttachment=new VkAttachmentReference({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(48,this._pDepthStencilAttachment.memoryAddress,!0),this.pDepthStencilAttachment}return this._pDepthStencilAttachment},set(e){if(null!==e&&e.constructor===VkAttachmentReference)e.flush(),this._pDepthStencilAttachment=e,this.memoryView.setBigInt64(48,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription.pDepthStencilAttachment': Expected 'VkAttachmentReference' but got '"+typeToString(e)+"'");this._pDepthStencilAttachment=null,this.memoryView.setBigInt64(48,BI0,!0)}}},preserveAttachmentCount:{get(){return this.memoryView.getUint32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription.preserveAttachmentCount"),this.memoryView.setUint32(56,e,!0)}},pPreserveAttachments:{get(){return this._pPreserveAttachments},set(e){if(null!==e&&e.constructor===Uint32Array)this._pPreserveAttachments=e,this.memoryView.setBigInt64(64,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription.pPreserveAttachments': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pPreserveAttachments=null,this.memoryView.setBigInt64(64,BI0,!0)}}}}),VkSubpassDescription.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pInputAttachments=null,this._pInputAttachmentsNative=null,this._pColorAttachments=null,this._pColorAttachmentsNative=null,this._pResolveAttachments=null,this._pResolveAttachmentsNative=null,this._pDepthStencilAttachment=null,this._pPreserveAttachments=null,"object"==typeof e&&(void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.inputAttachmentCount&&(this.inputAttachmentCount=e.inputAttachmentCount),void 0!==e.pInputAttachments&&(this.pInputAttachments=e.pInputAttachments),void 0!==e.colorAttachmentCount&&(this.colorAttachmentCount=e.colorAttachmentCount),void 0!==e.pColorAttachments&&(this.pColorAttachments=e.pColorAttachments),void 0!==e.pResolveAttachments&&(this.pResolveAttachments=e.pResolveAttachments),void 0!==e.pDepthStencilAttachment&&(this.pDepthStencilAttachment=e.pDepthStencilAttachment),void 0!==e.preserveAttachmentCount&&(this.preserveAttachmentCount=e.preserveAttachmentCount),void 0!==e.pPreserveAttachments&&(this.pPreserveAttachments=e.pPreserveAttachments))},VkSubpassDescription.prototype.flush=function(){if(null!==this._pInputAttachments){let e=this._pInputAttachments;if(e.length!==this.inputAttachmentCount)throw new RangeError("Invalid array length, expected length of 'inputAttachmentCount' for 'VkSubpassDescription.pInputAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pInputAttachmentsNative=t,this.memoryView.setBigInt64(16,t.address,!0)}else this._pInputAttachmentsNative=null,this.memoryView.setBigInt64(16,BI0,!0)}if(null!==this._pColorAttachments){let e=this._pColorAttachments;if(e.length!==this.colorAttachmentCount)throw new RangeError("Invalid array length, expected length of 'colorAttachmentCount' for 'VkSubpassDescription.pColorAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pColorAttachmentsNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pColorAttachmentsNative=null,this.memoryView.setBigInt64(32,BI0,!0)}if(null!==this._pResolveAttachments){let e=this._pResolveAttachments;if(e.length!==this.colorAttachmentCount)throw new RangeError("Invalid array length, expected length of 'colorAttachmentCount' for 'VkSubpassDescription.pResolveAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pResolveAttachmentsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pResolveAttachmentsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkSubpassDescription.prototype.reflect=function(e){},VkSubpassDescription.createCopyFrom=function(e){let t=new VkSubpassDescription;return t.flags=e.flags,t.pipelineBindPoint=e.pipelineBindPoint,t.inputAttachmentCount=e.inputAttachmentCount,null!==e.pInputAttachments&&(t.pInputAttachments=[...Array(e.pInputAttachments.length)].map((t,r)=>e.pInputAttachments[r].constructor.createCopyFrom(e.pInputAttachments[r]))),t.colorAttachmentCount=e.colorAttachmentCount,null!==e.pColorAttachments&&(t.pColorAttachments=[...Array(e.pColorAttachments.length)].map((t,r)=>e.pColorAttachments[r].constructor.createCopyFrom(e.pColorAttachments[r]))),null!==e.pResolveAttachments&&(t.pResolveAttachments=[...Array(e.pResolveAttachments.length)].map((t,r)=>e.pResolveAttachments[r].constructor.createCopyFrom(e.pResolveAttachments[r]))),null!==e.pDepthStencilAttachment&&(t.pDepthStencilAttachment=e.pDepthStencilAttachment.constructor.createCopyFrom(e.pDepthStencilAttachment)),t.preserveAttachmentCount=e.preserveAttachmentCount,null!==e.pPreserveAttachments&&(t.pPreserveAttachments=new Uint32Array(e.pPreserveAttachments)),t},VkSubpassDescription.byteLength=72,VkSubpassDescription.memoryLayout={flags:{byteOffset:0,byteLength:4},pipelineBindPoint:{byteOffset:4,byteLength:4},inputAttachmentCount:{byteOffset:8,byteLength:4},pInputAttachments:{byteOffset:16,byteLength:8},colorAttachmentCount:{byteOffset:24,byteLength:4},pColorAttachments:{byteOffset:32,byteLength:8},pResolveAttachments:{byteOffset:40,byteLength:8},pDepthStencilAttachment:{byteOffset:48,byteLength:8},preserveAttachmentCount:{byteOffset:56,byteLength:4},pPreserveAttachments:{byteOffset:64,byteLength:8}},Object.defineProperties(VkSubpassDependency.prototype,{srcSubpass:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.srcSubpass"),this.memoryView.setUint32(0,e,!0)}},dstSubpass:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.dstSubpass"),this.memoryView.setUint32(4,e,!0)}},srcStageMask:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.srcStageMask"),this.memoryView.setInt32(8,e,!0)}},dstStageMask:{get(){return this.memoryView.getInt32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.dstStageMask"),this.memoryView.setInt32(12,e,!0)}},srcAccessMask:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.srcAccessMask"),this.memoryView.setInt32(16,e,!0)}},dstAccessMask:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.dstAccessMask"),this.memoryView.setInt32(20,e,!0)}},dependencyFlags:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency.dependencyFlags"),this.memoryView.setInt32(24,e,!0)}}}),VkSubpassDependency.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,28)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x1C"],0),"object"==typeof e&&(void 0!==e.srcSubpass&&(this.srcSubpass=e.srcSubpass),void 0!==e.dstSubpass&&(this.dstSubpass=e.dstSubpass),void 0!==e.srcStageMask&&(this.srcStageMask=e.srcStageMask),void 0!==e.dstStageMask&&(this.dstStageMask=e.dstStageMask),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.dependencyFlags&&(this.dependencyFlags=e.dependencyFlags))},VkSubpassDependency.prototype.flush=function(){return!0},VkSubpassDependency.prototype.reflect=function(e){},VkSubpassDependency.createCopyFrom=function(e){let t=new VkSubpassDependency;return t.srcSubpass=e.srcSubpass,t.dstSubpass=e.dstSubpass,t.srcStageMask=e.srcStageMask,t.dstStageMask=e.dstStageMask,t.srcAccessMask=e.srcAccessMask,t.dstAccessMask=e.dstAccessMask,t.dependencyFlags=e.dependencyFlags,t},VkSubpassDependency.byteLength=28,VkSubpassDependency.memoryLayout={srcSubpass:{byteOffset:0,byteLength:4},dstSubpass:{byteOffset:4,byteLength:4},srcStageMask:{byteOffset:8,byteLength:4},dstStageMask:{byteOffset:12,byteLength:4},srcAccessMask:{byteOffset:16,byteLength:4},dstAccessMask:{byteOffset:20,byteLength:4},dependencyFlags:{byteOffset:24,byteLength:4}},Object.defineProperties(VkRenderPassCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo.pNext'");switch(t){case 1000053e3:case 1000117001:case 1000218002:break;default:throw new TypeError("Invalid type for 'VkRenderPassCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},attachmentCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo.attachmentCount"),this.memoryView.setUint32(20,e,!0)}},pAttachments:{get(){if(null===this._pAttachments&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.attachmentCount,VkAttachmentDescription);return this._pAttachments=e,this.pAttachments}return this._pAttachments},set(e){if(null!==e&&e.constructor===Array)this._pAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo.pAttachments': Expected 'Array VkAttachmentDescription' but got '"+typeToString(e)+"'");this._pAttachments=null}}},subpassCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo.subpassCount"),this.memoryView.setUint32(32,e,!0)}},pSubpasses:{get(){if(null===this._pSubpasses&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.subpassCount,VkSubpassDescription);return this._pSubpasses=e,this.pSubpasses}return this._pSubpasses},set(e){if(null!==e&&e.constructor===Array)this._pSubpasses=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo.pSubpasses': Expected 'Array VkSubpassDescription' but got '"+typeToString(e)+"'");this._pSubpasses=null}}},dependencyCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo.dependencyCount"),this.memoryView.setUint32(48,e,!0)}},pDependencies:{get(){if(null===this._pDependencies&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.dependencyCount,VkSubpassDependency);return this._pDependencies=e,this.pDependencies}return this._pDependencies},set(e){if(null!==e&&e.constructor===Array)this._pDependencies=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo.pDependencies': Expected 'Array VkSubpassDependency' but got '"+typeToString(e)+"'");this._pDependencies=null}}}}),VkRenderPassCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this._pSubpasses=null,this._pSubpassesNative=null,this._pDependencies=null,this._pDependenciesNative=null,this.sType=38,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pSubpasses&&(this.pSubpasses=e.pSubpasses),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pDependencies&&(this.pDependencies=e.pDependencies))},VkRenderPassCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachments){let e=this._pAttachments;if(e.length!==this.attachmentCount)throw new RangeError("Invalid array length, expected length of 'attachmentCount' for 'VkRenderPassCreateInfo.pAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAttachmentsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pSubpasses){let e=this._pSubpasses;if(e.length!==this.subpassCount)throw new RangeError("Invalid array length, expected length of 'subpassCount' for 'VkRenderPassCreateInfo.pSubpasses'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSubpassesNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pSubpassesNative=null,this.memoryView.setBigInt64(40,BI0,!0)}if(null!==this._pDependencies){let e=this._pDependencies;if(e.length!==this.dependencyCount)throw new RangeError("Invalid array length, expected length of 'dependencyCount' for 'VkRenderPassCreateInfo.pDependencies'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDependenciesNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pDependenciesNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkRenderPassCreateInfo.prototype.reflect=function(e){},VkRenderPassCreateInfo.createCopyFrom=function(e){let t=new VkRenderPassCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.attachmentCount=e.attachmentCount,null!==e.pAttachments&&(t.pAttachments=[...Array(e.pAttachments.length)].map((t,r)=>e.pAttachments[r].constructor.createCopyFrom(e.pAttachments[r]))),t.subpassCount=e.subpassCount,null!==e.pSubpasses&&(t.pSubpasses=[...Array(e.pSubpasses.length)].map((t,r)=>e.pSubpasses[r].constructor.createCopyFrom(e.pSubpasses[r]))),t.dependencyCount=e.dependencyCount,null!==e.pDependencies&&(t.pDependencies=[...Array(e.pDependencies.length)].map((t,r)=>e.pDependencies[r].constructor.createCopyFrom(e.pDependencies[r]))),t},VkRenderPassCreateInfo.byteLength=64,VkRenderPassCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},attachmentCount:{byteOffset:20,byteLength:4},pAttachments:{byteOffset:24,byteLength:8},subpassCount:{byteOffset:32,byteLength:4},pSubpasses:{byteOffset:40,byteLength:8},dependencyCount:{byteOffset:48,byteLength:4},pDependencies:{byteOffset:56,byteLength:8}},Object.defineProperties(VkEventCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkEventCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkEventCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkEventCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkEventCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}}}),VkEventCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=10,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))},VkEventCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkEventCreateInfo.prototype.reflect=function(e){},VkEventCreateInfo.createCopyFrom=function(e){let t=new VkEventCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t},VkEventCreateInfo.byteLength=24,VkEventCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkFenceCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFenceCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFenceCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkFenceCreateInfo.pNext'");switch(t){case 1000113e3:case 1000114001:break;default:throw new TypeError("Invalid type for 'VkFenceCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkFenceCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFenceCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}}}),VkFenceCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=8,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))},VkFenceCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFenceCreateInfo.prototype.reflect=function(e){},VkFenceCreateInfo.createCopyFrom=function(e){let t=new VkFenceCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t},VkFenceCreateInfo.byteLength=24,VkFenceCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFeatures.prototype,{robustBufferAccess:{get(){return 0!==this.memoryView.getUint32(0,!0)},set(e){this.memoryView.setUint32(0,0|e,!0)}},fullDrawIndexUint32:{get(){return 0!==this.memoryView.getUint32(4,!0)},set(e){this.memoryView.setUint32(4,0|e,!0)}},imageCubeArray:{get(){return 0!==this.memoryView.getUint32(8,!0)},set(e){this.memoryView.setUint32(8,0|e,!0)}},independentBlend:{get(){return 0!==this.memoryView.getUint32(12,!0)},set(e){this.memoryView.setUint32(12,0|e,!0)}},geometryShader:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},tessellationShader:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},sampleRateShading:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},dualSrcBlend:{get(){return 0!==this.memoryView.getUint32(28,!0)},set(e){this.memoryView.setUint32(28,0|e,!0)}},logicOp:{get(){return 0!==this.memoryView.getUint32(32,!0)},set(e){this.memoryView.setUint32(32,0|e,!0)}},multiDrawIndirect:{get(){return 0!==this.memoryView.getUint32(36,!0)},set(e){this.memoryView.setUint32(36,0|e,!0)}},drawIndirectFirstInstance:{get(){return 0!==this.memoryView.getUint32(40,!0)},set(e){this.memoryView.setUint32(40,0|e,!0)}},depthClamp:{get(){return 0!==this.memoryView.getUint32(44,!0)},set(e){this.memoryView.setUint32(44,0|e,!0)}},depthBiasClamp:{get(){return 0!==this.memoryView.getUint32(48,!0)},set(e){this.memoryView.setUint32(48,0|e,!0)}},fillModeNonSolid:{get(){return 0!==this.memoryView.getUint32(52,!0)},set(e){this.memoryView.setUint32(52,0|e,!0)}},depthBounds:{get(){return 0!==this.memoryView.getUint32(56,!0)},set(e){this.memoryView.setUint32(56,0|e,!0)}},wideLines:{get(){return 0!==this.memoryView.getUint32(60,!0)},set(e){this.memoryView.setUint32(60,0|e,!0)}},largePoints:{get(){return 0!==this.memoryView.getUint32(64,!0)},set(e){this.memoryView.setUint32(64,0|e,!0)}},alphaToOne:{get(){return 0!==this.memoryView.getUint32(68,!0)},set(e){this.memoryView.setUint32(68,0|e,!0)}},multiViewport:{get(){return 0!==this.memoryView.getUint32(72,!0)},set(e){this.memoryView.setUint32(72,0|e,!0)}},samplerAnisotropy:{get(){return 0!==this.memoryView.getUint32(76,!0)},set(e){this.memoryView.setUint32(76,0|e,!0)}},textureCompressionETC2:{get(){return 0!==this.memoryView.getUint32(80,!0)},set(e){this.memoryView.setUint32(80,0|e,!0)}},textureCompressionASTC_LDR:{get(){return 0!==this.memoryView.getUint32(84,!0)},set(e){this.memoryView.setUint32(84,0|e,!0)}},textureCompressionBC:{get(){return 0!==this.memoryView.getUint32(88,!0)},set(e){this.memoryView.setUint32(88,0|e,!0)}},occlusionQueryPrecise:{get(){return 0!==this.memoryView.getUint32(92,!0)},set(e){this.memoryView.setUint32(92,0|e,!0)}},pipelineStatisticsQuery:{get(){return 0!==this.memoryView.getUint32(96,!0)},set(e){this.memoryView.setUint32(96,0|e,!0)}},vertexPipelineStoresAndAtomics:{get(){return 0!==this.memoryView.getUint32(100,!0)},set(e){this.memoryView.setUint32(100,0|e,!0)}},fragmentStoresAndAtomics:{get(){return 0!==this.memoryView.getUint32(104,!0)},set(e){this.memoryView.setUint32(104,0|e,!0)}},shaderTessellationAndGeometryPointSize:{get(){return 0!==this.memoryView.getUint32(108,!0)},set(e){this.memoryView.setUint32(108,0|e,!0)}},shaderImageGatherExtended:{get(){return 0!==this.memoryView.getUint32(112,!0)},set(e){this.memoryView.setUint32(112,0|e,!0)}},shaderStorageImageExtendedFormats:{get(){return 0!==this.memoryView.getUint32(116,!0)},set(e){this.memoryView.setUint32(116,0|e,!0)}},shaderStorageImageMultisample:{get(){return 0!==this.memoryView.getUint32(120,!0)},set(e){this.memoryView.setUint32(120,0|e,!0)}},shaderStorageImageReadWithoutFormat:{get(){return 0!==this.memoryView.getUint32(124,!0)},set(e){this.memoryView.setUint32(124,0|e,!0)}},shaderStorageImageWriteWithoutFormat:{get(){return 0!==this.memoryView.getUint32(128,!0)},set(e){this.memoryView.setUint32(128,0|e,!0)}},shaderUniformBufferArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(132,!0)},set(e){this.memoryView.setUint32(132,0|e,!0)}},shaderSampledImageArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(136,!0)},set(e){this.memoryView.setUint32(136,0|e,!0)}},shaderStorageBufferArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(140,!0)},set(e){this.memoryView.setUint32(140,0|e,!0)}},shaderStorageImageArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(144,!0)},set(e){this.memoryView.setUint32(144,0|e,!0)}},shaderClipDistance:{get(){return 0!==this.memoryView.getUint32(148,!0)},set(e){this.memoryView.setUint32(148,0|e,!0)}},shaderCullDistance:{get(){return 0!==this.memoryView.getUint32(152,!0)},set(e){this.memoryView.setUint32(152,0|e,!0)}},shaderFloat64:{get(){return 0!==this.memoryView.getUint32(156,!0)},set(e){this.memoryView.setUint32(156,0|e,!0)}},shaderInt64:{get(){return 0!==this.memoryView.getUint32(160,!0)},set(e){this.memoryView.setUint32(160,0|e,!0)}},shaderInt16:{get(){return 0!==this.memoryView.getUint32(164,!0)},set(e){this.memoryView.setUint32(164,0|e,!0)}},shaderResourceResidency:{get(){return 0!==this.memoryView.getUint32(168,!0)},set(e){this.memoryView.setUint32(168,0|e,!0)}},shaderResourceMinLod:{get(){return 0!==this.memoryView.getUint32(172,!0)},set(e){this.memoryView.setUint32(172,0|e,!0)}},sparseBinding:{get(){return 0!==this.memoryView.getUint32(176,!0)},set(e){this.memoryView.setUint32(176,0|e,!0)}},sparseResidencyBuffer:{get(){return 0!==this.memoryView.getUint32(180,!0)},set(e){this.memoryView.setUint32(180,0|e,!0)}},sparseResidencyImage2D:{get(){return 0!==this.memoryView.getUint32(184,!0)},set(e){this.memoryView.setUint32(184,0|e,!0)}},sparseResidencyImage3D:{get(){return 0!==this.memoryView.getUint32(188,!0)},set(e){this.memoryView.setUint32(188,0|e,!0)}},sparseResidency2Samples:{get(){return 0!==this.memoryView.getUint32(192,!0)},set(e){this.memoryView.setUint32(192,0|e,!0)}},sparseResidency4Samples:{get(){return 0!==this.memoryView.getUint32(196,!0)},set(e){this.memoryView.setUint32(196,0|e,!0)}},sparseResidency8Samples:{get(){return 0!==this.memoryView.getUint32(200,!0)},set(e){this.memoryView.setUint32(200,0|e,!0)}},sparseResidency16Samples:{get(){return 0!==this.memoryView.getUint32(204,!0)},set(e){this.memoryView.setUint32(204,0|e,!0)}},sparseResidencyAliased:{get(){return 0!==this.memoryView.getUint32(208,!0)},set(e){this.memoryView.setUint32(208,0|e,!0)}},variableMultisampleRate:{get(){return 0!==this.memoryView.getUint32(212,!0)},set(e){this.memoryView.setUint32(212,0|e,!0)}},inheritedQueries:{get(){return 0!==this.memoryView.getUint32(216,!0)},set(e){this.memoryView.setUint32(216,0|e,!0)}}}),VkPhysicalDeviceFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,220)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xDC"],0),"object"==typeof e&&(void 0!==e.robustBufferAccess&&(this.robustBufferAccess=e.robustBufferAccess),void 0!==e.fullDrawIndexUint32&&(this.fullDrawIndexUint32=e.fullDrawIndexUint32),void 0!==e.imageCubeArray&&(this.imageCubeArray=e.imageCubeArray),void 0!==e.independentBlend&&(this.independentBlend=e.independentBlend),void 0!==e.geometryShader&&(this.geometryShader=e.geometryShader),void 0!==e.tessellationShader&&(this.tessellationShader=e.tessellationShader),void 0!==e.sampleRateShading&&(this.sampleRateShading=e.sampleRateShading),void 0!==e.dualSrcBlend&&(this.dualSrcBlend=e.dualSrcBlend),void 0!==e.logicOp&&(this.logicOp=e.logicOp),void 0!==e.multiDrawIndirect&&(this.multiDrawIndirect=e.multiDrawIndirect),void 0!==e.drawIndirectFirstInstance&&(this.drawIndirectFirstInstance=e.drawIndirectFirstInstance),void 0!==e.depthClamp&&(this.depthClamp=e.depthClamp),void 0!==e.depthBiasClamp&&(this.depthBiasClamp=e.depthBiasClamp),void 0!==e.fillModeNonSolid&&(this.fillModeNonSolid=e.fillModeNonSolid),void 0!==e.depthBounds&&(this.depthBounds=e.depthBounds),void 0!==e.wideLines&&(this.wideLines=e.wideLines),void 0!==e.largePoints&&(this.largePoints=e.largePoints),void 0!==e.alphaToOne&&(this.alphaToOne=e.alphaToOne),void 0!==e.multiViewport&&(this.multiViewport=e.multiViewport),void 0!==e.samplerAnisotropy&&(this.samplerAnisotropy=e.samplerAnisotropy),void 0!==e.textureCompressionETC2&&(this.textureCompressionETC2=e.textureCompressionETC2),void 0!==e.textureCompressionASTC_LDR&&(this.textureCompressionASTC_LDR=e.textureCompressionASTC_LDR),void 0!==e.textureCompressionBC&&(this.textureCompressionBC=e.textureCompressionBC),void 0!==e.occlusionQueryPrecise&&(this.occlusionQueryPrecise=e.occlusionQueryPrecise),void 0!==e.pipelineStatisticsQuery&&(this.pipelineStatisticsQuery=e.pipelineStatisticsQuery),void 0!==e.vertexPipelineStoresAndAtomics&&(this.vertexPipelineStoresAndAtomics=e.vertexPipelineStoresAndAtomics),void 0!==e.fragmentStoresAndAtomics&&(this.fragmentStoresAndAtomics=e.fragmentStoresAndAtomics),void 0!==e.shaderTessellationAndGeometryPointSize&&(this.shaderTessellationAndGeometryPointSize=e.shaderTessellationAndGeometryPointSize),void 0!==e.shaderImageGatherExtended&&(this.shaderImageGatherExtended=e.shaderImageGatherExtended),void 0!==e.shaderStorageImageExtendedFormats&&(this.shaderStorageImageExtendedFormats=e.shaderStorageImageExtendedFormats),void 0!==e.shaderStorageImageMultisample&&(this.shaderStorageImageMultisample=e.shaderStorageImageMultisample),void 0!==e.shaderStorageImageReadWithoutFormat&&(this.shaderStorageImageReadWithoutFormat=e.shaderStorageImageReadWithoutFormat),void 0!==e.shaderStorageImageWriteWithoutFormat&&(this.shaderStorageImageWriteWithoutFormat=e.shaderStorageImageWriteWithoutFormat),void 0!==e.shaderUniformBufferArrayDynamicIndexing&&(this.shaderUniformBufferArrayDynamicIndexing=e.shaderUniformBufferArrayDynamicIndexing),void 0!==e.shaderSampledImageArrayDynamicIndexing&&(this.shaderSampledImageArrayDynamicIndexing=e.shaderSampledImageArrayDynamicIndexing),void 0!==e.shaderStorageBufferArrayDynamicIndexing&&(this.shaderStorageBufferArrayDynamicIndexing=e.shaderStorageBufferArrayDynamicIndexing),void 0!==e.shaderStorageImageArrayDynamicIndexing&&(this.shaderStorageImageArrayDynamicIndexing=e.shaderStorageImageArrayDynamicIndexing),void 0!==e.shaderClipDistance&&(this.shaderClipDistance=e.shaderClipDistance),void 0!==e.shaderCullDistance&&(this.shaderCullDistance=e.shaderCullDistance),void 0!==e.shaderFloat64&&(this.shaderFloat64=e.shaderFloat64),void 0!==e.shaderInt64&&(this.shaderInt64=e.shaderInt64),void 0!==e.shaderInt16&&(this.shaderInt16=e.shaderInt16),void 0!==e.shaderResourceResidency&&(this.shaderResourceResidency=e.shaderResourceResidency),void 0!==e.shaderResourceMinLod&&(this.shaderResourceMinLod=e.shaderResourceMinLod),void 0!==e.sparseBinding&&(this.sparseBinding=e.sparseBinding),void 0!==e.sparseResidencyBuffer&&(this.sparseResidencyBuffer=e.sparseResidencyBuffer),void 0!==e.sparseResidencyImage2D&&(this.sparseResidencyImage2D=e.sparseResidencyImage2D),void 0!==e.sparseResidencyImage3D&&(this.sparseResidencyImage3D=e.sparseResidencyImage3D),void 0!==e.sparseResidency2Samples&&(this.sparseResidency2Samples=e.sparseResidency2Samples),void 0!==e.sparseResidency4Samples&&(this.sparseResidency4Samples=e.sparseResidency4Samples),void 0!==e.sparseResidency8Samples&&(this.sparseResidency8Samples=e.sparseResidency8Samples),void 0!==e.sparseResidency16Samples&&(this.sparseResidency16Samples=e.sparseResidency16Samples),void 0!==e.sparseResidencyAliased&&(this.sparseResidencyAliased=e.sparseResidencyAliased),void 0!==e.variableMultisampleRate&&(this.variableMultisampleRate=e.variableMultisampleRate),void 0!==e.inheritedQueries&&(this.inheritedQueries=e.inheritedQueries))},VkPhysicalDeviceFeatures.prototype.flush=function(){return!0},VkPhysicalDeviceFeatures.prototype.reflect=function(e){},VkPhysicalDeviceFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceFeatures;return t.robustBufferAccess=e.robustBufferAccess,t.fullDrawIndexUint32=e.fullDrawIndexUint32,t.imageCubeArray=e.imageCubeArray,t.independentBlend=e.independentBlend,t.geometryShader=e.geometryShader,t.tessellationShader=e.tessellationShader,t.sampleRateShading=e.sampleRateShading,t.dualSrcBlend=e.dualSrcBlend,t.logicOp=e.logicOp,t.multiDrawIndirect=e.multiDrawIndirect,t.drawIndirectFirstInstance=e.drawIndirectFirstInstance,t.depthClamp=e.depthClamp,t.depthBiasClamp=e.depthBiasClamp,t.fillModeNonSolid=e.fillModeNonSolid,t.depthBounds=e.depthBounds,t.wideLines=e.wideLines,t.largePoints=e.largePoints,t.alphaToOne=e.alphaToOne,t.multiViewport=e.multiViewport,t.samplerAnisotropy=e.samplerAnisotropy,t.textureCompressionETC2=e.textureCompressionETC2,t.textureCompressionASTC_LDR=e.textureCompressionASTC_LDR,t.textureCompressionBC=e.textureCompressionBC,t.occlusionQueryPrecise=e.occlusionQueryPrecise,t.pipelineStatisticsQuery=e.pipelineStatisticsQuery,t.vertexPipelineStoresAndAtomics=e.vertexPipelineStoresAndAtomics,t.fragmentStoresAndAtomics=e.fragmentStoresAndAtomics,t.shaderTessellationAndGeometryPointSize=e.shaderTessellationAndGeometryPointSize,t.shaderImageGatherExtended=e.shaderImageGatherExtended,t.shaderStorageImageExtendedFormats=e.shaderStorageImageExtendedFormats,t.shaderStorageImageMultisample=e.shaderStorageImageMultisample,t.shaderStorageImageReadWithoutFormat=e.shaderStorageImageReadWithoutFormat,t.shaderStorageImageWriteWithoutFormat=e.shaderStorageImageWriteWithoutFormat,t.shaderUniformBufferArrayDynamicIndexing=e.shaderUniformBufferArrayDynamicIndexing,t.shaderSampledImageArrayDynamicIndexing=e.shaderSampledImageArrayDynamicIndexing,t.shaderStorageBufferArrayDynamicIndexing=e.shaderStorageBufferArrayDynamicIndexing,t.shaderStorageImageArrayDynamicIndexing=e.shaderStorageImageArrayDynamicIndexing,t.shaderClipDistance=e.shaderClipDistance,t.shaderCullDistance=e.shaderCullDistance,t.shaderFloat64=e.shaderFloat64,t.shaderInt64=e.shaderInt64,t.shaderInt16=e.shaderInt16,t.shaderResourceResidency=e.shaderResourceResidency,t.shaderResourceMinLod=e.shaderResourceMinLod,t.sparseBinding=e.sparseBinding,t.sparseResidencyBuffer=e.sparseResidencyBuffer,t.sparseResidencyImage2D=e.sparseResidencyImage2D,t.sparseResidencyImage3D=e.sparseResidencyImage3D,t.sparseResidency2Samples=e.sparseResidency2Samples,t.sparseResidency4Samples=e.sparseResidency4Samples,t.sparseResidency8Samples=e.sparseResidency8Samples,t.sparseResidency16Samples=e.sparseResidency16Samples,t.sparseResidencyAliased=e.sparseResidencyAliased,t.variableMultisampleRate=e.variableMultisampleRate,t.inheritedQueries=e.inheritedQueries,t},VkPhysicalDeviceFeatures.byteLength=220,VkPhysicalDeviceFeatures.memoryLayout={robustBufferAccess:{byteOffset:0,byteLength:4},fullDrawIndexUint32:{byteOffset:4,byteLength:4},imageCubeArray:{byteOffset:8,byteLength:4},independentBlend:{byteOffset:12,byteLength:4},geometryShader:{byteOffset:16,byteLength:4},tessellationShader:{byteOffset:20,byteLength:4},sampleRateShading:{byteOffset:24,byteLength:4},dualSrcBlend:{byteOffset:28,byteLength:4},logicOp:{byteOffset:32,byteLength:4},multiDrawIndirect:{byteOffset:36,byteLength:4},drawIndirectFirstInstance:{byteOffset:40,byteLength:4},depthClamp:{byteOffset:44,byteLength:4},depthBiasClamp:{byteOffset:48,byteLength:4},fillModeNonSolid:{byteOffset:52,byteLength:4},depthBounds:{byteOffset:56,byteLength:4},wideLines:{byteOffset:60,byteLength:4},largePoints:{byteOffset:64,byteLength:4},alphaToOne:{byteOffset:68,byteLength:4},multiViewport:{byteOffset:72,byteLength:4},samplerAnisotropy:{byteOffset:76,byteLength:4},textureCompressionETC2:{byteOffset:80,byteLength:4},textureCompressionASTC_LDR:{byteOffset:84,byteLength:4},textureCompressionBC:{byteOffset:88,byteLength:4},occlusionQueryPrecise:{byteOffset:92,byteLength:4},pipelineStatisticsQuery:{byteOffset:96,byteLength:4},vertexPipelineStoresAndAtomics:{byteOffset:100,byteLength:4},fragmentStoresAndAtomics:{byteOffset:104,byteLength:4},shaderTessellationAndGeometryPointSize:{byteOffset:108,byteLength:4},shaderImageGatherExtended:{byteOffset:112,byteLength:4},shaderStorageImageExtendedFormats:{byteOffset:116,byteLength:4},shaderStorageImageMultisample:{byteOffset:120,byteLength:4},shaderStorageImageReadWithoutFormat:{byteOffset:124,byteLength:4},shaderStorageImageWriteWithoutFormat:{byteOffset:128,byteLength:4},shaderUniformBufferArrayDynamicIndexing:{byteOffset:132,byteLength:4},shaderSampledImageArrayDynamicIndexing:{byteOffset:136,byteLength:4},shaderStorageBufferArrayDynamicIndexing:{byteOffset:140,byteLength:4},shaderStorageImageArrayDynamicIndexing:{byteOffset:144,byteLength:4},shaderClipDistance:{byteOffset:148,byteLength:4},shaderCullDistance:{byteOffset:152,byteLength:4},shaderFloat64:{byteOffset:156,byteLength:4},shaderInt64:{byteOffset:160,byteLength:4},shaderInt16:{byteOffset:164,byteLength:4},shaderResourceResidency:{byteOffset:168,byteLength:4},shaderResourceMinLod:{byteOffset:172,byteLength:4},sparseBinding:{byteOffset:176,byteLength:4},sparseResidencyBuffer:{byteOffset:180,byteLength:4},sparseResidencyImage2D:{byteOffset:184,byteLength:4},sparseResidencyImage3D:{byteOffset:188,byteLength:4},sparseResidency2Samples:{byteOffset:192,byteLength:4},sparseResidency4Samples:{byteOffset:196,byteLength:4},sparseResidency8Samples:{byteOffset:200,byteLength:4},sparseResidency16Samples:{byteOffset:204,byteLength:4},sparseResidencyAliased:{byteOffset:208,byteLength:4},variableMultisampleRate:{byteOffset:212,byteLength:4},inheritedQueries:{byteOffset:216,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSparseProperties.prototype,{residencyStandard2DBlockShape:{get(){return 0!==this.memoryView.getUint32(0,!0)}},residencyStandard2DMultisampleBlockShape:{get(){return 0!==this.memoryView.getUint32(4,!0)}},residencyStandard3DBlockShape:{get(){return 0!==this.memoryView.getUint32(8,!0)}},residencyAlignedMipSize:{get(){return 0!==this.memoryView.getUint32(12,!0)}},residencyNonResidentStrict:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkPhysicalDeviceSparseProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,20)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x14"],0)},VkPhysicalDeviceSparseProperties.prototype.flush=function(){return!0},VkPhysicalDeviceSparseProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(20)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,20),0)},VkPhysicalDeviceSparseProperties.createCopyFrom=function(e){let t=new VkPhysicalDeviceSparseProperties;return t.residencyStandard2DBlockShape=e.residencyStandard2DBlockShape,t.residencyStandard2DMultisampleBlockShape=e.residencyStandard2DMultisampleBlockShape,t.residencyStandard3DBlockShape=e.residencyStandard3DBlockShape,t.residencyAlignedMipSize=e.residencyAlignedMipSize,t.residencyNonResidentStrict=e.residencyNonResidentStrict,t},VkPhysicalDeviceSparseProperties.byteLength=20,VkPhysicalDeviceSparseProperties.memoryLayout={residencyStandard2DBlockShape:{byteOffset:0,byteLength:4},residencyStandard2DMultisampleBlockShape:{byteOffset:4,byteLength:4},residencyStandard3DBlockShape:{byteOffset:8,byteLength:4},residencyAlignedMipSize:{byteOffset:12,byteLength:4},residencyNonResidentStrict:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceLimits.prototype,{maxImageDimension1D:{get(){return this.memoryView.getUint32(0,!0)}},maxImageDimension2D:{get(){return this.memoryView.getUint32(4,!0)}},maxImageDimension3D:{get(){return this.memoryView.getUint32(8,!0)}},maxImageDimensionCube:{get(){return this.memoryView.getUint32(12,!0)}},maxImageArrayLayers:{get(){return this.memoryView.getUint32(16,!0)}},maxTexelBufferElements:{get(){return this.memoryView.getUint32(20,!0)}},maxUniformBufferRange:{get(){return this.memoryView.getUint32(24,!0)}},maxStorageBufferRange:{get(){return this.memoryView.getUint32(28,!0)}},maxPushConstantsSize:{get(){return this.memoryView.getUint32(32,!0)}},maxMemoryAllocationCount:{get(){return this.memoryView.getUint32(36,!0)}},maxSamplerAllocationCount:{get(){return this.memoryView.getUint32(40,!0)}},bufferImageGranularity:{get(){return this.memoryView.getBigUint64(48,!0)}},sparseAddressSpaceSize:{get(){return this.memoryView.getBigUint64(56,!0)}},maxBoundDescriptorSets:{get(){return this.memoryView.getUint32(64,!0)}},maxPerStageDescriptorSamplers:{get(){return this.memoryView.getUint32(68,!0)}},maxPerStageDescriptorUniformBuffers:{get(){return this.memoryView.getUint32(72,!0)}},maxPerStageDescriptorStorageBuffers:{get(){return this.memoryView.getUint32(76,!0)}},maxPerStageDescriptorSampledImages:{get(){return this.memoryView.getUint32(80,!0)}},maxPerStageDescriptorStorageImages:{get(){return this.memoryView.getUint32(84,!0)}},maxPerStageDescriptorInputAttachments:{get(){return this.memoryView.getUint32(88,!0)}},maxPerStageResources:{get(){return this.memoryView.getUint32(92,!0)}},maxDescriptorSetSamplers:{get(){return this.memoryView.getUint32(96,!0)}},maxDescriptorSetUniformBuffers:{get(){return this.memoryView.getUint32(100,!0)}},maxDescriptorSetUniformBuffersDynamic:{get(){return this.memoryView.getUint32(104,!0)}},maxDescriptorSetStorageBuffers:{get(){return this.memoryView.getUint32(108,!0)}},maxDescriptorSetStorageBuffersDynamic:{get(){return this.memoryView.getUint32(112,!0)}},maxDescriptorSetSampledImages:{get(){return this.memoryView.getUint32(116,!0)}},maxDescriptorSetStorageImages:{get(){return this.memoryView.getUint32(120,!0)}},maxDescriptorSetInputAttachments:{get(){return this.memoryView.getUint32(124,!0)}},maxVertexInputAttributes:{get(){return this.memoryView.getUint32(128,!0)}},maxVertexInputBindings:{get(){return this.memoryView.getUint32(132,!0)}},maxVertexInputAttributeOffset:{get(){return this.memoryView.getUint32(136,!0)}},maxVertexInputBindingStride:{get(){return this.memoryView.getUint32(140,!0)}},maxVertexOutputComponents:{get(){return this.memoryView.getUint32(144,!0)}},maxTessellationGenerationLevel:{get(){return this.memoryView.getUint32(148,!0)}},maxTessellationPatchSize:{get(){return this.memoryView.getUint32(152,!0)}},maxTessellationControlPerVertexInputComponents:{get(){return this.memoryView.getUint32(156,!0)}},maxTessellationControlPerVertexOutputComponents:{get(){return this.memoryView.getUint32(160,!0)}},maxTessellationControlPerPatchOutputComponents:{get(){return this.memoryView.getUint32(164,!0)}},maxTessellationControlTotalOutputComponents:{get(){return this.memoryView.getUint32(168,!0)}},maxTessellationEvaluationInputComponents:{get(){return this.memoryView.getUint32(172,!0)}},maxTessellationEvaluationOutputComponents:{get(){return this.memoryView.getUint32(176,!0)}},maxGeometryShaderInvocations:{get(){return this.memoryView.getUint32(180,!0)}},maxGeometryInputComponents:{get(){return this.memoryView.getUint32(184,!0)}},maxGeometryOutputComponents:{get(){return this.memoryView.getUint32(188,!0)}},maxGeometryOutputVertices:{get(){return this.memoryView.getUint32(192,!0)}},maxGeometryTotalOutputComponents:{get(){return this.memoryView.getUint32(196,!0)}},maxFragmentInputComponents:{get(){return this.memoryView.getUint32(200,!0)}},maxFragmentOutputAttachments:{get(){return this.memoryView.getUint32(204,!0)}},maxFragmentDualSrcAttachments:{get(){return this.memoryView.getUint32(208,!0)}},maxFragmentCombinedOutputResources:{get(){return this.memoryView.getUint32(212,!0)}},maxComputeSharedMemorySize:{get(){return this.memoryView.getUint32(216,!0)}},maxComputeWorkGroupCount:{get(){return[this.memoryView.getUint32(220,!0),this.memoryView.getUint32(224,!0),this.memoryView.getUint32(228,!0)]}},maxComputeWorkGroupInvocations:{get(){return this.memoryView.getUint32(232,!0)}},maxComputeWorkGroupSize:{get(){return[this.memoryView.getUint32(236,!0),this.memoryView.getUint32(240,!0),this.memoryView.getUint32(244,!0)]}},subPixelPrecisionBits:{get(){return this.memoryView.getUint32(248,!0)}},subTexelPrecisionBits:{get(){return this.memoryView.getUint32(252,!0)}},mipmapPrecisionBits:{get(){return this.memoryView.getUint32(256,!0)}},maxDrawIndexedIndexValue:{get(){return this.memoryView.getUint32(260,!0)}},maxDrawIndirectCount:{get(){return this.memoryView.getUint32(264,!0)}},maxSamplerLodBias:{get(){return this.memoryView.getFloat32(268,!0)}},maxSamplerAnisotropy:{get(){return this.memoryView.getFloat32(272,!0)}},maxViewports:{get(){return this.memoryView.getUint32(276,!0)}},maxViewportDimensions:{get(){return[this.memoryView.getUint32(280,!0),this.memoryView.getUint32(284,!0)]}},viewportBoundsRange:{get(){return[this.memoryView.getFloat32(288,!0),this.memoryView.getFloat32(292,!0)]}},viewportSubPixelBits:{get(){return this.memoryView.getUint32(296,!0)}},minMemoryMapAlignment:{get(){return this.memoryView.getBigInt64(304,!0)}},minTexelBufferOffsetAlignment:{get(){return this.memoryView.getBigUint64(312,!0)}},minUniformBufferOffsetAlignment:{get(){return this.memoryView.getBigUint64(320,!0)}},minStorageBufferOffsetAlignment:{get(){return this.memoryView.getBigUint64(328,!0)}},minTexelOffset:{get(){return this.memoryView.getInt32(336,!0)}},maxTexelOffset:{get(){return this.memoryView.getUint32(340,!0)}},minTexelGatherOffset:{get(){return this.memoryView.getInt32(344,!0)}},maxTexelGatherOffset:{get(){return this.memoryView.getUint32(348,!0)}},minInterpolationOffset:{get(){return this.memoryView.getFloat32(352,!0)}},maxInterpolationOffset:{get(){return this.memoryView.getFloat32(356,!0)}},subPixelInterpolationOffsetBits:{get(){return this.memoryView.getUint32(360,!0)}},maxFramebufferWidth:{get(){return this.memoryView.getUint32(364,!0)}},maxFramebufferHeight:{get(){return this.memoryView.getUint32(368,!0)}},maxFramebufferLayers:{get(){return this.memoryView.getUint32(372,!0)}},framebufferColorSampleCounts:{get(){return this.memoryView.getInt32(376,!0)}},framebufferDepthSampleCounts:{get(){return this.memoryView.getInt32(380,!0)}},framebufferStencilSampleCounts:{get(){return this.memoryView.getInt32(384,!0)}},framebufferNoAttachmentsSampleCounts:{get(){return this.memoryView.getInt32(388,!0)}},maxColorAttachments:{get(){return this.memoryView.getUint32(392,!0)}},sampledImageColorSampleCounts:{get(){return this.memoryView.getInt32(396,!0)}},sampledImageIntegerSampleCounts:{get(){return this.memoryView.getInt32(400,!0)}},sampledImageDepthSampleCounts:{get(){return this.memoryView.getInt32(404,!0)}},sampledImageStencilSampleCounts:{get(){return this.memoryView.getInt32(408,!0)}},storageImageSampleCounts:{get(){return this.memoryView.getInt32(412,!0)}},maxSampleMaskWords:{get(){return this.memoryView.getUint32(416,!0)}},timestampComputeAndGraphics:{get(){return 0!==this.memoryView.getUint32(420,!0)}},timestampPeriod:{get(){return this.memoryView.getFloat32(424,!0)}},maxClipDistances:{get(){return this.memoryView.getUint32(428,!0)}},maxCullDistances:{get(){return this.memoryView.getUint32(432,!0)}},maxCombinedClipAndCullDistances:{get(){return this.memoryView.getUint32(436,!0)}},discreteQueuePriorities:{get(){return this.memoryView.getUint32(440,!0)}},pointSizeRange:{get(){return[this.memoryView.getFloat32(444,!0),this.memoryView.getFloat32(448,!0)]}},lineWidthRange:{get(){return[this.memoryView.getFloat32(452,!0),this.memoryView.getFloat32(456,!0)]}},pointSizeGranularity:{get(){return this.memoryView.getFloat32(460,!0)}},lineWidthGranularity:{get(){return this.memoryView.getFloat32(464,!0)}},strictLines:{get(){return 0!==this.memoryView.getUint32(468,!0)}},standardSampleLocations:{get(){return 0!==this.memoryView.getUint32(472,!0)}},optimalBufferCopyOffsetAlignment:{get(){return this.memoryView.getBigUint64(480,!0)}},optimalBufferCopyRowPitchAlignment:{get(){return this.memoryView.getBigUint64(488,!0)}},nonCoherentAtomSize:{get(){return this.memoryView.getBigUint64(496,!0)}}}),VkPhysicalDeviceLimits.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,504)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x1F8"],0),null!==this._maxComputeWorkGroupCount?this._maxComputeWorkGroupCount.fill(0):this._maxComputeWorkGroupCount=[...Array(3)].fill(0),null!==this._maxComputeWorkGroupSize?this._maxComputeWorkGroupSize.fill(0):this._maxComputeWorkGroupSize=[...Array(3)].fill(0),null!==this._maxViewportDimensions?this._maxViewportDimensions.fill(0):this._maxViewportDimensions=[...Array(2)].fill(0),null!==this._viewportBoundsRange?this._viewportBoundsRange.fill(0):this._viewportBoundsRange=[...Array(2)].fill(0),null!==this._pointSizeRange?this._pointSizeRange.fill(0):this._pointSizeRange=[...Array(2)].fill(0),null!==this._lineWidthRange?this._lineWidthRange.fill(0):this._lineWidthRange=[...Array(2)].fill(0)},VkPhysicalDeviceLimits.prototype.flush=function(){return!0},VkPhysicalDeviceLimits.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(504)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,504),0)},VkPhysicalDeviceLimits.createCopyFrom=function(e){let t=new VkPhysicalDeviceLimits;return t.maxImageDimension1D=e.maxImageDimension1D,t.maxImageDimension2D=e.maxImageDimension2D,t.maxImageDimension3D=e.maxImageDimension3D,t.maxImageDimensionCube=e.maxImageDimensionCube,t.maxImageArrayLayers=e.maxImageArrayLayers,t.maxTexelBufferElements=e.maxTexelBufferElements,t.maxUniformBufferRange=e.maxUniformBufferRange,t.maxStorageBufferRange=e.maxStorageBufferRange,t.maxPushConstantsSize=e.maxPushConstantsSize,t.maxMemoryAllocationCount=e.maxMemoryAllocationCount,t.maxSamplerAllocationCount=e.maxSamplerAllocationCount,t.bufferImageGranularity=e.bufferImageGranularity,t.sparseAddressSpaceSize=e.sparseAddressSpaceSize,t.maxBoundDescriptorSets=e.maxBoundDescriptorSets,t.maxPerStageDescriptorSamplers=e.maxPerStageDescriptorSamplers,t.maxPerStageDescriptorUniformBuffers=e.maxPerStageDescriptorUniformBuffers,t.maxPerStageDescriptorStorageBuffers=e.maxPerStageDescriptorStorageBuffers,t.maxPerStageDescriptorSampledImages=e.maxPerStageDescriptorSampledImages,t.maxPerStageDescriptorStorageImages=e.maxPerStageDescriptorStorageImages,t.maxPerStageDescriptorInputAttachments=e.maxPerStageDescriptorInputAttachments,t.maxPerStageResources=e.maxPerStageResources,t.maxDescriptorSetSamplers=e.maxDescriptorSetSamplers,t.maxDescriptorSetUniformBuffers=e.maxDescriptorSetUniformBuffers,t.maxDescriptorSetUniformBuffersDynamic=e.maxDescriptorSetUniformBuffersDynamic,t.maxDescriptorSetStorageBuffers=e.maxDescriptorSetStorageBuffers,t.maxDescriptorSetStorageBuffersDynamic=e.maxDescriptorSetStorageBuffersDynamic,t.maxDescriptorSetSampledImages=e.maxDescriptorSetSampledImages,t.maxDescriptorSetStorageImages=e.maxDescriptorSetStorageImages,t.maxDescriptorSetInputAttachments=e.maxDescriptorSetInputAttachments,t.maxVertexInputAttributes=e.maxVertexInputAttributes,t.maxVertexInputBindings=e.maxVertexInputBindings,t.maxVertexInputAttributeOffset=e.maxVertexInputAttributeOffset,t.maxVertexInputBindingStride=e.maxVertexInputBindingStride,t.maxVertexOutputComponents=e.maxVertexOutputComponents,t.maxTessellationGenerationLevel=e.maxTessellationGenerationLevel,t.maxTessellationPatchSize=e.maxTessellationPatchSize,t.maxTessellationControlPerVertexInputComponents=e.maxTessellationControlPerVertexInputComponents,t.maxTessellationControlPerVertexOutputComponents=e.maxTessellationControlPerVertexOutputComponents,t.maxTessellationControlPerPatchOutputComponents=e.maxTessellationControlPerPatchOutputComponents,t.maxTessellationControlTotalOutputComponents=e.maxTessellationControlTotalOutputComponents,t.maxTessellationEvaluationInputComponents=e.maxTessellationEvaluationInputComponents,t.maxTessellationEvaluationOutputComponents=e.maxTessellationEvaluationOutputComponents,t.maxGeometryShaderInvocations=e.maxGeometryShaderInvocations,t.maxGeometryInputComponents=e.maxGeometryInputComponents,t.maxGeometryOutputComponents=e.maxGeometryOutputComponents,t.maxGeometryOutputVertices=e.maxGeometryOutputVertices,t.maxGeometryTotalOutputComponents=e.maxGeometryTotalOutputComponents,t.maxFragmentInputComponents=e.maxFragmentInputComponents,t.maxFragmentOutputAttachments=e.maxFragmentOutputAttachments,t.maxFragmentDualSrcAttachments=e.maxFragmentDualSrcAttachments,t.maxFragmentCombinedOutputResources=e.maxFragmentCombinedOutputResources,t.maxComputeSharedMemorySize=e.maxComputeSharedMemorySize,null!==e.maxComputeWorkGroupCount&&(t.maxComputeWorkGroupCount=[...Array(e.maxComputeWorkGroupCount.length)].map((t,r)=>e.maxComputeWorkGroupCount[r])),t.maxComputeWorkGroupInvocations=e.maxComputeWorkGroupInvocations,null!==e.maxComputeWorkGroupSize&&(t.maxComputeWorkGroupSize=[...Array(e.maxComputeWorkGroupSize.length)].map((t,r)=>e.maxComputeWorkGroupSize[r])),t.subPixelPrecisionBits=e.subPixelPrecisionBits,t.subTexelPrecisionBits=e.subTexelPrecisionBits,t.mipmapPrecisionBits=e.mipmapPrecisionBits,t.maxDrawIndexedIndexValue=e.maxDrawIndexedIndexValue,t.maxDrawIndirectCount=e.maxDrawIndirectCount,t.maxSamplerLodBias=e.maxSamplerLodBias,t.maxSamplerAnisotropy=e.maxSamplerAnisotropy,t.maxViewports=e.maxViewports,null!==e.maxViewportDimensions&&(t.maxViewportDimensions=[...Array(e.maxViewportDimensions.length)].map((t,r)=>e.maxViewportDimensions[r])),null!==e.viewportBoundsRange&&(t.viewportBoundsRange=[...Array(e.viewportBoundsRange.length)].map((t,r)=>e.viewportBoundsRange[r])),t.viewportSubPixelBits=e.viewportSubPixelBits,t.minMemoryMapAlignment=e.minMemoryMapAlignment,t.minTexelBufferOffsetAlignment=e.minTexelBufferOffsetAlignment,t.minUniformBufferOffsetAlignment=e.minUniformBufferOffsetAlignment,t.minStorageBufferOffsetAlignment=e.minStorageBufferOffsetAlignment,t.minTexelOffset=e.minTexelOffset,t.maxTexelOffset=e.maxTexelOffset,t.minTexelGatherOffset=e.minTexelGatherOffset,t.maxTexelGatherOffset=e.maxTexelGatherOffset,t.minInterpolationOffset=e.minInterpolationOffset,t.maxInterpolationOffset=e.maxInterpolationOffset,t.subPixelInterpolationOffsetBits=e.subPixelInterpolationOffsetBits,t.maxFramebufferWidth=e.maxFramebufferWidth,t.maxFramebufferHeight=e.maxFramebufferHeight,t.maxFramebufferLayers=e.maxFramebufferLayers,t.framebufferColorSampleCounts=e.framebufferColorSampleCounts,t.framebufferDepthSampleCounts=e.framebufferDepthSampleCounts,t.framebufferStencilSampleCounts=e.framebufferStencilSampleCounts,t.framebufferNoAttachmentsSampleCounts=e.framebufferNoAttachmentsSampleCounts,t.maxColorAttachments=e.maxColorAttachments,t.sampledImageColorSampleCounts=e.sampledImageColorSampleCounts,t.sampledImageIntegerSampleCounts=e.sampledImageIntegerSampleCounts,t.sampledImageDepthSampleCounts=e.sampledImageDepthSampleCounts,t.sampledImageStencilSampleCounts=e.sampledImageStencilSampleCounts,t.storageImageSampleCounts=e.storageImageSampleCounts,t.maxSampleMaskWords=e.maxSampleMaskWords,t.timestampComputeAndGraphics=e.timestampComputeAndGraphics,t.timestampPeriod=e.timestampPeriod,t.maxClipDistances=e.maxClipDistances,t.maxCullDistances=e.maxCullDistances,t.maxCombinedClipAndCullDistances=e.maxCombinedClipAndCullDistances,t.discreteQueuePriorities=e.discreteQueuePriorities,null!==e.pointSizeRange&&(t.pointSizeRange=[...Array(e.pointSizeRange.length)].map((t,r)=>e.pointSizeRange[r])),null!==e.lineWidthRange&&(t.lineWidthRange=[...Array(e.lineWidthRange.length)].map((t,r)=>e.lineWidthRange[r])),t.pointSizeGranularity=e.pointSizeGranularity,t.lineWidthGranularity=e.lineWidthGranularity,t.strictLines=e.strictLines,t.standardSampleLocations=e.standardSampleLocations,t.optimalBufferCopyOffsetAlignment=e.optimalBufferCopyOffsetAlignment,t.optimalBufferCopyRowPitchAlignment=e.optimalBufferCopyRowPitchAlignment,t.nonCoherentAtomSize=e.nonCoherentAtomSize,t},VkPhysicalDeviceLimits.byteLength=504,VkPhysicalDeviceLimits.memoryLayout={maxImageDimension1D:{byteOffset:0,byteLength:4},maxImageDimension2D:{byteOffset:4,byteLength:4},maxImageDimension3D:{byteOffset:8,byteLength:4},maxImageDimensionCube:{byteOffset:12,byteLength:4},maxImageArrayLayers:{byteOffset:16,byteLength:4},maxTexelBufferElements:{byteOffset:20,byteLength:4},maxUniformBufferRange:{byteOffset:24,byteLength:4},maxStorageBufferRange:{byteOffset:28,byteLength:4},maxPushConstantsSize:{byteOffset:32,byteLength:4},maxMemoryAllocationCount:{byteOffset:36,byteLength:4},maxSamplerAllocationCount:{byteOffset:40,byteLength:4},bufferImageGranularity:{byteOffset:48,byteLength:8},sparseAddressSpaceSize:{byteOffset:56,byteLength:8},maxBoundDescriptorSets:{byteOffset:64,byteLength:4},maxPerStageDescriptorSamplers:{byteOffset:68,byteLength:4},maxPerStageDescriptorUniformBuffers:{byteOffset:72,byteLength:4},maxPerStageDescriptorStorageBuffers:{byteOffset:76,byteLength:4},maxPerStageDescriptorSampledImages:{byteOffset:80,byteLength:4},maxPerStageDescriptorStorageImages:{byteOffset:84,byteLength:4},maxPerStageDescriptorInputAttachments:{byteOffset:88,byteLength:4},maxPerStageResources:{byteOffset:92,byteLength:4},maxDescriptorSetSamplers:{byteOffset:96,byteLength:4},maxDescriptorSetUniformBuffers:{byteOffset:100,byteLength:4},maxDescriptorSetUniformBuffersDynamic:{byteOffset:104,byteLength:4},maxDescriptorSetStorageBuffers:{byteOffset:108,byteLength:4},maxDescriptorSetStorageBuffersDynamic:{byteOffset:112,byteLength:4},maxDescriptorSetSampledImages:{byteOffset:116,byteLength:4},maxDescriptorSetStorageImages:{byteOffset:120,byteLength:4},maxDescriptorSetInputAttachments:{byteOffset:124,byteLength:4},maxVertexInputAttributes:{byteOffset:128,byteLength:4},maxVertexInputBindings:{byteOffset:132,byteLength:4},maxVertexInputAttributeOffset:{byteOffset:136,byteLength:4},maxVertexInputBindingStride:{byteOffset:140,byteLength:4},maxVertexOutputComponents:{byteOffset:144,byteLength:4},maxTessellationGenerationLevel:{byteOffset:148,byteLength:4},maxTessellationPatchSize:{byteOffset:152,byteLength:4},maxTessellationControlPerVertexInputComponents:{byteOffset:156,byteLength:4},maxTessellationControlPerVertexOutputComponents:{byteOffset:160,byteLength:4},maxTessellationControlPerPatchOutputComponents:{byteOffset:164,byteLength:4},maxTessellationControlTotalOutputComponents:{byteOffset:168,byteLength:4},maxTessellationEvaluationInputComponents:{byteOffset:172,byteLength:4},maxTessellationEvaluationOutputComponents:{byteOffset:176,byteLength:4},maxGeometryShaderInvocations:{byteOffset:180,byteLength:4},maxGeometryInputComponents:{byteOffset:184,byteLength:4},maxGeometryOutputComponents:{byteOffset:188,byteLength:4},maxGeometryOutputVertices:{byteOffset:192,byteLength:4},maxGeometryTotalOutputComponents:{byteOffset:196,byteLength:4},maxFragmentInputComponents:{byteOffset:200,byteLength:4},maxFragmentOutputAttachments:{byteOffset:204,byteLength:4},maxFragmentDualSrcAttachments:{byteOffset:208,byteLength:4},maxFragmentCombinedOutputResources:{byteOffset:212,byteLength:4},maxComputeSharedMemorySize:{byteOffset:216,byteLength:4},maxComputeWorkGroupCount:{byteOffset:220,byteLength:12},maxComputeWorkGroupInvocations:{byteOffset:232,byteLength:4},maxComputeWorkGroupSize:{byteOffset:236,byteLength:12},subPixelPrecisionBits:{byteOffset:248,byteLength:4},subTexelPrecisionBits:{byteOffset:252,byteLength:4},mipmapPrecisionBits:{byteOffset:256,byteLength:4},maxDrawIndexedIndexValue:{byteOffset:260,byteLength:4},maxDrawIndirectCount:{byteOffset:264,byteLength:4},maxSamplerLodBias:{byteOffset:268,byteLength:4},maxSamplerAnisotropy:{byteOffset:272,byteLength:4},maxViewports:{byteOffset:276,byteLength:4},maxViewportDimensions:{byteOffset:280,byteLength:8},viewportBoundsRange:{byteOffset:288,byteLength:8},viewportSubPixelBits:{byteOffset:296,byteLength:4},minMemoryMapAlignment:{byteOffset:304,byteLength:8},minTexelBufferOffsetAlignment:{byteOffset:312,byteLength:8},minUniformBufferOffsetAlignment:{byteOffset:320,byteLength:8},minStorageBufferOffsetAlignment:{byteOffset:328,byteLength:8},minTexelOffset:{byteOffset:336,byteLength:4},maxTexelOffset:{byteOffset:340,byteLength:4},minTexelGatherOffset:{byteOffset:344,byteLength:4},maxTexelGatherOffset:{byteOffset:348,byteLength:4},minInterpolationOffset:{byteOffset:352,byteLength:4},maxInterpolationOffset:{byteOffset:356,byteLength:4},subPixelInterpolationOffsetBits:{byteOffset:360,byteLength:4},maxFramebufferWidth:{byteOffset:364,byteLength:4},maxFramebufferHeight:{byteOffset:368,byteLength:4},maxFramebufferLayers:{byteOffset:372,byteLength:4},framebufferColorSampleCounts:{byteOffset:376,byteLength:4},framebufferDepthSampleCounts:{byteOffset:380,byteLength:4},framebufferStencilSampleCounts:{byteOffset:384,byteLength:4},framebufferNoAttachmentsSampleCounts:{byteOffset:388,byteLength:4},maxColorAttachments:{byteOffset:392,byteLength:4},sampledImageColorSampleCounts:{byteOffset:396,byteLength:4},sampledImageIntegerSampleCounts:{byteOffset:400,byteLength:4},sampledImageDepthSampleCounts:{byteOffset:404,byteLength:4},sampledImageStencilSampleCounts:{byteOffset:408,byteLength:4},storageImageSampleCounts:{byteOffset:412,byteLength:4},maxSampleMaskWords:{byteOffset:416,byteLength:4},timestampComputeAndGraphics:{byteOffset:420,byteLength:4},timestampPeriod:{byteOffset:424,byteLength:4},maxClipDistances:{byteOffset:428,byteLength:4},maxCullDistances:{byteOffset:432,byteLength:4},maxCombinedClipAndCullDistances:{byteOffset:436,byteLength:4},discreteQueuePriorities:{byteOffset:440,byteLength:4},pointSizeRange:{byteOffset:444,byteLength:8},lineWidthRange:{byteOffset:452,byteLength:8},pointSizeGranularity:{byteOffset:460,byteLength:4},lineWidthGranularity:{byteOffset:464,byteLength:4},strictLines:{byteOffset:468,byteLength:4},standardSampleLocations:{byteOffset:472,byteLength:4},optimalBufferCopyOffsetAlignment:{byteOffset:480,byteLength:8},optimalBufferCopyRowPitchAlignment:{byteOffset:488,byteLength:8},nonCoherentAtomSize:{byteOffset:496,byteLength:8}},Object.defineProperties(VkSemaphoreCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSemaphoreCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSemaphoreCreateInfo.pNext'");switch(t){case 1000077e3:case 1000207002:break;default:throw new TypeError("Invalid type for 'VkSemaphoreCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSemaphoreCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSemaphoreCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}}}),VkSemaphoreCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=9,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))},VkSemaphoreCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSemaphoreCreateInfo.prototype.reflect=function(e){},VkSemaphoreCreateInfo.createCopyFrom=function(e){let t=new VkSemaphoreCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t},VkSemaphoreCreateInfo.byteLength=24,VkSemaphoreCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkQueryPoolCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkQueryPoolCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkQueryPoolCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},queryType:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfo.queryType"),!$VAL_R_VkQueryType(e))throw new RangeError("Invalid value for 'VkQueryPoolCreateInfo.queryType': '"+e+"' is not a value of 'VkQueryType'");this.memoryView.setInt32(20,e,!0)}},queryCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfo.queryCount"),this.memoryView.setUint32(24,e,!0)}},pipelineStatistics:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfo.pipelineStatistics"),this.memoryView.setInt32(28,e,!0)}}}),VkQueryPoolCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=11,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.queryType&&(this.queryType=e.queryType),void 0!==e.queryCount&&(this.queryCount=e.queryCount),void 0!==e.pipelineStatistics&&(this.pipelineStatistics=e.pipelineStatistics))},VkQueryPoolCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkQueryPoolCreateInfo.prototype.reflect=function(e){},VkQueryPoolCreateInfo.createCopyFrom=function(e){let t=new VkQueryPoolCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.queryType=e.queryType,t.queryCount=e.queryCount,t.pipelineStatistics=e.pipelineStatistics,t},VkQueryPoolCreateInfo.byteLength=32,VkQueryPoolCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},queryType:{byteOffset:20,byteLength:4},queryCount:{byteOffset:24,byteLength:4},pipelineStatistics:{byteOffset:28,byteLength:4}},Object.defineProperties(VkFramebufferCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFramebufferCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFramebufferCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkFramebufferCreateInfo.pNext'");switch(t){case 1000108001:break;default:throw new TypeError("Invalid type for 'VkFramebufferCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkFramebufferCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},renderPass:{get(){return this._renderPass},set(e){if(null!==e&&e.constructor===VkRenderPass)this._renderPass=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkFramebufferCreateInfo.renderPass': Expected 'VkRenderPass' but got '"+typeToString(e)+"'");this._renderPass=null,this.memoryView.setBigInt64(24,BI0,!0)}}},attachmentCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferCreateInfo.attachmentCount"),this.memoryView.setUint32(32,e,!0)}},pAttachments:{get(){if(null===this._pAttachments&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.attachmentCount,VkImageView);return this._pAttachments=e,this.pAttachments}return this._pAttachments},set(e){if(null!==e&&e.constructor===Array)this._pAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkFramebufferCreateInfo.pAttachments': Expected 'Array VkImageView' but got '"+typeToString(e)+"'");this._pAttachments=null}}},width:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferCreateInfo.width"),this.memoryView.setUint32(48,e,!0)}},height:{get(){return this.memoryView.getUint32(52,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferCreateInfo.height"),this.memoryView.setUint32(52,e,!0)}},layers:{get(){return this.memoryView.getUint32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferCreateInfo.layers"),this.memoryView.setUint32(56,e,!0)}}}),VkFramebufferCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._renderPass=null,this._pAttachments=null,this._pAttachmentsNative=null,this.sType=37,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.renderPass&&(this.renderPass=e.renderPass),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height),void 0!==e.layers&&(this.layers=e.layers))},VkFramebufferCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachments){let e=this._pAttachments;if(e.length!==this.attachmentCount)throw new RangeError("Invalid array length, expected length of 'attachmentCount' for 'VkFramebufferCreateInfo.pAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pAttachmentsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkFramebufferCreateInfo.prototype.reflect=function(e){},VkFramebufferCreateInfo.createCopyFrom=function(e){let t=new VkFramebufferCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.renderPass&&(t.renderPass=e.renderPass.constructor.createCopyFrom(e.renderPass)),t.attachmentCount=e.attachmentCount,null!==e.pAttachments&&(t.pAttachments=[...Array(e.pAttachments.length)].map((t,r)=>e.pAttachments[r].constructor.createCopyFrom(e.pAttachments[r]))),t.width=e.width,t.height=e.height,t.layers=e.layers,t},VkFramebufferCreateInfo.byteLength=64,VkFramebufferCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},renderPass:{byteOffset:24,byteLength:8},attachmentCount:{byteOffset:32,byteLength:4},pAttachments:{byteOffset:40,byteLength:8},width:{byteOffset:48,byteLength:4},height:{byteOffset:52,byteLength:4},layers:{byteOffset:56,byteLength:4}},Object.defineProperties(VkDrawIndirectCommand.prototype,{vertexCount:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndirectCommand.vertexCount"),this.memoryView.setUint32(0,e,!0)}},instanceCount:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndirectCommand.instanceCount"),this.memoryView.setUint32(4,e,!0)}},firstVertex:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndirectCommand.firstVertex"),this.memoryView.setUint32(8,e,!0)}},firstInstance:{get(){return this.memoryView.getUint32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndirectCommand.firstInstance"),this.memoryView.setUint32(12,e,!0)}}}),VkDrawIndirectCommand.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.vertexCount&&(this.vertexCount=e.vertexCount),void 0!==e.instanceCount&&(this.instanceCount=e.instanceCount),void 0!==e.firstVertex&&(this.firstVertex=e.firstVertex),void 0!==e.firstInstance&&(this.firstInstance=e.firstInstance))},VkDrawIndirectCommand.prototype.flush=function(){return!0};function VkExternalFenceProperties(e,t){if(new.target!==VkExternalFenceProperties){if("string"==typeof e){let t=getStructFromStack(e,VkExternalFenceProperties,STRUCT_CACHE_VkExternalFenceProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalFenceProperties,STRUCT_CACHE_VkExternalFenceProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalFenceProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000112001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkExternalFencePropertiesKHR(e,t){if(new.target!==VkExternalFencePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExternalFencePropertiesKHR,STRUCT_CACHE_VkExternalFencePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExternalFencePropertiesKHR,STRUCT_CACHE_VkExternalFencePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExternalFencePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000112001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkExportFenceCreateInfo(e,t){if(new.target!==VkExportFenceCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkExportFenceCreateInfo,STRUCT_CACHE_VkExportFenceCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportFenceCreateInfo,STRUCT_CACHE_VkExportFenceCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportFenceCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000113e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkExportFenceCreateInfoKHR(e,t){if(new.target!==VkExportFenceCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExportFenceCreateInfoKHR,STRUCT_CACHE_VkExportFenceCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportFenceCreateInfoKHR,STRUCT_CACHE_VkExportFenceCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportFenceCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000113e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))}function VkImportFenceWin32HandleInfoKHR(e,t){if(new.target!==VkImportFenceWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImportFenceWin32HandleInfoKHR,STRUCT_CACHE_VkImportFenceWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportFenceWin32HandleInfoKHR,STRUCT_CACHE_VkImportFenceWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportFenceWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._fence=null,this._name=null,this.sType=1000114e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle),void 0!==e.name&&(this.name=e.name))}function VkExportFenceWin32HandleInfoKHR(e,t){if(new.target!==VkExportFenceWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkExportFenceWin32HandleInfoKHR,STRUCT_CACHE_VkExportFenceWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkExportFenceWin32HandleInfoKHR,STRUCT_CACHE_VkExportFenceWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkExportFenceWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._name=null,this.sType=1000114001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess),void 0!==e.name&&(this.name=e.name))}function VkFenceGetWin32HandleInfoKHR(e,t){if(new.target!==VkFenceGetWin32HandleInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkFenceGetWin32HandleInfoKHR,STRUCT_CACHE_VkFenceGetWin32HandleInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFenceGetWin32HandleInfoKHR,STRUCT_CACHE_VkFenceGetWin32HandleInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFenceGetWin32HandleInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._fence=null,this.sType=1000114002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkImportFenceFdInfoKHR(e,t){if(new.target!==VkImportFenceFdInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImportFenceFdInfoKHR,STRUCT_CACHE_VkImportFenceFdInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportFenceFdInfoKHR,STRUCT_CACHE_VkImportFenceFdInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportFenceFdInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._fence=null,this.sType=1000115e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.fd&&(this.fd=e.fd))}function VkFenceGetFdInfoKHR(e,t){if(new.target!==VkFenceGetFdInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkFenceGetFdInfoKHR,STRUCT_CACHE_VkFenceGetFdInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFenceGetFdInfoKHR,STRUCT_CACHE_VkFenceGetFdInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFenceGetFdInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._fence=null,this.sType=1000115001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.handleType&&(this.handleType=e.handleType))}function VkPhysicalDeviceMultiviewFeatures(e,t){if(new.target!==VkPhysicalDeviceMultiviewFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMultiviewFeatures,STRUCT_CACHE_VkPhysicalDeviceMultiviewFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMultiviewFeatures,STRUCT_CACHE_VkPhysicalDeviceMultiviewFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMultiviewFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000053001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.multiview&&(this.multiview=e.multiview),void 0!==e.multiviewGeometryShader&&(this.multiviewGeometryShader=e.multiviewGeometryShader),void 0!==e.multiviewTessellationShader&&(this.multiviewTessellationShader=e.multiviewTessellationShader))}function VkPhysicalDeviceMultiviewFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceMultiviewFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMultiviewFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceMultiviewFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMultiviewFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceMultiviewFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMultiviewFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000053001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.multiview&&(this.multiview=e.multiview),void 0!==e.multiviewGeometryShader&&(this.multiviewGeometryShader=e.multiviewGeometryShader),void 0!==e.multiviewTessellationShader&&(this.multiviewTessellationShader=e.multiviewTessellationShader))}function VkPhysicalDeviceMultiviewProperties(e,t){if(new.target!==VkPhysicalDeviceMultiviewProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMultiviewProperties,STRUCT_CACHE_VkPhysicalDeviceMultiviewProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMultiviewProperties,STRUCT_CACHE_VkPhysicalDeviceMultiviewProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMultiviewProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000053002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceMultiviewPropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceMultiviewPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMultiviewPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceMultiviewPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMultiviewPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceMultiviewPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMultiviewPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000053002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkRenderPassMultiviewCreateInfo(e,t){if(new.target!==VkRenderPassMultiviewCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassMultiviewCreateInfo,STRUCT_CACHE_VkRenderPassMultiviewCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassMultiviewCreateInfo,STRUCT_CACHE_VkRenderPassMultiviewCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassMultiviewCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._pViewMasks=null,this._pViewOffsets=null,this._pCorrelationMasks=null,this.sType=1000053e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pViewMasks&&(this.pViewMasks=e.pViewMasks),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pViewOffsets&&(this.pViewOffsets=e.pViewOffsets),void 0!==e.correlationMaskCount&&(this.correlationMaskCount=e.correlationMaskCount),void 0!==e.pCorrelationMasks&&(this.pCorrelationMasks=e.pCorrelationMasks))}function VkRenderPassMultiviewCreateInfoKHR(e,t){if(new.target!==VkRenderPassMultiviewCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassMultiviewCreateInfoKHR,STRUCT_CACHE_VkRenderPassMultiviewCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassMultiviewCreateInfoKHR,STRUCT_CACHE_VkRenderPassMultiviewCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassMultiviewCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._pViewMasks=null,this._pViewOffsets=null,this._pCorrelationMasks=null,this.sType=1000053e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pViewMasks&&(this.pViewMasks=e.pViewMasks),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pViewOffsets&&(this.pViewOffsets=e.pViewOffsets),void 0!==e.correlationMaskCount&&(this.correlationMaskCount=e.correlationMaskCount),void 0!==e.pCorrelationMasks&&(this.pCorrelationMasks=e.pCorrelationMasks))}function VkSurfaceCapabilities2EXT(e,t){if(new.target!==VkSurfaceCapabilities2EXT){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceCapabilities2EXT,STRUCT_CACHE_VkSurfaceCapabilities2EXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceCapabilities2EXT,STRUCT_CACHE_VkSurfaceCapabilities2EXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceCapabilities2EXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._currentExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this._minImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}),this._maxImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}),this.sType=100009e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDisplayPowerInfoEXT(e,t){if(new.target!==VkDisplayPowerInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPowerInfoEXT,STRUCT_CACHE_VkDisplayPowerInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPowerInfoEXT,STRUCT_CACHE_VkDisplayPowerInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPowerInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000091e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.powerState&&(this.powerState=e.powerState))}function VkDeviceEventInfoEXT(e,t){if(new.target!==VkDeviceEventInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceEventInfoEXT,STRUCT_CACHE_VkDeviceEventInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceEventInfoEXT,STRUCT_CACHE_VkDeviceEventInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceEventInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000091001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceEvent&&(this.deviceEvent=e.deviceEvent))}function VkDisplayEventInfoEXT(e,t){if(new.target!==VkDisplayEventInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayEventInfoEXT,STRUCT_CACHE_VkDisplayEventInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayEventInfoEXT,STRUCT_CACHE_VkDisplayEventInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayEventInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000091002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.displayEvent&&(this.displayEvent=e.displayEvent))}function VkSwapchainCounterCreateInfoEXT(e,t){if(new.target!==VkSwapchainCounterCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSwapchainCounterCreateInfoEXT,STRUCT_CACHE_VkSwapchainCounterCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSwapchainCounterCreateInfoEXT,STRUCT_CACHE_VkSwapchainCounterCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSwapchainCounterCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000091003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.surfaceCounters&&(this.surfaceCounters=e.surfaceCounters))}function VkPhysicalDeviceGroupProperties(e,t){if(new.target!==VkPhysicalDeviceGroupProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceGroupProperties,STRUCT_CACHE_VkPhysicalDeviceGroupProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceGroupProperties,STRUCT_CACHE_VkPhysicalDeviceGroupProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceGroupProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,288)):(this.memoryBuffer=new ArrayBuffer(288),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,288)),this._pNext=null,this._physicalDevices=[...Array(32)].map((e,t)=>null),this.sType=100007e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceGroupPropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceGroupPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceGroupPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceGroupPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceGroupPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceGroupPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceGroupPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,288)):(this.memoryBuffer=new ArrayBuffer(288),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,288)),this._pNext=null,this._physicalDevices=[...Array(32)].map((e,t)=>null),this.sType=100007e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryAllocateFlagsInfo(e,t){if(new.target!==VkMemoryAllocateFlagsInfo){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryAllocateFlagsInfo,STRUCT_CACHE_VkMemoryAllocateFlagsInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryAllocateFlagsInfo,STRUCT_CACHE_VkMemoryAllocateFlagsInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryAllocateFlagsInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100006e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))}function VkMemoryAllocateFlagsInfoKHR(e,t){if(new.target!==VkMemoryAllocateFlagsInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryAllocateFlagsInfoKHR,STRUCT_CACHE_VkMemoryAllocateFlagsInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryAllocateFlagsInfoKHR,STRUCT_CACHE_VkMemoryAllocateFlagsInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryAllocateFlagsInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100006e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))}function VkBindBufferMemoryInfo(e,t){if(new.target!==VkBindBufferMemoryInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBindBufferMemoryInfo,STRUCT_CACHE_VkBindBufferMemoryInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindBufferMemoryInfo,STRUCT_CACHE_VkBindBufferMemoryInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindBufferMemoryInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._buffer=null,this._memory=null,this.sType=1000157e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))}function VkBindBufferMemoryInfoKHR(e,t){if(new.target!==VkBindBufferMemoryInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkBindBufferMemoryInfoKHR,STRUCT_CACHE_VkBindBufferMemoryInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindBufferMemoryInfoKHR,STRUCT_CACHE_VkBindBufferMemoryInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindBufferMemoryInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._buffer=null,this._memory=null,this.sType=1000157e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))}function VkBindBufferMemoryDeviceGroupInfo(e,t){if(new.target!==VkBindBufferMemoryDeviceGroupInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBindBufferMemoryDeviceGroupInfo,STRUCT_CACHE_VkBindBufferMemoryDeviceGroupInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindBufferMemoryDeviceGroupInfo,STRUCT_CACHE_VkBindBufferMemoryDeviceGroupInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindBufferMemoryDeviceGroupInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDeviceIndices=null,this.sType=1000060013,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices))}function VkBindBufferMemoryDeviceGroupInfoKHR(e,t){if(new.target!==VkBindBufferMemoryDeviceGroupInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkBindBufferMemoryDeviceGroupInfoKHR,STRUCT_CACHE_VkBindBufferMemoryDeviceGroupInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindBufferMemoryDeviceGroupInfoKHR,STRUCT_CACHE_VkBindBufferMemoryDeviceGroupInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindBufferMemoryDeviceGroupInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDeviceIndices=null,this.sType=1000060013,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices))}function VkBindImageMemoryInfo(e,t){if(new.target!==VkBindImageMemoryInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBindImageMemoryInfo,STRUCT_CACHE_VkBindImageMemoryInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImageMemoryInfo,STRUCT_CACHE_VkBindImageMemoryInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImageMemoryInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._image=null,this._memory=null,this.sType=1000157001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))}function VkBindImageMemoryInfoKHR(e,t){if(new.target!==VkBindImageMemoryInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkBindImageMemoryInfoKHR,STRUCT_CACHE_VkBindImageMemoryInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImageMemoryInfoKHR,STRUCT_CACHE_VkBindImageMemoryInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImageMemoryInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._image=null,this._memory=null,this.sType=1000157001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))}function VkBindImageMemoryDeviceGroupInfo(e,t){if(new.target!==VkBindImageMemoryDeviceGroupInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBindImageMemoryDeviceGroupInfo,STRUCT_CACHE_VkBindImageMemoryDeviceGroupInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImageMemoryDeviceGroupInfo,STRUCT_CACHE_VkBindImageMemoryDeviceGroupInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImageMemoryDeviceGroupInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pDeviceIndices=null,this._pSplitInstanceBindRegions=null,this._pSplitInstanceBindRegionsNative=null,this.sType=1000060014,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices),void 0!==e.splitInstanceBindRegionCount&&(this.splitInstanceBindRegionCount=e.splitInstanceBindRegionCount),void 0!==e.pSplitInstanceBindRegions&&(this.pSplitInstanceBindRegions=e.pSplitInstanceBindRegions))}function VkBindImageMemoryDeviceGroupInfoKHR(e,t){if(new.target!==VkBindImageMemoryDeviceGroupInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkBindImageMemoryDeviceGroupInfoKHR,STRUCT_CACHE_VkBindImageMemoryDeviceGroupInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImageMemoryDeviceGroupInfoKHR,STRUCT_CACHE_VkBindImageMemoryDeviceGroupInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImageMemoryDeviceGroupInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pDeviceIndices=null,this._pSplitInstanceBindRegions=null,this._pSplitInstanceBindRegionsNative=null,this.sType=1000060014,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices),void 0!==e.splitInstanceBindRegionCount&&(this.splitInstanceBindRegionCount=e.splitInstanceBindRegionCount),void 0!==e.pSplitInstanceBindRegions&&(this.pSplitInstanceBindRegions=e.pSplitInstanceBindRegions))}function VkDeviceGroupRenderPassBeginInfo(e,t){if(new.target!==VkDeviceGroupRenderPassBeginInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupRenderPassBeginInfo,STRUCT_CACHE_VkDeviceGroupRenderPassBeginInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupRenderPassBeginInfo,STRUCT_CACHE_VkDeviceGroupRenderPassBeginInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupRenderPassBeginInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDeviceRenderAreas=null,this._pDeviceRenderAreasNative=null,this.sType=1000060003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask),void 0!==e.deviceRenderAreaCount&&(this.deviceRenderAreaCount=e.deviceRenderAreaCount),void 0!==e.pDeviceRenderAreas&&(this.pDeviceRenderAreas=e.pDeviceRenderAreas))}function VkDeviceGroupRenderPassBeginInfoKHR(e,t){if(new.target!==VkDeviceGroupRenderPassBeginInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupRenderPassBeginInfoKHR,STRUCT_CACHE_VkDeviceGroupRenderPassBeginInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupRenderPassBeginInfoKHR,STRUCT_CACHE_VkDeviceGroupRenderPassBeginInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupRenderPassBeginInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDeviceRenderAreas=null,this._pDeviceRenderAreasNative=null,this.sType=1000060003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask),void 0!==e.deviceRenderAreaCount&&(this.deviceRenderAreaCount=e.deviceRenderAreaCount),void 0!==e.pDeviceRenderAreas&&(this.pDeviceRenderAreas=e.pDeviceRenderAreas))}function VkDeviceGroupCommandBufferBeginInfo(e,t){if(new.target!==VkDeviceGroupCommandBufferBeginInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupCommandBufferBeginInfo,STRUCT_CACHE_VkDeviceGroupCommandBufferBeginInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupCommandBufferBeginInfo,STRUCT_CACHE_VkDeviceGroupCommandBufferBeginInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupCommandBufferBeginInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000060004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))}function VkDeviceGroupCommandBufferBeginInfoKHR(e,t){if(new.target!==VkDeviceGroupCommandBufferBeginInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupCommandBufferBeginInfoKHR,STRUCT_CACHE_VkDeviceGroupCommandBufferBeginInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupCommandBufferBeginInfoKHR,STRUCT_CACHE_VkDeviceGroupCommandBufferBeginInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupCommandBufferBeginInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000060004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))}function VkDeviceGroupSubmitInfo(e,t){if(new.target!==VkDeviceGroupSubmitInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupSubmitInfo,STRUCT_CACHE_VkDeviceGroupSubmitInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupSubmitInfo,STRUCT_CACHE_VkDeviceGroupSubmitInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupSubmitInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._pWaitSemaphoreDeviceIndices=null,this._pCommandBufferDeviceMasks=null,this._pSignalSemaphoreDeviceIndices=null,this.sType=1000060005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphoreDeviceIndices&&(this.pWaitSemaphoreDeviceIndices=e.pWaitSemaphoreDeviceIndices),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount),void 0!==e.pCommandBufferDeviceMasks&&(this.pCommandBufferDeviceMasks=e.pCommandBufferDeviceMasks),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphoreDeviceIndices&&(this.pSignalSemaphoreDeviceIndices=e.pSignalSemaphoreDeviceIndices))}function VkDeviceGroupSubmitInfoKHR(e,t){if(new.target!==VkDeviceGroupSubmitInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupSubmitInfoKHR,STRUCT_CACHE_VkDeviceGroupSubmitInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupSubmitInfoKHR,STRUCT_CACHE_VkDeviceGroupSubmitInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupSubmitInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._pWaitSemaphoreDeviceIndices=null,this._pCommandBufferDeviceMasks=null,this._pSignalSemaphoreDeviceIndices=null,this.sType=1000060005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphoreDeviceIndices&&(this.pWaitSemaphoreDeviceIndices=e.pWaitSemaphoreDeviceIndices),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount),void 0!==e.pCommandBufferDeviceMasks&&(this.pCommandBufferDeviceMasks=e.pCommandBufferDeviceMasks),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphoreDeviceIndices&&(this.pSignalSemaphoreDeviceIndices=e.pSignalSemaphoreDeviceIndices))}function VkDeviceGroupBindSparseInfo(e,t){if(new.target!==VkDeviceGroupBindSparseInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupBindSparseInfo,STRUCT_CACHE_VkDeviceGroupBindSparseInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupBindSparseInfo,STRUCT_CACHE_VkDeviceGroupBindSparseInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupBindSparseInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000060006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.resourceDeviceIndex&&(this.resourceDeviceIndex=e.resourceDeviceIndex),void 0!==e.memoryDeviceIndex&&(this.memoryDeviceIndex=e.memoryDeviceIndex))}function VkDeviceGroupBindSparseInfoKHR(e,t){if(new.target!==VkDeviceGroupBindSparseInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupBindSparseInfoKHR,STRUCT_CACHE_VkDeviceGroupBindSparseInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupBindSparseInfoKHR,STRUCT_CACHE_VkDeviceGroupBindSparseInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupBindSparseInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000060006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.resourceDeviceIndex&&(this.resourceDeviceIndex=e.resourceDeviceIndex),void 0!==e.memoryDeviceIndex&&(this.memoryDeviceIndex=e.memoryDeviceIndex))}function VkDeviceGroupPresentCapabilitiesKHR(e,t){if(new.target!==VkDeviceGroupPresentCapabilitiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupPresentCapabilitiesKHR,STRUCT_CACHE_VkDeviceGroupPresentCapabilitiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupPresentCapabilitiesKHR,STRUCT_CACHE_VkDeviceGroupPresentCapabilitiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupPresentCapabilitiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,152)):(this.memoryBuffer=new ArrayBuffer(152),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,152)),this._pNext=null,this._presentMask=[...Array(32)].fill(0),this.sType=1000060007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkImageSwapchainCreateInfoKHR(e,t){if(new.target!==VkImageSwapchainCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImageSwapchainCreateInfoKHR,STRUCT_CACHE_VkImageSwapchainCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageSwapchainCreateInfoKHR,STRUCT_CACHE_VkImageSwapchainCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageSwapchainCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._swapchain=null,this.sType=1000060008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchain&&(this.swapchain=e.swapchain))}function VkBindImageMemorySwapchainInfoKHR(e,t){if(new.target!==VkBindImageMemorySwapchainInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkBindImageMemorySwapchainInfoKHR,STRUCT_CACHE_VkBindImageMemorySwapchainInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImageMemorySwapchainInfoKHR,STRUCT_CACHE_VkBindImageMemorySwapchainInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImageMemorySwapchainInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._swapchain=null,this.sType=1000060009,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchain&&(this.swapchain=e.swapchain),void 0!==e.imageIndex&&(this.imageIndex=e.imageIndex))}function VkAcquireNextImageInfoKHR(e,t){if(new.target!==VkAcquireNextImageInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkAcquireNextImageInfoKHR,STRUCT_CACHE_VkAcquireNextImageInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAcquireNextImageInfoKHR,STRUCT_CACHE_VkAcquireNextImageInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAcquireNextImageInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._swapchain=null,this._semaphore=null,this._fence=null,this.sType=1000060010,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchain&&(this.swapchain=e.swapchain),void 0!==e.timeout&&(this.timeout=e.timeout),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))}function VkDeviceGroupPresentInfoKHR(e,t){if(new.target!==VkDeviceGroupPresentInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupPresentInfoKHR,STRUCT_CACHE_VkDeviceGroupPresentInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupPresentInfoKHR,STRUCT_CACHE_VkDeviceGroupPresentInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupPresentInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pDeviceMasks=null,this.sType=1000060011,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pDeviceMasks&&(this.pDeviceMasks=e.pDeviceMasks),void 0!==e.mode&&(this.mode=e.mode))}function VkDeviceGroupDeviceCreateInfo(e,t){if(new.target!==VkDeviceGroupDeviceCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupDeviceCreateInfo,STRUCT_CACHE_VkDeviceGroupDeviceCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupDeviceCreateInfo,STRUCT_CACHE_VkDeviceGroupDeviceCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupDeviceCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pPhysicalDevices=null,this._pPhysicalDevicesNative=null,this.sType=1000070001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.physicalDeviceCount&&(this.physicalDeviceCount=e.physicalDeviceCount),void 0!==e.pPhysicalDevices&&(this.pPhysicalDevices=e.pPhysicalDevices))}function VkDeviceGroupDeviceCreateInfoKHR(e,t){if(new.target!==VkDeviceGroupDeviceCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupDeviceCreateInfoKHR,STRUCT_CACHE_VkDeviceGroupDeviceCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupDeviceCreateInfoKHR,STRUCT_CACHE_VkDeviceGroupDeviceCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupDeviceCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pPhysicalDevices=null,this._pPhysicalDevicesNative=null,this.sType=1000070001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.physicalDeviceCount&&(this.physicalDeviceCount=e.physicalDeviceCount),void 0!==e.pPhysicalDevices&&(this.pPhysicalDevices=e.pPhysicalDevices))}function VkDeviceGroupSwapchainCreateInfoKHR(e,t){if(new.target!==VkDeviceGroupSwapchainCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceGroupSwapchainCreateInfoKHR,STRUCT_CACHE_VkDeviceGroupSwapchainCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceGroupSwapchainCreateInfoKHR,STRUCT_CACHE_VkDeviceGroupSwapchainCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceGroupSwapchainCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000060012,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.modes&&(this.modes=e.modes))}function VkDescriptorUpdateTemplateEntry(e,t){if(new.target!==VkDescriptorUpdateTemplateEntry){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorUpdateTemplateEntry,STRUCT_CACHE_VkDescriptorUpdateTemplateEntry);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorUpdateTemplateEntry,STRUCT_CACHE_VkDescriptorUpdateTemplateEntry);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorUpdateTemplateEntry'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),"object"==typeof e&&(void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.stride&&(this.stride=e.stride))}function VkDescriptorUpdateTemplateEntryKHR(e,t){if(new.target!==VkDescriptorUpdateTemplateEntryKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorUpdateTemplateEntryKHR,STRUCT_CACHE_VkDescriptorUpdateTemplateEntryKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorUpdateTemplateEntryKHR,STRUCT_CACHE_VkDescriptorUpdateTemplateEntryKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorUpdateTemplateEntryKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),"object"==typeof e&&(void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.stride&&(this.stride=e.stride))}function VkDescriptorUpdateTemplateCreateInfo(e,t){if(new.target!==VkDescriptorUpdateTemplateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorUpdateTemplateCreateInfo,STRUCT_CACHE_VkDescriptorUpdateTemplateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorUpdateTemplateCreateInfo,STRUCT_CACHE_VkDescriptorUpdateTemplateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorUpdateTemplateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._pDescriptorUpdateEntries=null,this._pDescriptorUpdateEntriesNative=null,this._descriptorSetLayout=null,this._pipelineLayout=null,this.sType=1000085e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.descriptorUpdateEntryCount&&(this.descriptorUpdateEntryCount=e.descriptorUpdateEntryCount),void 0!==e.pDescriptorUpdateEntries&&(this.pDescriptorUpdateEntries=e.pDescriptorUpdateEntries),void 0!==e.templateType&&(this.templateType=e.templateType),void 0!==e.descriptorSetLayout&&(this.descriptorSetLayout=e.descriptorSetLayout),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.set&&(this.set=e.set))}function VkDescriptorUpdateTemplateCreateInfoKHR(e,t){if(new.target!==VkDescriptorUpdateTemplateCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorUpdateTemplateCreateInfoKHR,STRUCT_CACHE_VkDescriptorUpdateTemplateCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorUpdateTemplateCreateInfoKHR,STRUCT_CACHE_VkDescriptorUpdateTemplateCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorUpdateTemplateCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._pDescriptorUpdateEntries=null,this._pDescriptorUpdateEntriesNative=null,this._descriptorSetLayout=null,this._pipelineLayout=null,this.sType=1000085e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.descriptorUpdateEntryCount&&(this.descriptorUpdateEntryCount=e.descriptorUpdateEntryCount),void 0!==e.pDescriptorUpdateEntries&&(this.pDescriptorUpdateEntries=e.pDescriptorUpdateEntries),void 0!==e.templateType&&(this.templateType=e.templateType),void 0!==e.descriptorSetLayout&&(this.descriptorSetLayout=e.descriptorSetLayout),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.set&&(this.set=e.set))}function VkXYColorEXT(e,t){if(new.target!==VkXYColorEXT){if("string"==typeof e){let t=getStructFromStack(e,VkXYColorEXT,STRUCT_CACHE_VkXYColorEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkXYColorEXT,STRUCT_CACHE_VkXYColorEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkXYColorEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y))}function VkHdrMetadataEXT(e,t){if(new.target!==VkHdrMetadataEXT){if("string"==typeof e){let t=getStructFromStack(e,VkHdrMetadataEXT,STRUCT_CACHE_VkHdrMetadataEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkHdrMetadataEXT,STRUCT_CACHE_VkHdrMetadataEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkHdrMetadataEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._displayPrimaryRed=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._displayPrimaryGreen=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this._displayPrimaryBlue=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}),this._whitePoint=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}),this.sType=1000105e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.displayPrimaryRed&&(this.displayPrimaryRed=e.displayPrimaryRed),void 0!==e.displayPrimaryGreen&&(this.displayPrimaryGreen=e.displayPrimaryGreen),void 0!==e.displayPrimaryBlue&&(this.displayPrimaryBlue=e.displayPrimaryBlue),void 0!==e.whitePoint&&(this.whitePoint=e.whitePoint),void 0!==e.maxLuminance&&(this.maxLuminance=e.maxLuminance),void 0!==e.minLuminance&&(this.minLuminance=e.minLuminance),void 0!==e.maxContentLightLevel&&(this.maxContentLightLevel=e.maxContentLightLevel),void 0!==e.maxFrameAverageLightLevel&&(this.maxFrameAverageLightLevel=e.maxFrameAverageLightLevel))}function VkDisplayNativeHdrSurfaceCapabilitiesAMD(e,t){if(new.target!==VkDisplayNativeHdrSurfaceCapabilitiesAMD){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayNativeHdrSurfaceCapabilitiesAMD,STRUCT_CACHE_VkDisplayNativeHdrSurfaceCapabilitiesAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayNativeHdrSurfaceCapabilitiesAMD,STRUCT_CACHE_VkDisplayNativeHdrSurfaceCapabilitiesAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayNativeHdrSurfaceCapabilitiesAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000213e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSwapchainDisplayNativeHdrCreateInfoAMD(e,t){if(new.target!==VkSwapchainDisplayNativeHdrCreateInfoAMD){if("string"==typeof e){let t=getStructFromStack(e,VkSwapchainDisplayNativeHdrCreateInfoAMD,STRUCT_CACHE_VkSwapchainDisplayNativeHdrCreateInfoAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSwapchainDisplayNativeHdrCreateInfoAMD,STRUCT_CACHE_VkSwapchainDisplayNativeHdrCreateInfoAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSwapchainDisplayNativeHdrCreateInfoAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000213001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.localDimmingEnable&&(this.localDimmingEnable=e.localDimmingEnable))}function VkRefreshCycleDurationGOOGLE(e,t){if(new.target!==VkRefreshCycleDurationGOOGLE){if("string"==typeof e){let t=getStructFromStack(e,VkRefreshCycleDurationGOOGLE,STRUCT_CACHE_VkRefreshCycleDurationGOOGLE);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRefreshCycleDurationGOOGLE,STRUCT_CACHE_VkRefreshCycleDurationGOOGLE);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRefreshCycleDurationGOOGLE'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8))}function VkPastPresentationTimingGOOGLE(e,t){if(new.target!==VkPastPresentationTimingGOOGLE){if("string"==typeof e){let t=getStructFromStack(e,VkPastPresentationTimingGOOGLE,STRUCT_CACHE_VkPastPresentationTimingGOOGLE);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPastPresentationTimingGOOGLE,STRUCT_CACHE_VkPastPresentationTimingGOOGLE);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPastPresentationTimingGOOGLE'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40))}function VkPresentTimesInfoGOOGLE(e,t){if(new.target!==VkPresentTimesInfoGOOGLE){if("string"==typeof e){let t=getStructFromStack(e,VkPresentTimesInfoGOOGLE,STRUCT_CACHE_VkPresentTimesInfoGOOGLE);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPresentTimesInfoGOOGLE,STRUCT_CACHE_VkPresentTimesInfoGOOGLE);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPresentTimesInfoGOOGLE'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pTimes=null,this._pTimesNative=null,this.sType=1000092e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pTimes&&(this.pTimes=e.pTimes))}function VkPresentTimeGOOGLE(e,t){if(new.target!==VkPresentTimeGOOGLE){if("string"==typeof e){let t=getStructFromStack(e,VkPresentTimeGOOGLE,STRUCT_CACHE_VkPresentTimeGOOGLE);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPresentTimeGOOGLE,STRUCT_CACHE_VkPresentTimeGOOGLE);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPresentTimeGOOGLE'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.presentID&&(this.presentID=e.presentID),void 0!==e.desiredPresentTime&&(this.desiredPresentTime=e.desiredPresentTime))}function VkViewportWScalingNV(e,t){if(new.target!==VkViewportWScalingNV){if("string"==typeof e){let t=getStructFromStack(e,VkViewportWScalingNV,STRUCT_CACHE_VkViewportWScalingNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkViewportWScalingNV,STRUCT_CACHE_VkViewportWScalingNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkViewportWScalingNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.xcoeff&&(this.xcoeff=e.xcoeff),void 0!==e.ycoeff&&(this.ycoeff=e.ycoeff))}function VkPipelineViewportWScalingStateCreateInfoNV(e,t){if(new.target!==VkPipelineViewportWScalingStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineViewportWScalingStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportWScalingStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineViewportWScalingStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportWScalingStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineViewportWScalingStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pViewportWScalings=null,this._pViewportWScalingsNative=null,this.sType=1000087e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.viewportWScalingEnable&&(this.viewportWScalingEnable=e.viewportWScalingEnable),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pViewportWScalings&&(this.pViewportWScalings=e.pViewportWScalings))}function VkViewportSwizzleNV(e,t){if(new.target!==VkViewportSwizzleNV){if("string"==typeof e){let t=getStructFromStack(e,VkViewportSwizzleNV,STRUCT_CACHE_VkViewportSwizzleNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkViewportSwizzleNV,STRUCT_CACHE_VkViewportSwizzleNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkViewportSwizzleNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.z&&(this.z=e.z),void 0!==e.w&&(this.w=e.w))}function VkPipelineViewportSwizzleStateCreateInfoNV(e,t){if(new.target!==VkPipelineViewportSwizzleStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineViewportSwizzleStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportSwizzleStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineViewportSwizzleStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportSwizzleStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineViewportSwizzleStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pViewportSwizzles=null,this._pViewportSwizzlesNative=null,this.sType=1000098e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pViewportSwizzles&&(this.pViewportSwizzles=e.pViewportSwizzles))}function VkPhysicalDeviceDiscardRectanglePropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceDiscardRectanglePropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDiscardRectanglePropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceDiscardRectanglePropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDiscardRectanglePropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceDiscardRectanglePropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDiscardRectanglePropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000099e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineDiscardRectangleStateCreateInfoEXT(e,t){if(new.target!==VkPipelineDiscardRectangleStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineDiscardRectangleStateCreateInfoEXT,STRUCT_CACHE_VkPipelineDiscardRectangleStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineDiscardRectangleStateCreateInfoEXT,STRUCT_CACHE_VkPipelineDiscardRectangleStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineDiscardRectangleStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pDiscardRectangles=null,this._pDiscardRectanglesNative=null,this.sType=1000099001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.discardRectangleMode&&(this.discardRectangleMode=e.discardRectangleMode),void 0!==e.discardRectangleCount&&(this.discardRectangleCount=e.discardRectangleCount),void 0!==e.pDiscardRectangles&&(this.pDiscardRectangles=e.pDiscardRectangles))}function VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(e,t){if(new.target!==VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX,STRUCT_CACHE_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX,STRUCT_CACHE_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000097e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkInputAttachmentAspectReference(e,t){if(new.target!==VkInputAttachmentAspectReference){if("string"==typeof e){let t=getStructFromStack(e,VkInputAttachmentAspectReference,STRUCT_CACHE_VkInputAttachmentAspectReference);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkInputAttachmentAspectReference,STRUCT_CACHE_VkInputAttachmentAspectReference);return r.reset(e),r}throw new Error("Invalid Signature for 'VkInputAttachmentAspectReference'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.inputAttachmentIndex&&(this.inputAttachmentIndex=e.inputAttachmentIndex),void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask))}function VkInputAttachmentAspectReferenceKHR(e,t){if(new.target!==VkInputAttachmentAspectReferenceKHR){if("string"==typeof e){let t=getStructFromStack(e,VkInputAttachmentAspectReferenceKHR,STRUCT_CACHE_VkInputAttachmentAspectReferenceKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkInputAttachmentAspectReferenceKHR,STRUCT_CACHE_VkInputAttachmentAspectReferenceKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkInputAttachmentAspectReferenceKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.inputAttachmentIndex&&(this.inputAttachmentIndex=e.inputAttachmentIndex),void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask))}function VkRenderPassInputAttachmentAspectCreateInfo(e,t){if(new.target!==VkRenderPassInputAttachmentAspectCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassInputAttachmentAspectCreateInfo,STRUCT_CACHE_VkRenderPassInputAttachmentAspectCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassInputAttachmentAspectCreateInfo,STRUCT_CACHE_VkRenderPassInputAttachmentAspectCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassInputAttachmentAspectCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pAspectReferences=null,this._pAspectReferencesNative=null,this.sType=1000117001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.aspectReferenceCount&&(this.aspectReferenceCount=e.aspectReferenceCount),void 0!==e.pAspectReferences&&(this.pAspectReferences=e.pAspectReferences))}function VkRenderPassInputAttachmentAspectCreateInfoKHR(e,t){if(new.target!==VkRenderPassInputAttachmentAspectCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassInputAttachmentAspectCreateInfoKHR,STRUCT_CACHE_VkRenderPassInputAttachmentAspectCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassInputAttachmentAspectCreateInfoKHR,STRUCT_CACHE_VkRenderPassInputAttachmentAspectCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassInputAttachmentAspectCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pAspectReferences=null,this._pAspectReferencesNative=null,this.sType=1000117001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.aspectReferenceCount&&(this.aspectReferenceCount=e.aspectReferenceCount),void 0!==e.pAspectReferences&&(this.pAspectReferences=e.pAspectReferences))}function VkPhysicalDeviceSurfaceInfo2KHR(e,t){if(new.target!==VkPhysicalDeviceSurfaceInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSurfaceInfo2KHR,STRUCT_CACHE_VkPhysicalDeviceSurfaceInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSurfaceInfo2KHR,STRUCT_CACHE_VkPhysicalDeviceSurfaceInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSurfaceInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._surface=null,this.sType=1000119e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.surface&&(this.surface=e.surface))}function VkSurfaceCapabilities2KHR(e,t){if(new.target!==VkSurfaceCapabilities2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceCapabilities2KHR,STRUCT_CACHE_VkSurfaceCapabilities2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceCapabilities2KHR,STRUCT_CACHE_VkSurfaceCapabilities2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceCapabilities2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this._surfaceCapabilities=new VkSurfaceCapabilitiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000119001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSurfaceFormat2KHR(e,t){if(new.target!==VkSurfaceFormat2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceFormat2KHR,STRUCT_CACHE_VkSurfaceFormat2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceFormat2KHR,STRUCT_CACHE_VkSurfaceFormat2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceFormat2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._surfaceFormat=new VkSurfaceFormatKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000119002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDisplayProperties2KHR(e,t){if(new.target!==VkDisplayProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayProperties2KHR,STRUCT_CACHE_VkDisplayProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayProperties2KHR,STRUCT_CACHE_VkDisplayProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._displayProperties=new VkDisplayPropertiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000121e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDisplayPlaneProperties2KHR(e,t){if(new.target!==VkDisplayPlaneProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPlaneProperties2KHR,STRUCT_CACHE_VkDisplayPlaneProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPlaneProperties2KHR,STRUCT_CACHE_VkDisplayPlaneProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPlaneProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._displayPlaneProperties=new VkDisplayPlanePropertiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000121001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDisplayModeProperties2KHR(e,t){if(new.target!==VkDisplayModeProperties2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayModeProperties2KHR,STRUCT_CACHE_VkDisplayModeProperties2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayModeProperties2KHR,STRUCT_CACHE_VkDisplayModeProperties2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayModeProperties2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._displayModeProperties=new VkDisplayModePropertiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000121002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDisplayPlaneInfo2KHR(e,t){if(new.target!==VkDisplayPlaneInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPlaneInfo2KHR,STRUCT_CACHE_VkDisplayPlaneInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPlaneInfo2KHR,STRUCT_CACHE_VkDisplayPlaneInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPlaneInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._mode=null,this.sType=1000121003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.planeIndex&&(this.planeIndex=e.planeIndex))}function VkDisplayPlaneCapabilities2KHR(e,t){if(new.target!==VkDisplayPlaneCapabilities2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkDisplayPlaneCapabilities2KHR,STRUCT_CACHE_VkDisplayPlaneCapabilities2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDisplayPlaneCapabilities2KHR,STRUCT_CACHE_VkDisplayPlaneCapabilities2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDisplayPlaneCapabilities2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,88)):(this.memoryBuffer=new ArrayBuffer(88),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,88)),this._pNext=null,this._capabilities=new VkDisplayPlaneCapabilitiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000121004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSharedPresentSurfaceCapabilitiesKHR(e,t){if(new.target!==VkSharedPresentSurfaceCapabilitiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSharedPresentSurfaceCapabilitiesKHR,STRUCT_CACHE_VkSharedPresentSurfaceCapabilitiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSharedPresentSurfaceCapabilitiesKHR,STRUCT_CACHE_VkSharedPresentSurfaceCapabilitiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSharedPresentSurfaceCapabilitiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000111e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDevice16BitStorageFeatures(e,t){if(new.target!==VkPhysicalDevice16BitStorageFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevice16BitStorageFeatures,STRUCT_CACHE_VkPhysicalDevice16BitStorageFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevice16BitStorageFeatures,STRUCT_CACHE_VkPhysicalDevice16BitStorageFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevice16BitStorageFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000083e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.storageBuffer16BitAccess&&(this.storageBuffer16BitAccess=e.storageBuffer16BitAccess),void 0!==e.uniformAndStorageBuffer16BitAccess&&(this.uniformAndStorageBuffer16BitAccess=e.uniformAndStorageBuffer16BitAccess),void 0!==e.storagePushConstant16&&(this.storagePushConstant16=e.storagePushConstant16),void 0!==e.storageInputOutput16&&(this.storageInputOutput16=e.storageInputOutput16))}function VkPhysicalDevice16BitStorageFeaturesKHR(e,t){if(new.target!==VkPhysicalDevice16BitStorageFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevice16BitStorageFeaturesKHR,STRUCT_CACHE_VkPhysicalDevice16BitStorageFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevice16BitStorageFeaturesKHR,STRUCT_CACHE_VkPhysicalDevice16BitStorageFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevice16BitStorageFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000083e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.storageBuffer16BitAccess&&(this.storageBuffer16BitAccess=e.storageBuffer16BitAccess),void 0!==e.uniformAndStorageBuffer16BitAccess&&(this.uniformAndStorageBuffer16BitAccess=e.uniformAndStorageBuffer16BitAccess),void 0!==e.storagePushConstant16&&(this.storagePushConstant16=e.storagePushConstant16),void 0!==e.storageInputOutput16&&(this.storageInputOutput16=e.storageInputOutput16))}function VkPhysicalDeviceSubgroupProperties(e,t){if(new.target!==VkPhysicalDeviceSubgroupProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSubgroupProperties,STRUCT_CACHE_VkPhysicalDeviceSubgroupProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSubgroupProperties,STRUCT_CACHE_VkPhysicalDeviceSubgroupProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSubgroupProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000094e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000175e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderSubgroupExtendedTypes&&(this.shaderSubgroupExtendedTypes=e.shaderSubgroupExtendedTypes))}function VkBufferMemoryRequirementsInfo2(e,t){if(new.target!==VkBufferMemoryRequirementsInfo2){if("string"==typeof e){let t=getStructFromStack(e,VkBufferMemoryRequirementsInfo2,STRUCT_CACHE_VkBufferMemoryRequirementsInfo2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferMemoryRequirementsInfo2,STRUCT_CACHE_VkBufferMemoryRequirementsInfo2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferMemoryRequirementsInfo2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._buffer=null,this.sType=1000146e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkBufferMemoryRequirementsInfo2KHR(e,t){if(new.target!==VkBufferMemoryRequirementsInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkBufferMemoryRequirementsInfo2KHR,STRUCT_CACHE_VkBufferMemoryRequirementsInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferMemoryRequirementsInfo2KHR,STRUCT_CACHE_VkBufferMemoryRequirementsInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferMemoryRequirementsInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._buffer=null,this.sType=1000146e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkImageMemoryRequirementsInfo2(e,t){if(new.target!==VkImageMemoryRequirementsInfo2){if("string"==typeof e){let t=getStructFromStack(e,VkImageMemoryRequirementsInfo2,STRUCT_CACHE_VkImageMemoryRequirementsInfo2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageMemoryRequirementsInfo2,STRUCT_CACHE_VkImageMemoryRequirementsInfo2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageMemoryRequirementsInfo2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._image=null,this.sType=1000146001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))}function VkImageMemoryRequirementsInfo2KHR(e,t){if(new.target!==VkImageMemoryRequirementsInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkImageMemoryRequirementsInfo2KHR,STRUCT_CACHE_VkImageMemoryRequirementsInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageMemoryRequirementsInfo2KHR,STRUCT_CACHE_VkImageMemoryRequirementsInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageMemoryRequirementsInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._image=null,this.sType=1000146001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))}function VkImageSparseMemoryRequirementsInfo2(e,t){if(new.target!==VkImageSparseMemoryRequirementsInfo2){if("string"==typeof e){let t=getStructFromStack(e,VkImageSparseMemoryRequirementsInfo2,STRUCT_CACHE_VkImageSparseMemoryRequirementsInfo2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageSparseMemoryRequirementsInfo2,STRUCT_CACHE_VkImageSparseMemoryRequirementsInfo2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageSparseMemoryRequirementsInfo2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._image=null,this.sType=1000146002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))}function VkImageSparseMemoryRequirementsInfo2KHR(e,t){if(new.target!==VkImageSparseMemoryRequirementsInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkImageSparseMemoryRequirementsInfo2KHR,STRUCT_CACHE_VkImageSparseMemoryRequirementsInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageSparseMemoryRequirementsInfo2KHR,STRUCT_CACHE_VkImageSparseMemoryRequirementsInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageSparseMemoryRequirementsInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._image=null,this.sType=1000146002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))}function VkMemoryRequirements2(e,t){if(new.target!==VkMemoryRequirements2){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryRequirements2,STRUCT_CACHE_VkMemoryRequirements2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryRequirements2,STRUCT_CACHE_VkMemoryRequirements2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryRequirements2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._memoryRequirements=new VkMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000146003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryRequirements2KHR(e,t){if(new.target!==VkMemoryRequirements2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryRequirements2KHR,STRUCT_CACHE_VkMemoryRequirements2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryRequirements2KHR,STRUCT_CACHE_VkMemoryRequirements2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryRequirements2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._memoryRequirements=new VkMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000146003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSparseImageMemoryRequirements2(e,t){if(new.target!==VkSparseImageMemoryRequirements2){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageMemoryRequirements2,STRUCT_CACHE_VkSparseImageMemoryRequirements2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageMemoryRequirements2,STRUCT_CACHE_VkSparseImageMemoryRequirements2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageMemoryRequirements2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._memoryRequirements=new VkSparseImageMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000146004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSparseImageMemoryRequirements2KHR(e,t){if(new.target!==VkSparseImageMemoryRequirements2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkSparseImageMemoryRequirements2KHR,STRUCT_CACHE_VkSparseImageMemoryRequirements2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSparseImageMemoryRequirements2KHR,STRUCT_CACHE_VkSparseImageMemoryRequirements2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSparseImageMemoryRequirements2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._memoryRequirements=new VkSparseImageMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000146004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDevicePointClippingProperties(e,t){if(new.target!==VkPhysicalDevicePointClippingProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevicePointClippingProperties,STRUCT_CACHE_VkPhysicalDevicePointClippingProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevicePointClippingProperties,STRUCT_CACHE_VkPhysicalDevicePointClippingProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevicePointClippingProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000117e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDevicePointClippingPropertiesKHR(e,t){if(new.target!==VkPhysicalDevicePointClippingPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevicePointClippingPropertiesKHR,STRUCT_CACHE_VkPhysicalDevicePointClippingPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevicePointClippingPropertiesKHR,STRUCT_CACHE_VkPhysicalDevicePointClippingPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevicePointClippingPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000117e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryDedicatedRequirements(e,t){if(new.target!==VkMemoryDedicatedRequirements){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryDedicatedRequirements,STRUCT_CACHE_VkMemoryDedicatedRequirements);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryDedicatedRequirements,STRUCT_CACHE_VkMemoryDedicatedRequirements);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryDedicatedRequirements'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000127e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryDedicatedRequirementsKHR(e,t){if(new.target!==VkMemoryDedicatedRequirementsKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryDedicatedRequirementsKHR,STRUCT_CACHE_VkMemoryDedicatedRequirementsKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryDedicatedRequirementsKHR,STRUCT_CACHE_VkMemoryDedicatedRequirementsKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryDedicatedRequirementsKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000127e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMemoryDedicatedAllocateInfo(e,t){if(new.target!==VkMemoryDedicatedAllocateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryDedicatedAllocateInfo,STRUCT_CACHE_VkMemoryDedicatedAllocateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryDedicatedAllocateInfo,STRUCT_CACHE_VkMemoryDedicatedAllocateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryDedicatedAllocateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._image=null,this._buffer=null,this.sType=1000127001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkMemoryDedicatedAllocateInfoKHR(e,t){if(new.target!==VkMemoryDedicatedAllocateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryDedicatedAllocateInfoKHR,STRUCT_CACHE_VkMemoryDedicatedAllocateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryDedicatedAllocateInfoKHR,STRUCT_CACHE_VkMemoryDedicatedAllocateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryDedicatedAllocateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._image=null,this._buffer=null,this.sType=1000127001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkImageViewUsageCreateInfo(e,t){if(new.target!==VkImageViewUsageCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkImageViewUsageCreateInfo,STRUCT_CACHE_VkImageViewUsageCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageViewUsageCreateInfo,STRUCT_CACHE_VkImageViewUsageCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageViewUsageCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000117002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.usage&&(this.usage=e.usage))}function VkImageViewUsageCreateInfoKHR(e,t){if(new.target!==VkImageViewUsageCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImageViewUsageCreateInfoKHR,STRUCT_CACHE_VkImageViewUsageCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageViewUsageCreateInfoKHR,STRUCT_CACHE_VkImageViewUsageCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageViewUsageCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000117002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.usage&&(this.usage=e.usage))}function VkPipelineTessellationDomainOriginStateCreateInfo(e,t){if(new.target!==VkPipelineTessellationDomainOriginStateCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineTessellationDomainOriginStateCreateInfo,STRUCT_CACHE_VkPipelineTessellationDomainOriginStateCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineTessellationDomainOriginStateCreateInfo,STRUCT_CACHE_VkPipelineTessellationDomainOriginStateCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineTessellationDomainOriginStateCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000117003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.domainOrigin&&(this.domainOrigin=e.domainOrigin))}function VkPipelineTessellationDomainOriginStateCreateInfoKHR(e,t){if(new.target!==VkPipelineTessellationDomainOriginStateCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineTessellationDomainOriginStateCreateInfoKHR,STRUCT_CACHE_VkPipelineTessellationDomainOriginStateCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineTessellationDomainOriginStateCreateInfoKHR,STRUCT_CACHE_VkPipelineTessellationDomainOriginStateCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineTessellationDomainOriginStateCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000117003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.domainOrigin&&(this.domainOrigin=e.domainOrigin))}function VkSamplerYcbcrConversionInfo(e,t){if(new.target!==VkSamplerYcbcrConversionInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerYcbcrConversionInfo,STRUCT_CACHE_VkSamplerYcbcrConversionInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerYcbcrConversionInfo,STRUCT_CACHE_VkSamplerYcbcrConversionInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerYcbcrConversionInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._conversion=null,this.sType=1000156001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conversion&&(this.conversion=e.conversion))}function VkSamplerYcbcrConversionInfoKHR(e,t){if(new.target!==VkSamplerYcbcrConversionInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerYcbcrConversionInfoKHR,STRUCT_CACHE_VkSamplerYcbcrConversionInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerYcbcrConversionInfoKHR,STRUCT_CACHE_VkSamplerYcbcrConversionInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerYcbcrConversionInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._conversion=null,this.sType=1000156001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conversion&&(this.conversion=e.conversion))}function VkSamplerYcbcrConversionCreateInfo(e,t){if(new.target!==VkSamplerYcbcrConversionCreateInfo){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerYcbcrConversionCreateInfo,STRUCT_CACHE_VkSamplerYcbcrConversionCreateInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerYcbcrConversionCreateInfo,STRUCT_CACHE_VkSamplerYcbcrConversionCreateInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerYcbcrConversionCreateInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._components=new VkComponentMapping({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}),this.sType=1000156e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.ycbcrModel&&(this.ycbcrModel=e.ycbcrModel),void 0!==e.ycbcrRange&&(this.ycbcrRange=e.ycbcrRange),void 0!==e.components&&(this.components=e.components),void 0!==e.xChromaOffset&&(this.xChromaOffset=e.xChromaOffset),void 0!==e.yChromaOffset&&(this.yChromaOffset=e.yChromaOffset),void 0!==e.chromaFilter&&(this.chromaFilter=e.chromaFilter),void 0!==e.forceExplicitReconstruction&&(this.forceExplicitReconstruction=e.forceExplicitReconstruction))}function VkSamplerYcbcrConversionCreateInfoKHR(e,t){if(new.target!==VkSamplerYcbcrConversionCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerYcbcrConversionCreateInfoKHR,STRUCT_CACHE_VkSamplerYcbcrConversionCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerYcbcrConversionCreateInfoKHR,STRUCT_CACHE_VkSamplerYcbcrConversionCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerYcbcrConversionCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._components=new VkComponentMapping({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}),this.sType=1000156e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.ycbcrModel&&(this.ycbcrModel=e.ycbcrModel),void 0!==e.ycbcrRange&&(this.ycbcrRange=e.ycbcrRange),void 0!==e.components&&(this.components=e.components),void 0!==e.xChromaOffset&&(this.xChromaOffset=e.xChromaOffset),void 0!==e.yChromaOffset&&(this.yChromaOffset=e.yChromaOffset),void 0!==e.chromaFilter&&(this.chromaFilter=e.chromaFilter),void 0!==e.forceExplicitReconstruction&&(this.forceExplicitReconstruction=e.forceExplicitReconstruction))}function VkBindImagePlaneMemoryInfo(e,t){if(new.target!==VkBindImagePlaneMemoryInfo){if("string"==typeof e){let t=getStructFromStack(e,VkBindImagePlaneMemoryInfo,STRUCT_CACHE_VkBindImagePlaneMemoryInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImagePlaneMemoryInfo,STRUCT_CACHE_VkBindImagePlaneMemoryInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImagePlaneMemoryInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))}function VkBindImagePlaneMemoryInfoKHR(e,t){if(new.target!==VkBindImagePlaneMemoryInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkBindImagePlaneMemoryInfoKHR,STRUCT_CACHE_VkBindImagePlaneMemoryInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindImagePlaneMemoryInfoKHR,STRUCT_CACHE_VkBindImagePlaneMemoryInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindImagePlaneMemoryInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))}function VkImagePlaneMemoryRequirementsInfo(e,t){if(new.target!==VkImagePlaneMemoryRequirementsInfo){if("string"==typeof e){let t=getStructFromStack(e,VkImagePlaneMemoryRequirementsInfo,STRUCT_CACHE_VkImagePlaneMemoryRequirementsInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImagePlaneMemoryRequirementsInfo,STRUCT_CACHE_VkImagePlaneMemoryRequirementsInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImagePlaneMemoryRequirementsInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))}function VkImagePlaneMemoryRequirementsInfoKHR(e,t){if(new.target!==VkImagePlaneMemoryRequirementsInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImagePlaneMemoryRequirementsInfoKHR,STRUCT_CACHE_VkImagePlaneMemoryRequirementsInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImagePlaneMemoryRequirementsInfoKHR,STRUCT_CACHE_VkImagePlaneMemoryRequirementsInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImagePlaneMemoryRequirementsInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))}function VkPhysicalDeviceSamplerYcbcrConversionFeatures(e,t){if(new.target!==VkPhysicalDeviceSamplerYcbcrConversionFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSamplerYcbcrConversionFeatures,STRUCT_CACHE_VkPhysicalDeviceSamplerYcbcrConversionFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSamplerYcbcrConversionFeatures,STRUCT_CACHE_VkPhysicalDeviceSamplerYcbcrConversionFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSamplerYcbcrConversionFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.samplerYcbcrConversion&&(this.samplerYcbcrConversion=e.samplerYcbcrConversion))}function VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.samplerYcbcrConversion&&(this.samplerYcbcrConversion=e.samplerYcbcrConversion))}function VkSamplerYcbcrConversionImageFormatProperties(e,t){if(new.target!==VkSamplerYcbcrConversionImageFormatProperties){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerYcbcrConversionImageFormatProperties,STRUCT_CACHE_VkSamplerYcbcrConversionImageFormatProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerYcbcrConversionImageFormatProperties,STRUCT_CACHE_VkSamplerYcbcrConversionImageFormatProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerYcbcrConversionImageFormatProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}VkDrawIndirectCommand.prototype.reflect=function(e){},VkDrawIndirectCommand.createCopyFrom=function(e){let t=new VkDrawIndirectCommand;return t.vertexCount=e.vertexCount,t.instanceCount=e.instanceCount,t.firstVertex=e.firstVertex,t.firstInstance=e.firstInstance,t},VkDrawIndirectCommand.byteLength=16,VkDrawIndirectCommand.memoryLayout={vertexCount:{byteOffset:0,byteLength:4},instanceCount:{byteOffset:4,byteLength:4},firstVertex:{byteOffset:8,byteLength:4},firstInstance:{byteOffset:12,byteLength:4}},Object.defineProperties(VkDrawIndexedIndirectCommand.prototype,{indexCount:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndexedIndirectCommand.indexCount"),this.memoryView.setUint32(0,e,!0)}},instanceCount:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndexedIndirectCommand.instanceCount"),this.memoryView.setUint32(4,e,!0)}},firstIndex:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndexedIndirectCommand.firstIndex"),this.memoryView.setUint32(8,e,!0)}},vertexOffset:{get(){return this.memoryView.getInt32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndexedIndirectCommand.vertexOffset"),this.memoryView.setInt32(12,e,!0)}},firstInstance:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawIndexedIndirectCommand.firstInstance"),this.memoryView.setUint32(16,e,!0)}}}),VkDrawIndexedIndirectCommand.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,20)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x14"],0),"object"==typeof e&&(void 0!==e.indexCount&&(this.indexCount=e.indexCount),void 0!==e.instanceCount&&(this.instanceCount=e.instanceCount),void 0!==e.firstIndex&&(this.firstIndex=e.firstIndex),void 0!==e.vertexOffset&&(this.vertexOffset=e.vertexOffset),void 0!==e.firstInstance&&(this.firstInstance=e.firstInstance))},VkDrawIndexedIndirectCommand.prototype.flush=function(){return!0},VkDrawIndexedIndirectCommand.prototype.reflect=function(e){},VkDrawIndexedIndirectCommand.createCopyFrom=function(e){let t=new VkDrawIndexedIndirectCommand;return t.indexCount=e.indexCount,t.instanceCount=e.instanceCount,t.firstIndex=e.firstIndex,t.vertexOffset=e.vertexOffset,t.firstInstance=e.firstInstance,t},VkDrawIndexedIndirectCommand.byteLength=20,VkDrawIndexedIndirectCommand.memoryLayout={indexCount:{byteOffset:0,byteLength:4},instanceCount:{byteOffset:4,byteLength:4},firstIndex:{byteOffset:8,byteLength:4},vertexOffset:{byteOffset:12,byteLength:4},firstInstance:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDispatchIndirectCommand.prototype,{x:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDispatchIndirectCommand.x"),this.memoryView.setUint32(0,e,!0)}},y:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDispatchIndirectCommand.y"),this.memoryView.setUint32(4,e,!0)}},z:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDispatchIndirectCommand.z"),this.memoryView.setUint32(8,e,!0)}}}),VkDispatchIndirectCommand.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.z&&(this.z=e.z))},VkDispatchIndirectCommand.prototype.flush=function(){return!0},VkDispatchIndirectCommand.prototype.reflect=function(e){},VkDispatchIndirectCommand.createCopyFrom=function(e){let t=new VkDispatchIndirectCommand;return t.x=e.x,t.y=e.y,t.z=e.z,t},VkDispatchIndirectCommand.byteLength=12,VkDispatchIndirectCommand.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4},z:{byteOffset:8,byteLength:4}},Object.defineProperties(VkSubmitInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubmitInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSubmitInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSubmitInfo.pNext'");switch(t){case 1000058e3:case 1000075e3:case 1000078002:case 1000060005:case 1000145e3:case 1000207003:break;default:throw new TypeError("Invalid type for 'VkSubmitInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSubmitInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},waitSemaphoreCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubmitInfo.waitSemaphoreCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphores:{get(){if(null===this._pWaitSemaphores&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.waitSemaphoreCount,VkSemaphore);return this._pWaitSemaphores=e,this.pWaitSemaphores}return this._pWaitSemaphores},set(e){if(null!==e&&e.constructor===Array)this._pWaitSemaphores=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubmitInfo.pWaitSemaphores': Expected 'Array VkSemaphore' but got '"+typeToString(e)+"'");this._pWaitSemaphores=null}}},pWaitDstStageMask:{get(){return this._pWaitDstStageMask},set(e){if(null!==e&&e.constructor===Int32Array)this._pWaitDstStageMask=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSubmitInfo.pWaitDstStageMask': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pWaitDstStageMask=null,this.memoryView.setBigInt64(32,BI0,!0)}}},commandBufferCount:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubmitInfo.commandBufferCount"),this.memoryView.setUint32(40,e,!0)}},pCommandBuffers:{get(){if(null===this._pCommandBuffers&&this.memoryView.getBigInt64(48,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(48,!0),this.commandBufferCount,VkCommandBuffer);return this._pCommandBuffers=e,this.pCommandBuffers}return this._pCommandBuffers},set(e){if(null!==e&&e.constructor===Array)this._pCommandBuffers=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubmitInfo.pCommandBuffers': Expected 'Array VkCommandBuffer' but got '"+typeToString(e)+"'");this._pCommandBuffers=null}}},signalSemaphoreCount:{get(){return this.memoryView.getUint32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubmitInfo.signalSemaphoreCount"),this.memoryView.setUint32(56,e,!0)}},pSignalSemaphores:{get(){if(null===this._pSignalSemaphores&&this.memoryView.getBigInt64(64,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(64,!0),this.signalSemaphoreCount,VkSemaphore);return this._pSignalSemaphores=e,this.pSignalSemaphores}return this._pSignalSemaphores},set(e){if(null!==e&&e.constructor===Array)this._pSignalSemaphores=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubmitInfo.pSignalSemaphores': Expected 'Array VkSemaphore' but got '"+typeToString(e)+"'");this._pSignalSemaphores=null}}}}),VkSubmitInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._pWaitSemaphores=null,this._pWaitSemaphoresNative=null,this._pWaitDstStageMask=null,this._pCommandBuffers=null,this._pCommandBuffersNative=null,this._pSignalSemaphores=null,this._pSignalSemaphoresNative=null,this.sType=4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphores&&(this.pWaitSemaphores=e.pWaitSemaphores),void 0!==e.pWaitDstStageMask&&(this.pWaitDstStageMask=e.pWaitDstStageMask),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount),void 0!==e.pCommandBuffers&&(this.pCommandBuffers=e.pCommandBuffers),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphores&&(this.pSignalSemaphores=e.pSignalSemaphores))},VkSubmitInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pWaitSemaphores){let e=this._pWaitSemaphores;if(e.length!==this.waitSemaphoreCount)throw new RangeError("Invalid array length, expected length of 'waitSemaphoreCount' for 'VkSubmitInfo.pWaitSemaphores'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pWaitSemaphoresNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pWaitSemaphoresNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pCommandBuffers){let e=this._pCommandBuffers;if(e.length!==this.commandBufferCount)throw new RangeError("Invalid array length, expected length of 'commandBufferCount' for 'VkSubmitInfo.pCommandBuffers'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pCommandBuffersNative=t,this.memoryView.setBigInt64(48,t.address,!0)}else this._pCommandBuffersNative=null,this.memoryView.setBigInt64(48,BI0,!0)}if(null!==this._pSignalSemaphores){let e=this._pSignalSemaphores;if(e.length!==this.signalSemaphoreCount)throw new RangeError("Invalid array length, expected length of 'signalSemaphoreCount' for 'VkSubmitInfo.pSignalSemaphores'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSignalSemaphoresNative=t,this.memoryView.setBigInt64(64,t.address,!0)}else this._pSignalSemaphoresNative=null,this.memoryView.setBigInt64(64,BI0,!0)}return!0},VkSubmitInfo.prototype.reflect=function(e){},VkSubmitInfo.createCopyFrom=function(e){let t=new VkSubmitInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreCount=e.waitSemaphoreCount,null!==e.pWaitSemaphores&&(t.pWaitSemaphores=[...Array(e.pWaitSemaphores.length)].map((t,r)=>e.pWaitSemaphores[r].constructor.createCopyFrom(e.pWaitSemaphores[r]))),null!==e.pWaitDstStageMask&&(t.pWaitDstStageMask=new Int32Array(e.pWaitDstStageMask)),t.commandBufferCount=e.commandBufferCount,null!==e.pCommandBuffers&&(t.pCommandBuffers=[...Array(e.pCommandBuffers.length)].map((t,r)=>e.pCommandBuffers[r].constructor.createCopyFrom(e.pCommandBuffers[r]))),t.signalSemaphoreCount=e.signalSemaphoreCount,null!==e.pSignalSemaphores&&(t.pSignalSemaphores=[...Array(e.pSignalSemaphores.length)].map((t,r)=>e.pSignalSemaphores[r].constructor.createCopyFrom(e.pSignalSemaphores[r]))),t},VkSubmitInfo.byteLength=72,VkSubmitInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreCount:{byteOffset:16,byteLength:4},pWaitSemaphores:{byteOffset:24,byteLength:8},pWaitDstStageMask:{byteOffset:32,byteLength:8},commandBufferCount:{byteOffset:40,byteLength:4},pCommandBuffers:{byteOffset:48,byteLength:8},signalSemaphoreCount:{byteOffset:56,byteLength:4},pSignalSemaphores:{byteOffset:64,byteLength:8}},Object.defineProperties(VkDisplayPropertiesKHR.prototype,{display:{get(){return this._display}},displayName:{get(){if(null!==this._displayName){let e=textDecoder.decode(this._displayName);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(8,!0)!==BI0){let e=this.memoryView.getBigInt64(8,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._displayName=r,this.displayName}return null}},physicalDimensions:{get(){return this._physicalDimensions}},physicalResolution:{get(){return this._physicalResolution}},supportedTransforms:{get(){return this.memoryView.getInt32(32,!0)}},planeReorderPossible:{get(){return 0!==this.memoryView.getUint32(36,!0)}},persistentContent:{get(){return 0!==this.memoryView.getUint32(40,!0)}}}),VkDisplayPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._display=null,this._displayName=null,null!==this._physicalDimensions&&(this.memoryBuffer!==this._physicalDimensions.memoryBuffer?this._physicalDimensions=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._physicalDimensions.reset()),null!==this._physicalResolution&&(this.memoryBuffer!==this._physicalResolution.memoryBuffer?this._physicalResolution=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._physicalResolution.reset())},VkDisplayPropertiesKHR.prototype.flush=function(){return!0},VkDisplayPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkDisplayPropertiesKHR.createCopyFrom=function(e){let t=new VkDisplayPropertiesKHR;return null!==e.display&&(t.display=e.display.constructor.createCopyFrom(e.display)),t.displayName=e.displayName,null!==e.physicalDimensions&&(t.physicalDimensions=e.physicalDimensions.constructor.createCopyFrom(e.physicalDimensions)),null!==e.physicalResolution&&(t.physicalResolution=e.physicalResolution.constructor.createCopyFrom(e.physicalResolution)),t.supportedTransforms=e.supportedTransforms,t.planeReorderPossible=e.planeReorderPossible,t.persistentContent=e.persistentContent,t},VkDisplayPropertiesKHR.byteLength=48,VkDisplayPropertiesKHR.memoryLayout={display:{byteOffset:0,byteLength:8},displayName:{byteOffset:8,byteLength:8},physicalDimensions:{byteOffset:16,byteLength:8},physicalResolution:{byteOffset:24,byteLength:8},supportedTransforms:{byteOffset:32,byteLength:4},planeReorderPossible:{byteOffset:36,byteLength:4},persistentContent:{byteOffset:40,byteLength:4}},Object.defineProperties(VkDisplayPlanePropertiesKHR.prototype,{currentDisplay:{get(){return this._currentDisplay}},currentStackIndex:{get(){return this.memoryView.getUint32(8,!0)}}}),VkDisplayPlanePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._currentDisplay=null},VkDisplayPlanePropertiesKHR.prototype.flush=function(){return!0},VkDisplayPlanePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(16)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,16),0)},VkDisplayPlanePropertiesKHR.createCopyFrom=function(e){let t=new VkDisplayPlanePropertiesKHR;return null!==e.currentDisplay&&(t.currentDisplay=e.currentDisplay.constructor.createCopyFrom(e.currentDisplay)),t.currentStackIndex=e.currentStackIndex,t},VkDisplayPlanePropertiesKHR.byteLength=16,VkDisplayPlanePropertiesKHR.memoryLayout={currentDisplay:{byteOffset:0,byteLength:8},currentStackIndex:{byteOffset:8,byteLength:4}},Object.defineProperties(VkDisplayModeParametersKHR.prototype,{visibleRegion:{get(){return this._visibleRegion},set(e){if(null!==e&&e.constructor===VkExtent2D)e.flush(),this._visibleRegion=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplayModeParametersKHR.visibleRegion': Expected 'VkExtent2D' but got '"+typeToString(e)+"'");this._visibleRegion=null}}},refreshRate:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplayModeParametersKHR.refreshRate"),this.memoryView.setUint32(8,e,!0)}}}),VkDisplayModeParametersKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),null!==this._visibleRegion&&(this.memoryBuffer!==this._visibleRegion.memoryBuffer?this._visibleRegion=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._visibleRegion.reset()),"object"==typeof e&&(void 0!==e.visibleRegion&&(this.visibleRegion=e.visibleRegion),void 0!==e.refreshRate&&(this.refreshRate=e.refreshRate))},VkDisplayModeParametersKHR.prototype.flush=function(){if(null!==this._visibleRegion){let e=this._visibleRegion;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkDisplayModeParametersKHR.visibleRegion' isn't used as shared-memory")}}return!0},VkDisplayModeParametersKHR.prototype.reflect=function(e){},VkDisplayModeParametersKHR.createCopyFrom=function(e){let t=new VkDisplayModeParametersKHR;return null!==e.visibleRegion&&(t.visibleRegion=e.visibleRegion.constructor.createCopyFrom(e.visibleRegion)),t.refreshRate=e.refreshRate,t},VkDisplayModeParametersKHR.byteLength=12,VkDisplayModeParametersKHR.memoryLayout={visibleRegion:{byteOffset:0,byteLength:8},refreshRate:{byteOffset:8,byteLength:4}},Object.defineProperties(VkDisplayModePropertiesKHR.prototype,{displayMode:{get(){return this._displayMode}},parameters:{get(){return this._parameters}}}),VkDisplayModePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._displayMode=null,null!==this._parameters&&(this.memoryBuffer!==this._parameters.memoryBuffer?this._parameters=new VkDisplayModeParametersKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._parameters.reset())},VkDisplayModePropertiesKHR.prototype.flush=function(){return!0},VkDisplayModePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkDisplayModePropertiesKHR.createCopyFrom=function(e){let t=new VkDisplayModePropertiesKHR;return null!==e.displayMode&&(t.displayMode=e.displayMode.constructor.createCopyFrom(e.displayMode)),null!==e.parameters&&(t.parameters=e.parameters.constructor.createCopyFrom(e.parameters)),t},VkDisplayModePropertiesKHR.byteLength=24,VkDisplayModePropertiesKHR.memoryLayout={displayMode:{byteOffset:0,byteLength:8},parameters:{byteOffset:8,byteLength:12}},Object.defineProperties(VkDisplayModeCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayModeCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayModeCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayModeCreateInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplayModeCreateInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},parameters:{get(){return this._parameters},set(e){if(null!==e&&e.constructor===VkDisplayModeParametersKHR)e.flush(),this._parameters=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplayModeCreateInfoKHR.parameters': Expected 'VkDisplayModeParametersKHR' but got '"+typeToString(e)+"'");this._parameters=null}}}}),VkDisplayModeCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._parameters&&(this.memoryBuffer!==this._parameters.memoryBuffer?this._parameters=new VkDisplayModeParametersKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}):this._parameters.reset()),this.sType=1000002e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.parameters&&(this.parameters=e.parameters))},VkDisplayModeCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._parameters){let e=this._parameters;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,20),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkDisplayModeCreateInfoKHR.parameters' isn't used as shared-memory")}}return!0},VkDisplayModeCreateInfoKHR.prototype.reflect=function(e){},VkDisplayModeCreateInfoKHR.createCopyFrom=function(e){let t=new VkDisplayModeCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.parameters&&(t.parameters=e.parameters.constructor.createCopyFrom(e.parameters)),t},VkDisplayModeCreateInfoKHR.byteLength=32,VkDisplayModeCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},parameters:{byteOffset:20,byteLength:12}},Object.defineProperties(VkDisplayPlaneCapabilitiesKHR.prototype,{supportedAlpha:{get(){return this.memoryView.getInt32(0,!0)}},minSrcPosition:{get(){return this._minSrcPosition}},maxSrcPosition:{get(){return this._maxSrcPosition}},minSrcExtent:{get(){return this._minSrcExtent}},maxSrcExtent:{get(){return this._maxSrcExtent}},minDstPosition:{get(){return this._minDstPosition}},maxDstPosition:{get(){return this._maxDstPosition}},minDstExtent:{get(){return this._minDstExtent}},maxDstExtent:{get(){return this._maxDstExtent}}}),VkDisplayPlaneCapabilitiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,68)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x44"],0),null!==this._minSrcPosition&&(this.memoryBuffer!==this._minSrcPosition.memoryBuffer?this._minSrcPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+4}):this._minSrcPosition.reset()),null!==this._maxSrcPosition&&(this.memoryBuffer!==this._maxSrcPosition.memoryBuffer?this._maxSrcPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+12}):this._maxSrcPosition.reset()),null!==this._minSrcExtent&&(this.memoryBuffer!==this._minSrcExtent.memoryBuffer?this._minSrcExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}):this._minSrcExtent.reset()),null!==this._maxSrcExtent&&(this.memoryBuffer!==this._maxSrcExtent.memoryBuffer?this._maxSrcExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}):this._maxSrcExtent.reset()),null!==this._minDstPosition&&(this.memoryBuffer!==this._minDstPosition.memoryBuffer?this._minDstPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+36}):this._minDstPosition.reset()),null!==this._maxDstPosition&&(this.memoryBuffer!==this._maxDstPosition.memoryBuffer?this._maxDstPosition=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}):this._maxDstPosition.reset()),null!==this._minDstExtent&&(this.memoryBuffer!==this._minDstExtent.memoryBuffer?this._minDstExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+52}):this._minDstExtent.reset()),null!==this._maxDstExtent&&(this.memoryBuffer!==this._maxDstExtent.memoryBuffer?this._maxDstExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+60}):this._maxDstExtent.reset())},VkDisplayPlaneCapabilitiesKHR.prototype.flush=function(){return!0},VkDisplayPlaneCapabilitiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(68)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,68),0)},VkDisplayPlaneCapabilitiesKHR.createCopyFrom=function(e){let t=new VkDisplayPlaneCapabilitiesKHR;return t.supportedAlpha=e.supportedAlpha,null!==e.minSrcPosition&&(t.minSrcPosition=e.minSrcPosition.constructor.createCopyFrom(e.minSrcPosition)),null!==e.maxSrcPosition&&(t.maxSrcPosition=e.maxSrcPosition.constructor.createCopyFrom(e.maxSrcPosition)),null!==e.minSrcExtent&&(t.minSrcExtent=e.minSrcExtent.constructor.createCopyFrom(e.minSrcExtent)),null!==e.maxSrcExtent&&(t.maxSrcExtent=e.maxSrcExtent.constructor.createCopyFrom(e.maxSrcExtent)),null!==e.minDstPosition&&(t.minDstPosition=e.minDstPosition.constructor.createCopyFrom(e.minDstPosition)),null!==e.maxDstPosition&&(t.maxDstPosition=e.maxDstPosition.constructor.createCopyFrom(e.maxDstPosition)),null!==e.minDstExtent&&(t.minDstExtent=e.minDstExtent.constructor.createCopyFrom(e.minDstExtent)),null!==e.maxDstExtent&&(t.maxDstExtent=e.maxDstExtent.constructor.createCopyFrom(e.maxDstExtent)),t},VkDisplayPlaneCapabilitiesKHR.byteLength=68,VkDisplayPlaneCapabilitiesKHR.memoryLayout={supportedAlpha:{byteOffset:0,byteLength:4},minSrcPosition:{byteOffset:4,byteLength:8},maxSrcPosition:{byteOffset:12,byteLength:8},minSrcExtent:{byteOffset:20,byteLength:8},maxSrcExtent:{byteOffset:28,byteLength:8},minDstPosition:{byteOffset:36,byteLength:8},maxDstPosition:{byteOffset:44,byteLength:8},minDstExtent:{byteOffset:52,byteLength:8},maxDstExtent:{byteOffset:60,byteLength:8}},Object.defineProperties(VkDisplaySurfaceCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplaySurfaceCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplaySurfaceCreateInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},displayMode:{get(){return this._displayMode},set(e){if(null!==e&&e.constructor===VkDisplayModeKHR)this._displayMode=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplaySurfaceCreateInfoKHR.displayMode': Expected 'VkDisplayModeKHR' but got '"+typeToString(e)+"'");this._displayMode=null,this.memoryView.setBigInt64(24,BI0,!0)}}},planeIndex:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.planeIndex"),this.memoryView.setUint32(32,e,!0)}},planeStackIndex:{get(){return this.memoryView.getUint32(36,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.planeStackIndex"),this.memoryView.setUint32(36,e,!0)}},transform:{get(){return this.memoryView.getInt32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.transform"),this.memoryView.setInt32(40,e,!0)}},globalAlpha:{get(){return this.memoryView.getFloat32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.globalAlpha"),this.memoryView.setFloat32(44,e,!0)}},alphaMode:{get(){return this.memoryView.getInt32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplaySurfaceCreateInfoKHR.alphaMode"),this.memoryView.setInt32(48,e,!0)}},imageExtent:{get(){return this._imageExtent},set(e){if(null!==e&&e.constructor===VkExtent2D)e.flush(),this._imageExtent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplaySurfaceCreateInfoKHR.imageExtent': Expected 'VkExtent2D' but got '"+typeToString(e)+"'");this._imageExtent=null}}}}),VkDisplaySurfaceCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._displayMode=null,null!==this._imageExtent&&(this.memoryBuffer!==this._imageExtent.memoryBuffer?this._imageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+52}):this._imageExtent.reset()),this.sType=1000002001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.displayMode&&(this.displayMode=e.displayMode),void 0!==e.planeIndex&&(this.planeIndex=e.planeIndex),void 0!==e.planeStackIndex&&(this.planeStackIndex=e.planeStackIndex),void 0!==e.transform&&(this.transform=e.transform),void 0!==e.globalAlpha&&(this.globalAlpha=e.globalAlpha),void 0!==e.alphaMode&&(this.alphaMode=e.alphaMode),void 0!==e.imageExtent&&(this.imageExtent=e.imageExtent))},VkDisplaySurfaceCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._imageExtent){let e=this._imageExtent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,52),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkDisplaySurfaceCreateInfoKHR.imageExtent' isn't used as shared-memory")}}return!0},VkDisplaySurfaceCreateInfoKHR.prototype.reflect=function(e){},VkDisplaySurfaceCreateInfoKHR.createCopyFrom=function(e){let t=new VkDisplaySurfaceCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.displayMode&&(t.displayMode=e.displayMode.constructor.createCopyFrom(e.displayMode)),t.planeIndex=e.planeIndex,t.planeStackIndex=e.planeStackIndex,t.transform=e.transform,t.globalAlpha=e.globalAlpha,t.alphaMode=e.alphaMode,null!==e.imageExtent&&(t.imageExtent=e.imageExtent.constructor.createCopyFrom(e.imageExtent)),t},VkDisplaySurfaceCreateInfoKHR.byteLength=64,VkDisplaySurfaceCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},displayMode:{byteOffset:24,byteLength:8},planeIndex:{byteOffset:32,byteLength:4},planeStackIndex:{byteOffset:36,byteLength:4},transform:{byteOffset:40,byteLength:4},globalAlpha:{byteOffset:44,byteLength:4},alphaMode:{byteOffset:48,byteLength:4},imageExtent:{byteOffset:52,byteLength:8}},Object.defineProperties(VkDisplayPresentInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayPresentInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayPresentInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayPresentInfoKHR.pNext' isn't allowed to be filled")}},srcRect:{get(){return this._srcRect},set(e){if(null!==e&&e.constructor===VkRect2D)e.flush(),this._srcRect=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplayPresentInfoKHR.srcRect': Expected 'VkRect2D' but got '"+typeToString(e)+"'");this._srcRect=null}}},dstRect:{get(){return this._dstRect},set(e){if(null!==e&&e.constructor===VkRect2D)e.flush(),this._dstRect=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplayPresentInfoKHR.dstRect': Expected 'VkRect2D' but got '"+typeToString(e)+"'");this._dstRect=null}}},persistent:{get(){return 0!==this.memoryView.getUint32(48,!0)},set(e){this.memoryView.setUint32(48,0|e,!0)}}}),VkDisplayPresentInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,null!==this._srcRect&&(this.memoryBuffer!==this._srcRect.memoryBuffer?this._srcRect=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._srcRect.reset()),null!==this._dstRect&&(this.memoryBuffer!==this._dstRect.memoryBuffer?this._dstRect=new VkRect2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}):this._dstRect.reset()),this.sType=1000003e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcRect&&(this.srcRect=e.srcRect),void 0!==e.dstRect&&(this.dstRect=e.dstRect),void 0!==e.persistent&&(this.persistent=e.persistent))},VkDisplayPresentInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._srcRect){let e=this._srcRect;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkDisplayPresentInfoKHR.srcRect' isn't used as shared-memory")}}if(null!==this._dstRect){let e=this._dstRect;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,32),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkDisplayPresentInfoKHR.dstRect' isn't used as shared-memory")}}return!0},VkDisplayPresentInfoKHR.prototype.reflect=function(e){},VkDisplayPresentInfoKHR.createCopyFrom=function(e){let t=new VkDisplayPresentInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.srcRect&&(t.srcRect=e.srcRect.constructor.createCopyFrom(e.srcRect)),null!==e.dstRect&&(t.dstRect=e.dstRect.constructor.createCopyFrom(e.dstRect)),t.persistent=e.persistent,t},VkDisplayPresentInfoKHR.byteLength=56,VkDisplayPresentInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcRect:{byteOffset:16,byteLength:16},dstRect:{byteOffset:32,byteLength:16},persistent:{byteOffset:48,byteLength:4}},Object.defineProperties(VkSurfaceCapabilitiesKHR.prototype,{minImageCount:{get(){return this.memoryView.getUint32(0,!0)}},maxImageCount:{get(){return this.memoryView.getUint32(4,!0)}},currentExtent:{get(){return this._currentExtent}},minImageExtent:{get(){return this._minImageExtent}},maxImageExtent:{get(){return this._maxImageExtent}},maxImageArrayLayers:{get(){return this.memoryView.getUint32(32,!0)}},supportedTransforms:{get(){return this.memoryView.getInt32(36,!0)}},currentTransform:{get(){return this.memoryView.getInt32(40,!0)}},supportedCompositeAlpha:{get(){return this.memoryView.getInt32(44,!0)}},supportedUsageFlags:{get(){return this.memoryView.getInt32(48,!0)}}}),VkSurfaceCapabilitiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,52)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x34"],0),null!==this._currentExtent&&(this.memoryBuffer!==this._currentExtent.memoryBuffer?this._currentExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._currentExtent.reset()),null!==this._minImageExtent&&(this.memoryBuffer!==this._minImageExtent.memoryBuffer?this._minImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._minImageExtent.reset()),null!==this._maxImageExtent&&(this.memoryBuffer!==this._maxImageExtent.memoryBuffer?this._maxImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._maxImageExtent.reset())},VkSurfaceCapabilitiesKHR.prototype.flush=function(){return!0},VkSurfaceCapabilitiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(52)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,52),0)},VkSurfaceCapabilitiesKHR.createCopyFrom=function(e){let t=new VkSurfaceCapabilitiesKHR;return t.minImageCount=e.minImageCount,t.maxImageCount=e.maxImageCount,null!==e.currentExtent&&(t.currentExtent=e.currentExtent.constructor.createCopyFrom(e.currentExtent)),null!==e.minImageExtent&&(t.minImageExtent=e.minImageExtent.constructor.createCopyFrom(e.minImageExtent)),null!==e.maxImageExtent&&(t.maxImageExtent=e.maxImageExtent.constructor.createCopyFrom(e.maxImageExtent)),t.maxImageArrayLayers=e.maxImageArrayLayers,t.supportedTransforms=e.supportedTransforms,t.currentTransform=e.currentTransform,t.supportedCompositeAlpha=e.supportedCompositeAlpha,t.supportedUsageFlags=e.supportedUsageFlags,t},VkSurfaceCapabilitiesKHR.byteLength=52,VkSurfaceCapabilitiesKHR.memoryLayout={minImageCount:{byteOffset:0,byteLength:4},maxImageCount:{byteOffset:4,byteLength:4},currentExtent:{byteOffset:8,byteLength:8},minImageExtent:{byteOffset:16,byteLength:8},maxImageExtent:{byteOffset:24,byteLength:8},maxImageArrayLayers:{byteOffset:32,byteLength:4},supportedTransforms:{byteOffset:36,byteLength:4},currentTransform:{byteOffset:40,byteLength:4},supportedCompositeAlpha:{byteOffset:44,byteLength:4},supportedUsageFlags:{byteOffset:48,byteLength:4}},Object.defineProperties(VkWin32SurfaceCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWin32SurfaceCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkWin32SurfaceCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkWin32SurfaceCreateInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWin32SurfaceCreateInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},hinstance:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkWin32SurfaceCreateInfoKHR.hinstance"),this.memoryView.setBigInt64(24,BigInt(e),!0)}},hwnd:{get(){return this.memoryView.getBigInt64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkWin32SurfaceCreateInfoKHR.hwnd"),this.memoryView.setBigInt64(32,BigInt(e),!0)}}}),VkWin32SurfaceCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000009e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.hinstance&&(this.hinstance=e.hinstance),void 0!==e.hwnd&&(this.hwnd=e.hwnd))},VkWin32SurfaceCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkWin32SurfaceCreateInfoKHR.prototype.reflect=function(e){},VkWin32SurfaceCreateInfoKHR.createCopyFrom=function(e){let t=new VkWin32SurfaceCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.hinstance=e.hinstance,t.hwnd=e.hwnd,t},VkWin32SurfaceCreateInfoKHR.byteLength=40,VkWin32SurfaceCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},hinstance:{byteOffset:24,byteLength:8},hwnd:{byteOffset:32,byteLength:8}},Object.defineProperties(VkSurfaceFormatKHR.prototype,{format:{get(){return this.memoryView.getInt32(0,!0)}},colorSpace:{get(){return this.memoryView.getInt32(4,!0)}}}),VkSurfaceFormatKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0)},VkSurfaceFormatKHR.prototype.flush=function(){return!0},VkSurfaceFormatKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,8),0)},VkSurfaceFormatKHR.createCopyFrom=function(e){let t=new VkSurfaceFormatKHR;return t.format=e.format,t.colorSpace=e.colorSpace,t},VkSurfaceFormatKHR.byteLength=8,VkSurfaceFormatKHR.memoryLayout={format:{byteOffset:0,byteLength:4},colorSpace:{byteOffset:4,byteLength:4}},Object.defineProperties(VkSwapchainCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSwapchainCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.pNext'");switch(t){case 1000091003:case 1000060012:case 1000213001:case 1000147e3:case 1000255e3:case 1000255001:break;default:throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},surface:{get(){return this._surface},set(e){if(null!==e&&e.constructor===VkSurfaceKHR)this._surface=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.surface': Expected 'VkSurfaceKHR' but got '"+typeToString(e)+"'");this._surface=null,this.memoryView.setBigInt64(24,BI0,!0)}}},minImageCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.minImageCount"),this.memoryView.setUint32(32,e,!0)}},imageFormat:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.imageFormat"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkSwapchainCreateInfoKHR.imageFormat': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(36,e,!0)}},imageColorSpace:{get(){return this.memoryView.getInt32(40,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.imageColorSpace"),!$VAL_R_VkColorSpaceKHR(e))throw new RangeError("Invalid value for 'VkSwapchainCreateInfoKHR.imageColorSpace': '"+e+"' is not a value of 'VkColorSpaceKHR'");this.memoryView.setInt32(40,e,!0)}},imageExtent:{get(){return this._imageExtent},set(e){if(null!==e&&e.constructor===VkExtent2D)e.flush(),this._imageExtent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.imageExtent': Expected 'VkExtent2D' but got '"+typeToString(e)+"'");this._imageExtent=null}}},imageArrayLayers:{get(){return this.memoryView.getUint32(52,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.imageArrayLayers"),this.memoryView.setUint32(52,e,!0)}},imageUsage:{get(){return this.memoryView.getInt32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.imageUsage"),this.memoryView.setInt32(56,e,!0)}},imageSharingMode:{get(){return this.memoryView.getInt32(60,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.imageSharingMode"),!$VAL_R_VkSharingMode(e))throw new RangeError("Invalid value for 'VkSwapchainCreateInfoKHR.imageSharingMode': '"+e+"' is not a value of 'VkSharingMode'");this.memoryView.setInt32(60,e,!0)}},queueFamilyIndexCount:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.queueFamilyIndexCount"),this.memoryView.setUint32(64,e,!0)}},pQueueFamilyIndices:{get(){return this._pQueueFamilyIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pQueueFamilyIndices=e,this.memoryView.setBigInt64(72,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.pQueueFamilyIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pQueueFamilyIndices=null,this.memoryView.setBigInt64(72,BI0,!0)}}},preTransform:{get(){return this.memoryView.getInt32(80,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.preTransform"),this.memoryView.setInt32(80,e,!0)}},compositeAlpha:{get(){return this.memoryView.getInt32(84,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.compositeAlpha"),this.memoryView.setInt32(84,e,!0)}},presentMode:{get(){return this.memoryView.getInt32(88,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainCreateInfoKHR.presentMode"),!$VAL_R_VkPresentModeKHR(e))throw new RangeError("Invalid value for 'VkSwapchainCreateInfoKHR.presentMode': '"+e+"' is not a value of 'VkPresentModeKHR'");this.memoryView.setInt32(88,e,!0)}},clipped:{get(){return 0!==this.memoryView.getUint32(92,!0)},set(e){this.memoryView.setUint32(92,0|e,!0)}},oldSwapchain:{get(){return this._oldSwapchain},set(e){if(null!==e&&e.constructor===VkSwapchainKHR)this._oldSwapchain=e,this.memoryView.setBigInt64(96,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSwapchainCreateInfoKHR.oldSwapchain': Expected 'VkSwapchainKHR' but got '"+typeToString(e)+"'");this._oldSwapchain=null,this.memoryView.setBigInt64(96,BI0,!0)}}}}),VkSwapchainCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,104)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x68"],0),this._pNext=null,this._surface=null,null!==this._imageExtent&&(this.memoryBuffer!==this._imageExtent.memoryBuffer?this._imageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+44}):this._imageExtent.reset()),this._pQueueFamilyIndices=null,this._oldSwapchain=null,this.sType=1000001e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.surface&&(this.surface=e.surface),void 0!==e.minImageCount&&(this.minImageCount=e.minImageCount),void 0!==e.imageFormat&&(this.imageFormat=e.imageFormat),void 0!==e.imageColorSpace&&(this.imageColorSpace=e.imageColorSpace),void 0!==e.imageExtent&&(this.imageExtent=e.imageExtent),void 0!==e.imageArrayLayers&&(this.imageArrayLayers=e.imageArrayLayers),void 0!==e.imageUsage&&(this.imageUsage=e.imageUsage),void 0!==e.imageSharingMode&&(this.imageSharingMode=e.imageSharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices),void 0!==e.preTransform&&(this.preTransform=e.preTransform),void 0!==e.compositeAlpha&&(this.compositeAlpha=e.compositeAlpha),void 0!==e.presentMode&&(this.presentMode=e.presentMode),void 0!==e.clipped&&(this.clipped=e.clipped),void 0!==e.oldSwapchain&&(this.oldSwapchain=e.oldSwapchain))},VkSwapchainCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._imageExtent){let e=this._imageExtent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,44),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSwapchainCreateInfoKHR.imageExtent' isn't used as shared-memory")}}return!0},VkSwapchainCreateInfoKHR.prototype.reflect=function(e){},VkSwapchainCreateInfoKHR.createCopyFrom=function(e){let t=new VkSwapchainCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,null!==e.surface&&(t.surface=e.surface.constructor.createCopyFrom(e.surface)),t.minImageCount=e.minImageCount,t.imageFormat=e.imageFormat,t.imageColorSpace=e.imageColorSpace,null!==e.imageExtent&&(t.imageExtent=e.imageExtent.constructor.createCopyFrom(e.imageExtent)),t.imageArrayLayers=e.imageArrayLayers,t.imageUsage=e.imageUsage,t.imageSharingMode=e.imageSharingMode,t.queueFamilyIndexCount=e.queueFamilyIndexCount,null!==e.pQueueFamilyIndices&&(t.pQueueFamilyIndices=new Uint32Array(e.pQueueFamilyIndices)),t.preTransform=e.preTransform,t.compositeAlpha=e.compositeAlpha,t.presentMode=e.presentMode,t.clipped=e.clipped,null!==e.oldSwapchain&&(t.oldSwapchain=e.oldSwapchain.constructor.createCopyFrom(e.oldSwapchain)),t},VkSwapchainCreateInfoKHR.byteLength=104,VkSwapchainCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},surface:{byteOffset:24,byteLength:8},minImageCount:{byteOffset:32,byteLength:4},imageFormat:{byteOffset:36,byteLength:4},imageColorSpace:{byteOffset:40,byteLength:4},imageExtent:{byteOffset:44,byteLength:8},imageArrayLayers:{byteOffset:52,byteLength:4},imageUsage:{byteOffset:56,byteLength:4},imageSharingMode:{byteOffset:60,byteLength:4},queueFamilyIndexCount:{byteOffset:64,byteLength:4},pQueueFamilyIndices:{byteOffset:72,byteLength:8},preTransform:{byteOffset:80,byteLength:4},compositeAlpha:{byteOffset:84,byteLength:4},presentMode:{byteOffset:88,byteLength:4},clipped:{byteOffset:92,byteLength:4},oldSwapchain:{byteOffset:96,byteLength:8}},Object.defineProperties(VkPresentInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPresentInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPresentInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPresentInfoKHR.pNext'");switch(t){case 1000003e3:case 1000084e3:case 1000060011:case 1000092e3:case 1000191e3:break;default:throw new TypeError("Invalid type for 'VkPresentInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},waitSemaphoreCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPresentInfoKHR.waitSemaphoreCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphores:{get(){if(null===this._pWaitSemaphores&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.waitSemaphoreCount,VkSemaphore);return this._pWaitSemaphores=e,this.pWaitSemaphores}return this._pWaitSemaphores},set(e){if(null!==e&&e.constructor===Array)this._pWaitSemaphores=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentInfoKHR.pWaitSemaphores': Expected 'Array VkSemaphore' but got '"+typeToString(e)+"'");this._pWaitSemaphores=null}}},swapchainCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPresentInfoKHR.swapchainCount"),this.memoryView.setUint32(32,e,!0)}},pSwapchains:{get(){if(null===this._pSwapchains&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.swapchainCount,VkSwapchainKHR);return this._pSwapchains=e,this.pSwapchains}return this._pSwapchains},set(e){if(null!==e&&e.constructor===Array)this._pSwapchains=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentInfoKHR.pSwapchains': Expected 'Array VkSwapchainKHR' but got '"+typeToString(e)+"'");this._pSwapchains=null}}},pImageIndices:{get(){return this._pImageIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pImageIndices=e,this.memoryView.setBigInt64(48,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentInfoKHR.pImageIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pImageIndices=null,this.memoryView.setBigInt64(48,BI0,!0)}}},pResults:{get(){return this._pResults},set(e){if(null!==e&&e.constructor===Int32Array)this._pResults=e,this.memoryView.setBigInt64(56,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentInfoKHR.pResults': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pResults=null,this.memoryView.setBigInt64(56,BI0,!0)}}}}),VkPresentInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pWaitSemaphores=null,this._pWaitSemaphoresNative=null,this._pSwapchains=null,this._pSwapchainsNative=null,this._pImageIndices=null,this._pResults=null,this.sType=1000001001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphores&&(this.pWaitSemaphores=e.pWaitSemaphores),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pSwapchains&&(this.pSwapchains=e.pSwapchains),void 0!==e.pImageIndices&&(this.pImageIndices=e.pImageIndices),void 0!==e.pResults&&(this.pResults=e.pResults))},VkPresentInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pWaitSemaphores){let e=this._pWaitSemaphores;if(e.length!==this.waitSemaphoreCount)throw new RangeError("Invalid array length, expected length of 'waitSemaphoreCount' for 'VkPresentInfoKHR.pWaitSemaphores'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pWaitSemaphoresNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pWaitSemaphoresNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pSwapchains){let e=this._pSwapchains;if(e.length!==this.swapchainCount)throw new RangeError("Invalid array length, expected length of 'swapchainCount' for 'VkPresentInfoKHR.pSwapchains'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSwapchainsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pSwapchainsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkPresentInfoKHR.prototype.reflect=function(e){},VkPresentInfoKHR.createCopyFrom=function(e){let t=new VkPresentInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreCount=e.waitSemaphoreCount,null!==e.pWaitSemaphores&&(t.pWaitSemaphores=[...Array(e.pWaitSemaphores.length)].map((t,r)=>e.pWaitSemaphores[r].constructor.createCopyFrom(e.pWaitSemaphores[r]))),t.swapchainCount=e.swapchainCount,null!==e.pSwapchains&&(t.pSwapchains=[...Array(e.pSwapchains.length)].map((t,r)=>e.pSwapchains[r].constructor.createCopyFrom(e.pSwapchains[r]))),null!==e.pImageIndices&&(t.pImageIndices=new Uint32Array(e.pImageIndices)),null!==e.pResults&&(t.pResults=new Int32Array(e.pResults)),t},VkPresentInfoKHR.byteLength=64,VkPresentInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreCount:{byteOffset:16,byteLength:4},pWaitSemaphores:{byteOffset:24,byteLength:8},swapchainCount:{byteOffset:32,byteLength:4},pSwapchains:{byteOffset:40,byteLength:8},pImageIndices:{byteOffset:48,byteLength:8},pResults:{byteOffset:56,byteLength:8}},Object.defineProperties(VkDebugReportCallbackCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugReportCallbackCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDebugReportCallbackCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDebugReportCallbackCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDebugReportCallbackCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},pfnCallback:{get(){return this._pfnCallback},set(e){if(null!==e&&e.constructor===Function){let t=function(){for(let e=0;ee.color[r])),t},VkDebugMarkerMarkerInfoEXT.byteLength=40,VkDebugMarkerMarkerInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pMarkerName:{byteOffset:16,byteLength:8},color:{byteOffset:24,byteLength:16}},Object.defineProperties(VkDedicatedAllocationImageCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDedicatedAllocationImageCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDedicatedAllocationImageCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDedicatedAllocationImageCreateInfoNV.pNext' isn't allowed to be filled")}},dedicatedAllocation:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkDedicatedAllocationImageCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000026e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dedicatedAllocation&&(this.dedicatedAllocation=e.dedicatedAllocation))},VkDedicatedAllocationImageCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDedicatedAllocationImageCreateInfoNV.prototype.reflect=function(e){},VkDedicatedAllocationImageCreateInfoNV.createCopyFrom=function(e){let t=new VkDedicatedAllocationImageCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.dedicatedAllocation=e.dedicatedAllocation,t},VkDedicatedAllocationImageCreateInfoNV.byteLength=24,VkDedicatedAllocationImageCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},dedicatedAllocation:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDedicatedAllocationBufferCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDedicatedAllocationBufferCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDedicatedAllocationBufferCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDedicatedAllocationBufferCreateInfoNV.pNext' isn't allowed to be filled")}},dedicatedAllocation:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkDedicatedAllocationBufferCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000026001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dedicatedAllocation&&(this.dedicatedAllocation=e.dedicatedAllocation))},VkDedicatedAllocationBufferCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDedicatedAllocationBufferCreateInfoNV.prototype.reflect=function(e){},VkDedicatedAllocationBufferCreateInfoNV.createCopyFrom=function(e){let t=new VkDedicatedAllocationBufferCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.dedicatedAllocation=e.dedicatedAllocation,t},VkDedicatedAllocationBufferCreateInfoNV.byteLength=24,VkDedicatedAllocationBufferCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},dedicatedAllocation:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDedicatedAllocationMemoryAllocateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDedicatedAllocationMemoryAllocateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDedicatedAllocationMemoryAllocateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDedicatedAllocationMemoryAllocateInfoNV.pNext' isn't allowed to be filled")}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDedicatedAllocationMemoryAllocateInfoNV.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDedicatedAllocationMemoryAllocateInfoNV.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkDedicatedAllocationMemoryAllocateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._image=null,this._buffer=null,this.sType=1000026002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.buffer&&(this.buffer=e.buffer))},VkDedicatedAllocationMemoryAllocateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDedicatedAllocationMemoryAllocateInfoNV.prototype.reflect=function(e){},VkDedicatedAllocationMemoryAllocateInfoNV.createCopyFrom=function(e){let t=new VkDedicatedAllocationMemoryAllocateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkDedicatedAllocationMemoryAllocateInfoNV.byteLength=32,VkDedicatedAllocationMemoryAllocateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8},buffer:{byteOffset:24,byteLength:8}},Object.defineProperties(VkExternalImageFormatPropertiesNV.prototype,{imageFormatProperties:{get(){return this._imageFormatProperties}},externalMemoryFeatures:{get(){return this.memoryView.getInt32(32,!0)}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(36,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(40,!0)}}}),VkExternalImageFormatPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),null!==this._imageFormatProperties&&(this.memoryBuffer!==this._imageFormatProperties.memoryBuffer?this._imageFormatProperties=new VkImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._imageFormatProperties.reset())},VkExternalImageFormatPropertiesNV.prototype.flush=function(){return!0},VkExternalImageFormatPropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkExternalImageFormatPropertiesNV.createCopyFrom=function(e){let t=new VkExternalImageFormatPropertiesNV;return null!==e.imageFormatProperties&&(t.imageFormatProperties=e.imageFormatProperties.constructor.createCopyFrom(e.imageFormatProperties)),t.externalMemoryFeatures=e.externalMemoryFeatures,t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t},VkExternalImageFormatPropertiesNV.byteLength=48,VkExternalImageFormatPropertiesNV.memoryLayout={imageFormatProperties:{byteOffset:0,byteLength:32},externalMemoryFeatures:{byteOffset:32,byteLength:4},exportFromImportedHandleTypes:{byteOffset:36,byteLength:4},compatibleHandleTypes:{byteOffset:40,byteLength:4}},Object.defineProperties(VkExternalMemoryImageCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalMemoryImageCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalMemoryImageCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalMemoryImageCreateInfoNV.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryImageCreateInfoNV.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExternalMemoryImageCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000056e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExternalMemoryImageCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalMemoryImageCreateInfoNV.prototype.reflect=function(e){},VkExternalMemoryImageCreateInfoNV.createCopyFrom=function(e){let t=new VkExternalMemoryImageCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExternalMemoryImageCreateInfoNV.byteLength=24,VkExternalMemoryImageCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExportMemoryAllocateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportMemoryAllocateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportMemoryAllocateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportMemoryAllocateInfoNV.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportMemoryAllocateInfoNV.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportMemoryAllocateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000056001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportMemoryAllocateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportMemoryAllocateInfoNV.prototype.reflect=function(e){},VkExportMemoryAllocateInfoNV.createCopyFrom=function(e){let t=new VkExportMemoryAllocateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportMemoryAllocateInfoNV.byteLength=24,VkExportMemoryAllocateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImportMemoryWin32HandleInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportMemoryWin32HandleInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportMemoryWin32HandleInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportMemoryWin32HandleInfoNV.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportMemoryWin32HandleInfoNV.handleType"),this.memoryView.setInt32(16,e,!0)}},handle:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkImportMemoryWin32HandleInfoNV.handle"),this.memoryView.setBigInt64(24,BigInt(e),!0)}}}),VkImportMemoryWin32HandleInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000057e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle))},VkImportMemoryWin32HandleInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportMemoryWin32HandleInfoNV.prototype.reflect=function(e){},VkImportMemoryWin32HandleInfoNV.createCopyFrom=function(e){let t=new VkImportMemoryWin32HandleInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t.handle=e.handle,t},VkImportMemoryWin32HandleInfoNV.byteLength=32,VkImportMemoryWin32HandleInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4},handle:{byteOffset:24,byteLength:8}},Object.defineProperties(VkExportMemoryWin32HandleInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportMemoryWin32HandleInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportMemoryWin32HandleInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportMemoryWin32HandleInfoNV.pNext' isn't allowed to be filled")}},pAttributes:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkExportMemoryWin32HandleInfoNV.pAttributes"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},dwAccess:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportMemoryWin32HandleInfoNV.dwAccess"),this.memoryView.setUint32(24,e,!0)}}}),VkExportMemoryWin32HandleInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000057001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess))},VkExportMemoryWin32HandleInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportMemoryWin32HandleInfoNV.prototype.reflect=function(e){},VkExportMemoryWin32HandleInfoNV.createCopyFrom=function(e){let t=new VkExportMemoryWin32HandleInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pAttributes=e.pAttributes,t.dwAccess=e.dwAccess,t},VkExportMemoryWin32HandleInfoNV.byteLength=32,VkExportMemoryWin32HandleInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pAttributes:{byteOffset:16,byteLength:8},dwAccess:{byteOffset:24,byteLength:4}},Object.defineProperties(VkWin32KeyedMutexAcquireReleaseInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWin32KeyedMutexAcquireReleaseInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkWin32KeyedMutexAcquireReleaseInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkWin32KeyedMutexAcquireReleaseInfoNV.pNext' isn't allowed to be filled")}},acquireCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWin32KeyedMutexAcquireReleaseInfoNV.acquireCount"),this.memoryView.setUint32(16,e,!0)}},pAcquireSyncs:{get(){if(null===this._pAcquireSyncs&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.acquireCount,VkDeviceMemory);return this._pAcquireSyncs=e,this.pAcquireSyncs}return this._pAcquireSyncs},set(e){if(null!==e&&e.constructor===Array)this._pAcquireSyncs=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pAcquireSyncs': Expected 'Array VkDeviceMemory' but got '"+typeToString(e)+"'");this._pAcquireSyncs=null}}},pAcquireKeys:{get(){return this._pAcquireKeys},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pAcquireKeys=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pAcquireKeys': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pAcquireKeys=null,this.memoryView.setBigInt64(32,BI0,!0)}}},pAcquireTimeoutMilliseconds:{get(){return this._pAcquireTimeoutMilliseconds},set(e){if(null!==e&&e.constructor===Uint32Array)this._pAcquireTimeoutMilliseconds=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pAcquireTimeoutMilliseconds': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pAcquireTimeoutMilliseconds=null,this.memoryView.setBigInt64(40,BI0,!0)}}},releaseCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWin32KeyedMutexAcquireReleaseInfoNV.releaseCount"),this.memoryView.setUint32(48,e,!0)}},pReleaseSyncs:{get(){if(null===this._pReleaseSyncs&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.releaseCount,VkDeviceMemory);return this._pReleaseSyncs=e,this.pReleaseSyncs}return this._pReleaseSyncs},set(e){if(null!==e&&e.constructor===Array)this._pReleaseSyncs=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pReleaseSyncs': Expected 'Array VkDeviceMemory' but got '"+typeToString(e)+"'");this._pReleaseSyncs=null}}},pReleaseKeys:{get(){return this._pReleaseKeys},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pReleaseKeys=e,this.memoryView.setBigInt64(64,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pReleaseKeys': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pReleaseKeys=null,this.memoryView.setBigInt64(64,BI0,!0)}}}}),VkWin32KeyedMutexAcquireReleaseInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._pAcquireSyncs=null,this._pAcquireSyncsNative=null,this._pAcquireKeys=null,this._pAcquireTimeoutMilliseconds=null,this._pReleaseSyncs=null,this._pReleaseSyncsNative=null,this._pReleaseKeys=null,this.sType=1000058e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.acquireCount&&(this.acquireCount=e.acquireCount),void 0!==e.pAcquireSyncs&&(this.pAcquireSyncs=e.pAcquireSyncs),void 0!==e.pAcquireKeys&&(this.pAcquireKeys=e.pAcquireKeys),void 0!==e.pAcquireTimeoutMilliseconds&&(this.pAcquireTimeoutMilliseconds=e.pAcquireTimeoutMilliseconds),void 0!==e.releaseCount&&(this.releaseCount=e.releaseCount),void 0!==e.pReleaseSyncs&&(this.pReleaseSyncs=e.pReleaseSyncs),void 0!==e.pReleaseKeys&&(this.pReleaseKeys=e.pReleaseKeys))},VkWin32KeyedMutexAcquireReleaseInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAcquireSyncs){let e=this._pAcquireSyncs;if(e.length!==this.acquireCount)throw new RangeError("Invalid array length, expected length of 'acquireCount' for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pAcquireSyncs'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAcquireSyncsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAcquireSyncsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pReleaseSyncs){let e=this._pReleaseSyncs;if(e.length!==this.releaseCount)throw new RangeError("Invalid array length, expected length of 'releaseCount' for 'VkWin32KeyedMutexAcquireReleaseInfoNV.pReleaseSyncs'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pReleaseSyncsNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pReleaseSyncsNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkWin32KeyedMutexAcquireReleaseInfoNV.prototype.reflect=function(e){},VkWin32KeyedMutexAcquireReleaseInfoNV.createCopyFrom=function(e){let t=new VkWin32KeyedMutexAcquireReleaseInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.acquireCount=e.acquireCount,null!==e.pAcquireSyncs&&(t.pAcquireSyncs=[...Array(e.pAcquireSyncs.length)].map((t,r)=>e.pAcquireSyncs[r].constructor.createCopyFrom(e.pAcquireSyncs[r]))),null!==e.pAcquireKeys&&(t.pAcquireKeys=new BigUint64Array(e.pAcquireKeys)),null!==e.pAcquireTimeoutMilliseconds&&(t.pAcquireTimeoutMilliseconds=new Uint32Array(e.pAcquireTimeoutMilliseconds)),t.releaseCount=e.releaseCount,null!==e.pReleaseSyncs&&(t.pReleaseSyncs=[...Array(e.pReleaseSyncs.length)].map((t,r)=>e.pReleaseSyncs[r].constructor.createCopyFrom(e.pReleaseSyncs[r]))),null!==e.pReleaseKeys&&(t.pReleaseKeys=new BigUint64Array(e.pReleaseKeys)),t},VkWin32KeyedMutexAcquireReleaseInfoNV.byteLength=72,VkWin32KeyedMutexAcquireReleaseInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},acquireCount:{byteOffset:16,byteLength:4},pAcquireSyncs:{byteOffset:24,byteLength:8},pAcquireKeys:{byteOffset:32,byteLength:8},pAcquireTimeoutMilliseconds:{byteOffset:40,byteLength:8},releaseCount:{byteOffset:48,byteLength:4},pReleaseSyncs:{byteOffset:56,byteLength:8},pReleaseKeys:{byteOffset:64,byteLength:8}},Object.defineProperties(VkDeviceGeneratedCommandsFeaturesNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsFeaturesNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGeneratedCommandsFeaturesNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGeneratedCommandsFeaturesNVX.pNext' isn't allowed to be filled")}},computeBindingPointSupport:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkDeviceGeneratedCommandsFeaturesNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000086005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.computeBindingPointSupport&&(this.computeBindingPointSupport=e.computeBindingPointSupport))},VkDeviceGeneratedCommandsFeaturesNVX.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGeneratedCommandsFeaturesNVX.prototype.reflect=function(e){},VkDeviceGeneratedCommandsFeaturesNVX.createCopyFrom=function(e){let t=new VkDeviceGeneratedCommandsFeaturesNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.computeBindingPointSupport=e.computeBindingPointSupport,t},VkDeviceGeneratedCommandsFeaturesNVX.byteLength=24,VkDeviceGeneratedCommandsFeaturesNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},computeBindingPointSupport:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDeviceGeneratedCommandsLimitsNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsLimitsNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGeneratedCommandsLimitsNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGeneratedCommandsLimitsNVX.pNext' isn't allowed to be filled")}},maxIndirectCommandsLayoutTokenCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsLimitsNVX.maxIndirectCommandsLayoutTokenCount"),this.memoryView.setUint32(16,e,!0)}},maxObjectEntryCounts:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsLimitsNVX.maxObjectEntryCounts"),this.memoryView.setUint32(20,e,!0)}},minSequenceCountBufferOffsetAlignment:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsLimitsNVX.minSequenceCountBufferOffsetAlignment"),this.memoryView.setUint32(24,e,!0)}},minSequenceIndexBufferOffsetAlignment:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsLimitsNVX.minSequenceIndexBufferOffsetAlignment"),this.memoryView.setUint32(28,e,!0)}},minCommandsTokenBufferOffsetAlignment:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGeneratedCommandsLimitsNVX.minCommandsTokenBufferOffsetAlignment"),this.memoryView.setUint32(32,e,!0)}}}),VkDeviceGeneratedCommandsLimitsNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000086004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.maxIndirectCommandsLayoutTokenCount&&(this.maxIndirectCommandsLayoutTokenCount=e.maxIndirectCommandsLayoutTokenCount),void 0!==e.maxObjectEntryCounts&&(this.maxObjectEntryCounts=e.maxObjectEntryCounts),void 0!==e.minSequenceCountBufferOffsetAlignment&&(this.minSequenceCountBufferOffsetAlignment=e.minSequenceCountBufferOffsetAlignment),void 0!==e.minSequenceIndexBufferOffsetAlignment&&(this.minSequenceIndexBufferOffsetAlignment=e.minSequenceIndexBufferOffsetAlignment),void 0!==e.minCommandsTokenBufferOffsetAlignment&&(this.minCommandsTokenBufferOffsetAlignment=e.minCommandsTokenBufferOffsetAlignment))},VkDeviceGeneratedCommandsLimitsNVX.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGeneratedCommandsLimitsNVX.prototype.reflect=function(e){},VkDeviceGeneratedCommandsLimitsNVX.createCopyFrom=function(e){let t=new VkDeviceGeneratedCommandsLimitsNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxIndirectCommandsLayoutTokenCount=e.maxIndirectCommandsLayoutTokenCount,t.maxObjectEntryCounts=e.maxObjectEntryCounts,t.minSequenceCountBufferOffsetAlignment=e.minSequenceCountBufferOffsetAlignment,t.minSequenceIndexBufferOffsetAlignment=e.minSequenceIndexBufferOffsetAlignment,t.minCommandsTokenBufferOffsetAlignment=e.minCommandsTokenBufferOffsetAlignment,t},VkDeviceGeneratedCommandsLimitsNVX.byteLength=40,VkDeviceGeneratedCommandsLimitsNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxIndirectCommandsLayoutTokenCount:{byteOffset:16,byteLength:4},maxObjectEntryCounts:{byteOffset:20,byteLength:4},minSequenceCountBufferOffsetAlignment:{byteOffset:24,byteLength:4},minSequenceIndexBufferOffsetAlignment:{byteOffset:28,byteLength:4},minCommandsTokenBufferOffsetAlignment:{byteOffset:32,byteLength:4}},Object.defineProperties(VkIndirectCommandsTokenNVX.prototype,{tokenType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkIndirectCommandsTokenNVX.tokenType"),!$VAL_R_VkIndirectCommandsTokenTypeNVX(e))throw new RangeError("Invalid value for 'VkIndirectCommandsTokenNVX.tokenType': '"+e+"' is not a value of 'VkIndirectCommandsTokenTypeNVX'");this.memoryView.setInt32(0,e,!0)}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkIndirectCommandsTokenNVX.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(8,BI0,!0)}}},offset:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkIndirectCommandsTokenNVX.offset"),this.memoryView.setBigUint64(16,BigInt(e),!0)}}}),VkIndirectCommandsTokenNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._buffer=null,"object"==typeof e&&(void 0!==e.tokenType&&(this.tokenType=e.tokenType),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset))},VkIndirectCommandsTokenNVX.prototype.flush=function(){return!0},VkIndirectCommandsTokenNVX.prototype.reflect=function(e){},VkIndirectCommandsTokenNVX.createCopyFrom=function(e){let t=new VkIndirectCommandsTokenNVX;return t.tokenType=e.tokenType,null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.offset=e.offset,t},VkIndirectCommandsTokenNVX.byteLength=24,VkIndirectCommandsTokenNVX.memoryLayout={tokenType:{byteOffset:0,byteLength:4},buffer:{byteOffset:8,byteLength:8},offset:{byteOffset:16,byteLength:8}},Object.defineProperties(VkIndirectCommandsLayoutTokenNVX.prototype,{tokenType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutTokenNVX.tokenType"),!$VAL_R_VkIndirectCommandsTokenTypeNVX(e))throw new RangeError("Invalid value for 'VkIndirectCommandsLayoutTokenNVX.tokenType': '"+e+"' is not a value of 'VkIndirectCommandsTokenTypeNVX'");this.memoryView.setInt32(0,e,!0)}},bindingUnit:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutTokenNVX.bindingUnit"),this.memoryView.setUint32(4,e,!0)}},dynamicCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutTokenNVX.dynamicCount"),this.memoryView.setUint32(8,e,!0)}},divisor:{get(){return this.memoryView.getUint32(12,!0)},set(e){ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutTokenNVX.divisor"),this.memoryView.setUint32(12,e,!0)}}}),VkIndirectCommandsLayoutTokenNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.tokenType&&(this.tokenType=e.tokenType),void 0!==e.bindingUnit&&(this.bindingUnit=e.bindingUnit),void 0!==e.dynamicCount&&(this.dynamicCount=e.dynamicCount),void 0!==e.divisor&&(this.divisor=e.divisor))},VkIndirectCommandsLayoutTokenNVX.prototype.flush=function(){return!0},VkIndirectCommandsLayoutTokenNVX.prototype.reflect=function(e){},VkIndirectCommandsLayoutTokenNVX.createCopyFrom=function(e){let t=new VkIndirectCommandsLayoutTokenNVX;return t.tokenType=e.tokenType,t.bindingUnit=e.bindingUnit,t.dynamicCount=e.dynamicCount,t.divisor=e.divisor,t},VkIndirectCommandsLayoutTokenNVX.byteLength=16,VkIndirectCommandsLayoutTokenNVX.memoryLayout={tokenType:{byteOffset:0,byteLength:4},bindingUnit:{byteOffset:4,byteLength:4},dynamicCount:{byteOffset:8,byteLength:4},divisor:{byteOffset:12,byteLength:4}},Object.defineProperties(VkIndirectCommandsLayoutCreateInfoNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutCreateInfoNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkIndirectCommandsLayoutCreateInfoNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkIndirectCommandsLayoutCreateInfoNVX.pNext' isn't allowed to be filled")}},pipelineBindPoint:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutCreateInfoNVX.pipelineBindPoint"),!$VAL_R_VkPipelineBindPoint(e))throw new RangeError("Invalid value for 'VkIndirectCommandsLayoutCreateInfoNVX.pipelineBindPoint': '"+e+"' is not a value of 'VkPipelineBindPoint'");this.memoryView.setInt32(16,e,!0)}},flags:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutCreateInfoNVX.flags"),this.memoryView.setInt32(20,e,!0)}},tokenCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkIndirectCommandsLayoutCreateInfoNVX.tokenCount"),this.memoryView.setUint32(24,e,!0)}},pTokens:{get(){if(null===this._pTokens&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.tokenCount,VkIndirectCommandsLayoutTokenNVX);return this._pTokens=e,this.pTokens}return this._pTokens},set(e){if(null!==e&&e.constructor===Array)this._pTokens=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkIndirectCommandsLayoutCreateInfoNVX.pTokens': Expected 'Array VkIndirectCommandsLayoutTokenNVX' but got '"+typeToString(e)+"'");this._pTokens=null}}}}),VkIndirectCommandsLayoutCreateInfoNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pTokens=null,this._pTokensNative=null,this.sType=1000086001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.tokenCount&&(this.tokenCount=e.tokenCount),void 0!==e.pTokens&&(this.pTokens=e.pTokens))},VkIndirectCommandsLayoutCreateInfoNVX.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pTokens){let e=this._pTokens;if(e.length!==this.tokenCount)throw new RangeError("Invalid array length, expected length of 'tokenCount' for 'VkIndirectCommandsLayoutCreateInfoNVX.pTokens'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pTokensNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pTokensNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkIndirectCommandsLayoutCreateInfoNVX.prototype.reflect=function(e){},VkIndirectCommandsLayoutCreateInfoNVX.createCopyFrom=function(e){let t=new VkIndirectCommandsLayoutCreateInfoNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pipelineBindPoint=e.pipelineBindPoint,t.flags=e.flags,t.tokenCount=e.tokenCount,null!==e.pTokens&&(t.pTokens=[...Array(e.pTokens.length)].map((t,r)=>e.pTokens[r].constructor.createCopyFrom(e.pTokens[r]))),t},VkIndirectCommandsLayoutCreateInfoNVX.byteLength=40,VkIndirectCommandsLayoutCreateInfoNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pipelineBindPoint:{byteOffset:16,byteLength:4},flags:{byteOffset:20,byteLength:4},tokenCount:{byteOffset:24,byteLength:4},pTokens:{byteOffset:32,byteLength:8}},Object.defineProperties(VkCmdProcessCommandsInfoNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCmdProcessCommandsInfoNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCmdProcessCommandsInfoNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCmdProcessCommandsInfoNVX.pNext' isn't allowed to be filled")}},objectTable:{get(){return this._objectTable},set(e){if(null!==e&&e.constructor===VkObjectTableNVX)this._objectTable=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdProcessCommandsInfoNVX.objectTable': Expected 'VkObjectTableNVX' but got '"+typeToString(e)+"'");this._objectTable=null,this.memoryView.setBigInt64(16,BI0,!0)}}},indirectCommandsLayout:{get(){return this._indirectCommandsLayout},set(e){if(null!==e&&e.constructor===VkIndirectCommandsLayoutNVX)this._indirectCommandsLayout=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdProcessCommandsInfoNVX.indirectCommandsLayout': Expected 'VkIndirectCommandsLayoutNVX' but got '"+typeToString(e)+"'");this._indirectCommandsLayout=null,this.memoryView.setBigInt64(24,BI0,!0)}}},indirectCommandsTokenCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCmdProcessCommandsInfoNVX.indirectCommandsTokenCount"),this.memoryView.setUint32(32,e,!0)}},pIndirectCommandsTokens:{get(){if(null===this._pIndirectCommandsTokens&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.indirectCommandsTokenCount,VkIndirectCommandsTokenNVX);return this._pIndirectCommandsTokens=e,this.pIndirectCommandsTokens}return this._pIndirectCommandsTokens},set(e){if(null!==e&&e.constructor===Array)this._pIndirectCommandsTokens=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdProcessCommandsInfoNVX.pIndirectCommandsTokens': Expected 'Array VkIndirectCommandsTokenNVX' but got '"+typeToString(e)+"'");this._pIndirectCommandsTokens=null}}},maxSequencesCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCmdProcessCommandsInfoNVX.maxSequencesCount"),this.memoryView.setUint32(48,e,!0)}},targetCommandBuffer:{get(){return this._targetCommandBuffer},set(e){if(null!==e&&e.constructor===VkCommandBuffer)this._targetCommandBuffer=e,this.memoryView.setBigInt64(56,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdProcessCommandsInfoNVX.targetCommandBuffer': Expected 'VkCommandBuffer' but got '"+typeToString(e)+"'");this._targetCommandBuffer=null,this.memoryView.setBigInt64(56,BI0,!0)}}},sequencesCountBuffer:{get(){return this._sequencesCountBuffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._sequencesCountBuffer=e,this.memoryView.setBigInt64(64,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdProcessCommandsInfoNVX.sequencesCountBuffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._sequencesCountBuffer=null,this.memoryView.setBigInt64(64,BI0,!0)}}},sequencesCountOffset:{get(){return this.memoryView.getBigUint64(72,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkCmdProcessCommandsInfoNVX.sequencesCountOffset"),this.memoryView.setBigUint64(72,BigInt(e),!0)}},sequencesIndexBuffer:{get(){return this._sequencesIndexBuffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._sequencesIndexBuffer=e,this.memoryView.setBigInt64(80,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdProcessCommandsInfoNVX.sequencesIndexBuffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._sequencesIndexBuffer=null,this.memoryView.setBigInt64(80,BI0,!0)}}},sequencesIndexOffset:{get(){return this.memoryView.getBigUint64(88,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkCmdProcessCommandsInfoNVX.sequencesIndexOffset"),this.memoryView.setBigUint64(88,BigInt(e),!0)}}}),VkCmdProcessCommandsInfoNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,96)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x60"],0),this._pNext=null,this._objectTable=null,this._indirectCommandsLayout=null,this._pIndirectCommandsTokens=null,this._pIndirectCommandsTokensNative=null,this._targetCommandBuffer=null,this._sequencesCountBuffer=null,this._sequencesIndexBuffer=null,this.sType=1000086002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectTable&&(this.objectTable=e.objectTable),void 0!==e.indirectCommandsLayout&&(this.indirectCommandsLayout=e.indirectCommandsLayout),void 0!==e.indirectCommandsTokenCount&&(this.indirectCommandsTokenCount=e.indirectCommandsTokenCount),void 0!==e.pIndirectCommandsTokens&&(this.pIndirectCommandsTokens=e.pIndirectCommandsTokens),void 0!==e.maxSequencesCount&&(this.maxSequencesCount=e.maxSequencesCount),void 0!==e.targetCommandBuffer&&(this.targetCommandBuffer=e.targetCommandBuffer),void 0!==e.sequencesCountBuffer&&(this.sequencesCountBuffer=e.sequencesCountBuffer),void 0!==e.sequencesCountOffset&&(this.sequencesCountOffset=e.sequencesCountOffset),void 0!==e.sequencesIndexBuffer&&(this.sequencesIndexBuffer=e.sequencesIndexBuffer),void 0!==e.sequencesIndexOffset&&(this.sequencesIndexOffset=e.sequencesIndexOffset))},VkCmdProcessCommandsInfoNVX.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pIndirectCommandsTokens){let e=this._pIndirectCommandsTokens;if(e.length!==this.indirectCommandsTokenCount)throw new RangeError("Invalid array length, expected length of 'indirectCommandsTokenCount' for 'VkCmdProcessCommandsInfoNVX.pIndirectCommandsTokens'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pIndirectCommandsTokensNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pIndirectCommandsTokensNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkCmdProcessCommandsInfoNVX.prototype.reflect=function(e){},VkCmdProcessCommandsInfoNVX.createCopyFrom=function(e){let t=new VkCmdProcessCommandsInfoNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.objectTable&&(t.objectTable=e.objectTable.constructor.createCopyFrom(e.objectTable)),null!==e.indirectCommandsLayout&&(t.indirectCommandsLayout=e.indirectCommandsLayout.constructor.createCopyFrom(e.indirectCommandsLayout)),t.indirectCommandsTokenCount=e.indirectCommandsTokenCount,null!==e.pIndirectCommandsTokens&&(t.pIndirectCommandsTokens=[...Array(e.pIndirectCommandsTokens.length)].map((t,r)=>e.pIndirectCommandsTokens[r].constructor.createCopyFrom(e.pIndirectCommandsTokens[r]))),t.maxSequencesCount=e.maxSequencesCount,null!==e.targetCommandBuffer&&(t.targetCommandBuffer=e.targetCommandBuffer.constructor.createCopyFrom(e.targetCommandBuffer)),null!==e.sequencesCountBuffer&&(t.sequencesCountBuffer=e.sequencesCountBuffer.constructor.createCopyFrom(e.sequencesCountBuffer)),t.sequencesCountOffset=e.sequencesCountOffset,null!==e.sequencesIndexBuffer&&(t.sequencesIndexBuffer=e.sequencesIndexBuffer.constructor.createCopyFrom(e.sequencesIndexBuffer)),t.sequencesIndexOffset=e.sequencesIndexOffset,t},VkCmdProcessCommandsInfoNVX.byteLength=96,VkCmdProcessCommandsInfoNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},objectTable:{byteOffset:16,byteLength:8},indirectCommandsLayout:{byteOffset:24,byteLength:8},indirectCommandsTokenCount:{byteOffset:32,byteLength:4},pIndirectCommandsTokens:{byteOffset:40,byteLength:8},maxSequencesCount:{byteOffset:48,byteLength:4},targetCommandBuffer:{byteOffset:56,byteLength:8},sequencesCountBuffer:{byteOffset:64,byteLength:8},sequencesCountOffset:{byteOffset:72,byteLength:8},sequencesIndexBuffer:{byteOffset:80,byteLength:8},sequencesIndexOffset:{byteOffset:88,byteLength:8}},Object.defineProperties(VkCmdReserveSpaceForCommandsInfoNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCmdReserveSpaceForCommandsInfoNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCmdReserveSpaceForCommandsInfoNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCmdReserveSpaceForCommandsInfoNVX.pNext' isn't allowed to be filled")}},objectTable:{get(){return this._objectTable},set(e){if(null!==e&&e.constructor===VkObjectTableNVX)this._objectTable=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdReserveSpaceForCommandsInfoNVX.objectTable': Expected 'VkObjectTableNVX' but got '"+typeToString(e)+"'");this._objectTable=null,this.memoryView.setBigInt64(16,BI0,!0)}}},indirectCommandsLayout:{get(){return this._indirectCommandsLayout},set(e){if(null!==e&&e.constructor===VkIndirectCommandsLayoutNVX)this._indirectCommandsLayout=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCmdReserveSpaceForCommandsInfoNVX.indirectCommandsLayout': Expected 'VkIndirectCommandsLayoutNVX' but got '"+typeToString(e)+"'");this._indirectCommandsLayout=null,this.memoryView.setBigInt64(24,BI0,!0)}}},maxSequencesCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCmdReserveSpaceForCommandsInfoNVX.maxSequencesCount"),this.memoryView.setUint32(32,e,!0)}}}),VkCmdReserveSpaceForCommandsInfoNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._objectTable=null,this._indirectCommandsLayout=null,this.sType=1000086003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectTable&&(this.objectTable=e.objectTable),void 0!==e.indirectCommandsLayout&&(this.indirectCommandsLayout=e.indirectCommandsLayout),void 0!==e.maxSequencesCount&&(this.maxSequencesCount=e.maxSequencesCount))},VkCmdReserveSpaceForCommandsInfoNVX.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCmdReserveSpaceForCommandsInfoNVX.prototype.reflect=function(e){},VkCmdReserveSpaceForCommandsInfoNVX.createCopyFrom=function(e){let t=new VkCmdReserveSpaceForCommandsInfoNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.objectTable&&(t.objectTable=e.objectTable.constructor.createCopyFrom(e.objectTable)),null!==e.indirectCommandsLayout&&(t.indirectCommandsLayout=e.indirectCommandsLayout.constructor.createCopyFrom(e.indirectCommandsLayout)),t.maxSequencesCount=e.maxSequencesCount,t},VkCmdReserveSpaceForCommandsInfoNVX.byteLength=40,VkCmdReserveSpaceForCommandsInfoNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},objectTable:{byteOffset:16,byteLength:8},indirectCommandsLayout:{byteOffset:24,byteLength:8},maxSequencesCount:{byteOffset:32,byteLength:4}},Object.defineProperties(VkObjectTableCreateInfoNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkObjectTableCreateInfoNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkObjectTableCreateInfoNVX.pNext' isn't allowed to be filled")}},objectCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.objectCount"),this.memoryView.setUint32(16,e,!0)}},pObjectEntryTypes:{get(){return this._pObjectEntryTypes},set(e){if(null!==e&&e.constructor===Int32Array)this._pObjectEntryTypes=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableCreateInfoNVX.pObjectEntryTypes': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pObjectEntryTypes=null,this.memoryView.setBigInt64(24,BI0,!0)}}},pObjectEntryCounts:{get(){return this._pObjectEntryCounts},set(e){if(null!==e&&e.constructor===Uint32Array)this._pObjectEntryCounts=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableCreateInfoNVX.pObjectEntryCounts': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pObjectEntryCounts=null,this.memoryView.setBigInt64(32,BI0,!0)}}},pObjectEntryUsageFlags:{get(){return this._pObjectEntryUsageFlags},set(e){if(null!==e&&e.constructor===Int32Array)this._pObjectEntryUsageFlags=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableCreateInfoNVX.pObjectEntryUsageFlags': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pObjectEntryUsageFlags=null,this.memoryView.setBigInt64(40,BI0,!0)}}},maxUniformBuffersPerDescriptor:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.maxUniformBuffersPerDescriptor"),this.memoryView.setUint32(48,e,!0)}},maxStorageBuffersPerDescriptor:{get(){return this.memoryView.getUint32(52,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.maxStorageBuffersPerDescriptor"),this.memoryView.setUint32(52,e,!0)}},maxStorageImagesPerDescriptor:{get(){return this.memoryView.getUint32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.maxStorageImagesPerDescriptor"),this.memoryView.setUint32(56,e,!0)}},maxSampledImagesPerDescriptor:{get(){return this.memoryView.getUint32(60,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.maxSampledImagesPerDescriptor"),this.memoryView.setUint32(60,e,!0)}},maxPipelineLayouts:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableCreateInfoNVX.maxPipelineLayouts"),this.memoryView.setUint32(64,e,!0)}}}),VkObjectTableCreateInfoNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._pObjectEntryTypes=null,this._pObjectEntryCounts=null,this._pObjectEntryUsageFlags=null,this.sType=1000086e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectCount&&(this.objectCount=e.objectCount),void 0!==e.pObjectEntryTypes&&(this.pObjectEntryTypes=e.pObjectEntryTypes),void 0!==e.pObjectEntryCounts&&(this.pObjectEntryCounts=e.pObjectEntryCounts),void 0!==e.pObjectEntryUsageFlags&&(this.pObjectEntryUsageFlags=e.pObjectEntryUsageFlags),void 0!==e.maxUniformBuffersPerDescriptor&&(this.maxUniformBuffersPerDescriptor=e.maxUniformBuffersPerDescriptor),void 0!==e.maxStorageBuffersPerDescriptor&&(this.maxStorageBuffersPerDescriptor=e.maxStorageBuffersPerDescriptor),void 0!==e.maxStorageImagesPerDescriptor&&(this.maxStorageImagesPerDescriptor=e.maxStorageImagesPerDescriptor),void 0!==e.maxSampledImagesPerDescriptor&&(this.maxSampledImagesPerDescriptor=e.maxSampledImagesPerDescriptor),void 0!==e.maxPipelineLayouts&&(this.maxPipelineLayouts=e.maxPipelineLayouts))},VkObjectTableCreateInfoNVX.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkObjectTableCreateInfoNVX.prototype.reflect=function(e){},VkObjectTableCreateInfoNVX.createCopyFrom=function(e){let t=new VkObjectTableCreateInfoNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.objectCount=e.objectCount,null!==e.pObjectEntryTypes&&(t.pObjectEntryTypes=new Int32Array(e.pObjectEntryTypes)),null!==e.pObjectEntryCounts&&(t.pObjectEntryCounts=new Uint32Array(e.pObjectEntryCounts)),null!==e.pObjectEntryUsageFlags&&(t.pObjectEntryUsageFlags=new Int32Array(e.pObjectEntryUsageFlags)),t.maxUniformBuffersPerDescriptor=e.maxUniformBuffersPerDescriptor,t.maxStorageBuffersPerDescriptor=e.maxStorageBuffersPerDescriptor,t.maxStorageImagesPerDescriptor=e.maxStorageImagesPerDescriptor,t.maxSampledImagesPerDescriptor=e.maxSampledImagesPerDescriptor,t.maxPipelineLayouts=e.maxPipelineLayouts,t},VkObjectTableCreateInfoNVX.byteLength=72,VkObjectTableCreateInfoNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},objectCount:{byteOffset:16,byteLength:4},pObjectEntryTypes:{byteOffset:24,byteLength:8},pObjectEntryCounts:{byteOffset:32,byteLength:8},pObjectEntryUsageFlags:{byteOffset:40,byteLength:8},maxUniformBuffersPerDescriptor:{byteOffset:48,byteLength:4},maxStorageBuffersPerDescriptor:{byteOffset:52,byteLength:4},maxStorageImagesPerDescriptor:{byteOffset:56,byteLength:4},maxSampledImagesPerDescriptor:{byteOffset:60,byteLength:4},maxPipelineLayouts:{byteOffset:64,byteLength:4}},Object.defineProperties(VkObjectTableEntryNVX.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTableEntryNVX.type"),!$VAL_R_VkObjectEntryTypeNVX(e))throw new RangeError("Invalid value for 'VkObjectTableEntryNVX.type': '"+e+"' is not a value of 'VkObjectEntryTypeNVX'");this.memoryView.setInt32(0,e,!0)}},flags:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableEntryNVX.flags"),this.memoryView.setInt32(4,e,!0)}}}),VkObjectTableEntryNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags))},VkObjectTableEntryNVX.prototype.flush=function(){return!0},VkObjectTableEntryNVX.prototype.reflect=function(e){},VkObjectTableEntryNVX.createCopyFrom=function(e){let t=new VkObjectTableEntryNVX;return t.type=e.type,t.flags=e.flags,t},VkObjectTableEntryNVX.byteLength=8,VkObjectTableEntryNVX.memoryLayout={type:{byteOffset:0,byteLength:4},flags:{byteOffset:4,byteLength:4}},Object.defineProperties(VkObjectTablePipelineEntryNVX.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTablePipelineEntryNVX.type"),!$VAL_R_VkObjectEntryTypeNVX(e))throw new RangeError("Invalid value for 'VkObjectTablePipelineEntryNVX.type': '"+e+"' is not a value of 'VkObjectEntryTypeNVX'");this.memoryView.setInt32(0,e,!0)}},flags:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTablePipelineEntryNVX.flags"),this.memoryView.setInt32(4,e,!0)}},pipeline:{get(){return this._pipeline},set(e){if(null!==e&&e.constructor===VkPipeline)this._pipeline=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTablePipelineEntryNVX.pipeline': Expected 'VkPipeline' but got '"+typeToString(e)+"'");this._pipeline=null,this.memoryView.setBigInt64(8,BI0,!0)}}}}),VkObjectTablePipelineEntryNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._pipeline=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipeline&&(this.pipeline=e.pipeline))},VkObjectTablePipelineEntryNVX.prototype.flush=function(){return!0},VkObjectTablePipelineEntryNVX.prototype.reflect=function(e){},VkObjectTablePipelineEntryNVX.createCopyFrom=function(e){let t=new VkObjectTablePipelineEntryNVX;return t.type=e.type,t.flags=e.flags,null!==e.pipeline&&(t.pipeline=e.pipeline.constructor.createCopyFrom(e.pipeline)),t},VkObjectTablePipelineEntryNVX.byteLength=16,VkObjectTablePipelineEntryNVX.memoryLayout={type:{byteOffset:0,byteLength:4},flags:{byteOffset:4,byteLength:4},pipeline:{byteOffset:8,byteLength:8}},Object.defineProperties(VkObjectTableDescriptorSetEntryNVX.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTableDescriptorSetEntryNVX.type"),!$VAL_R_VkObjectEntryTypeNVX(e))throw new RangeError("Invalid value for 'VkObjectTableDescriptorSetEntryNVX.type': '"+e+"' is not a value of 'VkObjectEntryTypeNVX'");this.memoryView.setInt32(0,e,!0)}},flags:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableDescriptorSetEntryNVX.flags"),this.memoryView.setInt32(4,e,!0)}},pipelineLayout:{get(){return this._pipelineLayout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._pipelineLayout=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableDescriptorSetEntryNVX.pipelineLayout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._pipelineLayout=null,this.memoryView.setBigInt64(8,BI0,!0)}}},descriptorSet:{get(){return this._descriptorSet},set(e){if(null!==e&&e.constructor===VkDescriptorSet)this._descriptorSet=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableDescriptorSetEntryNVX.descriptorSet': Expected 'VkDescriptorSet' but got '"+typeToString(e)+"'");this._descriptorSet=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkObjectTableDescriptorSetEntryNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pipelineLayout=null,this._descriptorSet=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.descriptorSet&&(this.descriptorSet=e.descriptorSet))},VkObjectTableDescriptorSetEntryNVX.prototype.flush=function(){return!0},VkObjectTableDescriptorSetEntryNVX.prototype.reflect=function(e){},VkObjectTableDescriptorSetEntryNVX.createCopyFrom=function(e){let t=new VkObjectTableDescriptorSetEntryNVX;return t.type=e.type,t.flags=e.flags,null!==e.pipelineLayout&&(t.pipelineLayout=e.pipelineLayout.constructor.createCopyFrom(e.pipelineLayout)),null!==e.descriptorSet&&(t.descriptorSet=e.descriptorSet.constructor.createCopyFrom(e.descriptorSet)),t},VkObjectTableDescriptorSetEntryNVX.byteLength=24,VkObjectTableDescriptorSetEntryNVX.memoryLayout={type:{byteOffset:0,byteLength:4},flags:{byteOffset:4,byteLength:4},pipelineLayout:{byteOffset:8,byteLength:8},descriptorSet:{byteOffset:16,byteLength:8}},Object.defineProperties(VkObjectTableVertexBufferEntryNVX.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTableVertexBufferEntryNVX.type"),!$VAL_R_VkObjectEntryTypeNVX(e))throw new RangeError("Invalid value for 'VkObjectTableVertexBufferEntryNVX.type': '"+e+"' is not a value of 'VkObjectEntryTypeNVX'");this.memoryView.setInt32(0,e,!0)}},flags:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableVertexBufferEntryNVX.flags"),this.memoryView.setInt32(4,e,!0)}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableVertexBufferEntryNVX.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(8,BI0,!0)}}}}),VkObjectTableVertexBufferEntryNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._buffer=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.buffer&&(this.buffer=e.buffer))},VkObjectTableVertexBufferEntryNVX.prototype.flush=function(){return!0},VkObjectTableVertexBufferEntryNVX.prototype.reflect=function(e){},VkObjectTableVertexBufferEntryNVX.createCopyFrom=function(e){let t=new VkObjectTableVertexBufferEntryNVX;return t.type=e.type,t.flags=e.flags,null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkObjectTableVertexBufferEntryNVX.byteLength=16,VkObjectTableVertexBufferEntryNVX.memoryLayout={type:{byteOffset:0,byteLength:4},flags:{byteOffset:4,byteLength:4},buffer:{byteOffset:8,byteLength:8}},Object.defineProperties(VkObjectTableIndexBufferEntryNVX.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTableIndexBufferEntryNVX.type"),!$VAL_R_VkObjectEntryTypeNVX(e))throw new RangeError("Invalid value for 'VkObjectTableIndexBufferEntryNVX.type': '"+e+"' is not a value of 'VkObjectEntryTypeNVX'");this.memoryView.setInt32(0,e,!0)}},flags:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTableIndexBufferEntryNVX.flags"),this.memoryView.setInt32(4,e,!0)}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTableIndexBufferEntryNVX.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(8,BI0,!0)}}},indexType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTableIndexBufferEntryNVX.indexType"),!$VAL_R_VkIndexType(e))throw new RangeError("Invalid value for 'VkObjectTableIndexBufferEntryNVX.indexType': '"+e+"' is not a value of 'VkIndexType'");this.memoryView.setInt32(16,e,!0)}}}),VkObjectTableIndexBufferEntryNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._buffer=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.indexType&&(this.indexType=e.indexType))},VkObjectTableIndexBufferEntryNVX.prototype.flush=function(){return!0},VkObjectTableIndexBufferEntryNVX.prototype.reflect=function(e){},VkObjectTableIndexBufferEntryNVX.createCopyFrom=function(e){let t=new VkObjectTableIndexBufferEntryNVX;return t.type=e.type,t.flags=e.flags,null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.indexType=e.indexType,t},VkObjectTableIndexBufferEntryNVX.byteLength=24,VkObjectTableIndexBufferEntryNVX.memoryLayout={type:{byteOffset:0,byteLength:4},flags:{byteOffset:4,byteLength:4},buffer:{byteOffset:8,byteLength:8},indexType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkObjectTablePushConstantEntryNVX.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkObjectTablePushConstantEntryNVX.type"),!$VAL_R_VkObjectEntryTypeNVX(e))throw new RangeError("Invalid value for 'VkObjectTablePushConstantEntryNVX.type': '"+e+"' is not a value of 'VkObjectEntryTypeNVX'");this.memoryView.setInt32(0,e,!0)}},flags:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTablePushConstantEntryNVX.flags"),this.memoryView.setInt32(4,e,!0)}},pipelineLayout:{get(){return this._pipelineLayout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._pipelineLayout=e,this.memoryView.setBigInt64(8,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkObjectTablePushConstantEntryNVX.pipelineLayout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._pipelineLayout=null,this.memoryView.setBigInt64(8,BI0,!0)}}},stageFlags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkObjectTablePushConstantEntryNVX.stageFlags"),this.memoryView.setInt32(16,e,!0)}}}),VkObjectTablePushConstantEntryNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pipelineLayout=null,"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.stageFlags&&(this.stageFlags=e.stageFlags))},VkObjectTablePushConstantEntryNVX.prototype.flush=function(){return!0},VkObjectTablePushConstantEntryNVX.prototype.reflect=function(e){},VkObjectTablePushConstantEntryNVX.createCopyFrom=function(e){let t=new VkObjectTablePushConstantEntryNVX;return t.type=e.type,t.flags=e.flags,null!==e.pipelineLayout&&(t.pipelineLayout=e.pipelineLayout.constructor.createCopyFrom(e.pipelineLayout)),t.stageFlags=e.stageFlags,t},VkObjectTablePushConstantEntryNVX.byteLength=24,VkObjectTablePushConstantEntryNVX.memoryLayout={type:{byteOffset:0,byteLength:4},flags:{byteOffset:4,byteLength:4},pipelineLayout:{byteOffset:8,byteLength:8},stageFlags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFeatures2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFeatures2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFeatures2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2.pNext'");switch(t){case 100012e4:case 1000053001:case 1000083e3:case 1000175e3:case 1000156004:case 1000145001:case 1000148e3:case 1000138e3:case 1000063e3:case 1000082e3:case 1000261e3:case 1000161001:case 1000207e3:case 1000177e3:case 1000081001:case 1000211e3:case 100018e4:case 1000190002:case 1000067001:case 1000028e3:case 1000166e3:case 1000205002:case 100005e4:case 1000201e3:case 1000203e3:case 1000204e3:case 100024e4:case 1000164001:case 1000202e3:case 1000218e3:case 1000221e3:case 1000253e3:case 1000102e3:case 1000238e3:case 1000244e3:case 1000108e3:case 1000066e3:case 1000249e3:case 1000252e3:case 100025e4:case 1000209e3:case 1000181e3:case 1000265e3:case 1000154e3:case 1000251e3:case 1000269e3:case 1000276e3:case 1000281e3:case 1000225002:case 1000259e3:case 1000229e3:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},features:{get(){return this._features},set(e){if(null!==e&&e.constructor===VkPhysicalDeviceFeatures)e.flush(),this._features=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2.features': Expected 'VkPhysicalDeviceFeatures' but got '"+typeToString(e)+"'");this._features=null}}}}),VkPhysicalDeviceFeatures2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,240)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xF0"],0),this._pNext=null,null!==this._features&&(this.memoryBuffer!==this._features.memoryBuffer?this._features=new VkPhysicalDeviceFeatures({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._features.reset()),this.sType=1000059e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.features&&(this.features=e.features))},VkPhysicalDeviceFeatures2.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._features){let e=this._features;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,220);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkPhysicalDeviceFeatures2.features' isn't used as shared-memory")}}return!0},VkPhysicalDeviceFeatures2.prototype.reflect=function(e){},VkPhysicalDeviceFeatures2.createCopyFrom=function(e){let t=new VkPhysicalDeviceFeatures2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.features&&(t.features=e.features.constructor.createCopyFrom(e.features)),t},VkPhysicalDeviceFeatures2.byteLength=240,VkPhysicalDeviceFeatures2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},features:{byteOffset:16,byteLength:220}},Object.defineProperties(VkPhysicalDeviceFeatures2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFeatures2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFeatures2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2KHR.pNext'");switch(t){case 100012e4:case 1000053001:case 1000083e3:case 1000175e3:case 1000156004:case 1000145001:case 1000148e3:case 1000138e3:case 1000063e3:case 1000082e3:case 1000261e3:case 1000161001:case 1000207e3:case 1000177e3:case 1000081001:case 1000211e3:case 100018e4:case 1000190002:case 1000067001:case 1000028e3:case 1000166e3:case 1000205002:case 100005e4:case 1000201e3:case 1000203e3:case 1000204e3:case 100024e4:case 1000164001:case 1000202e3:case 1000218e3:case 1000221e3:case 1000253e3:case 1000102e3:case 1000238e3:case 1000244e3:case 1000108e3:case 1000066e3:case 1000249e3:case 1000252e3:case 100025e4:case 1000209e3:case 1000181e3:case 1000265e3:case 1000154e3:case 1000251e3:case 1000269e3:case 1000276e3:case 1000281e3:case 1000225002:case 1000259e3:case 1000229e3:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},features:{get(){return this._features},set(e){if(null!==e&&e.constructor===VkPhysicalDeviceFeatures)e.flush(),this._features=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceFeatures2KHR.features': Expected 'VkPhysicalDeviceFeatures' but got '"+typeToString(e)+"'");this._features=null}}}}),VkPhysicalDeviceFeatures2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,240)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xF0"],0),this._pNext=null,null!==this._features&&(this.memoryBuffer!==this._features.memoryBuffer?this._features=new VkPhysicalDeviceFeatures({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._features.reset()),this.sType=1000059e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.features&&(this.features=e.features))},VkPhysicalDeviceFeatures2KHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._features){let e=this._features;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,220);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkPhysicalDeviceFeatures2KHR.features' isn't used as shared-memory")}}return!0},VkPhysicalDeviceFeatures2KHR.prototype.reflect=function(e){},VkPhysicalDeviceFeatures2KHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceFeatures2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.features&&(t.features=e.features.constructor.createCopyFrom(e.features)),t},VkPhysicalDeviceFeatures2KHR.byteLength=240,VkPhysicalDeviceFeatures2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},features:{byteOffset:16,byteLength:220}},Object.defineProperties(VkPhysicalDeviceProperties2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceProperties2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceProperties2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceProperties2.pNext'");switch(t){case 100008e4:case 1000196e3:case 1000071004:case 1000053002:case 1000099e3:case 1000097e3:case 1000094e3:case 1000117e3:case 1000145002:case 100013e4:case 1000143003:case 1000148001:case 1000138001:case 1000168e3:case 1000197e3:case 1000178002:case 1000101e3:case 1000185e3:case 1000227e3:case 1000161002:case 1000207001:case 100019e4:case 1000212e3:case 1000199e3:case 1000028001:case 1000164002:case 1000202001:case 1000165009:case 1000218001:case 1000249002:case 1000154001:case 1000281001:case 1000225e3:case 1000259002:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceProperties2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceProperties2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},properties:{get(){return this._properties}}}),VkPhysicalDeviceProperties2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,840)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x348"],0),this._pNext=null,null!==this._properties&&(this.memoryBuffer!==this._properties.memoryBuffer?this._properties=new VkPhysicalDeviceProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._properties.reset()),this.sType=1000059001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceProperties2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceProperties2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(840)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,840),0)},VkPhysicalDeviceProperties2.createCopyFrom=function(e){let t=new VkPhysicalDeviceProperties2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.properties&&(t.properties=e.properties.constructor.createCopyFrom(e.properties)),t},VkPhysicalDeviceProperties2.byteLength=840,VkPhysicalDeviceProperties2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},properties:{byteOffset:16,byteLength:824}},Object.defineProperties(VkPhysicalDeviceProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceProperties2KHR.pNext'");switch(t){case 100008e4:case 1000196e3:case 1000071004:case 1000053002:case 1000099e3:case 1000097e3:case 1000094e3:case 1000117e3:case 1000145002:case 100013e4:case 1000143003:case 1000148001:case 1000138001:case 1000168e3:case 1000197e3:case 1000178002:case 1000101e3:case 1000185e3:case 1000227e3:case 1000161002:case 1000207001:case 100019e4:case 1000212e3:case 1000199e3:case 1000028001:case 1000164002:case 1000202001:case 1000165009:case 1000218001:case 1000249002:case 1000154001:case 1000281001:case 1000225e3:case 1000259002:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceProperties2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceProperties2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},properties:{get(){return this._properties}}}),VkPhysicalDeviceProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,840)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x348"],0),this._pNext=null,null!==this._properties&&(this.memoryBuffer!==this._properties.memoryBuffer?this._properties=new VkPhysicalDeviceProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._properties.reset()),this.sType=1000059001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(840)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,840),0)},VkPhysicalDeviceProperties2KHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.properties&&(t.properties=e.properties.constructor.createCopyFrom(e.properties)),t},VkPhysicalDeviceProperties2KHR.byteLength=840,VkPhysicalDeviceProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},properties:{byteOffset:16,byteLength:824}},Object.defineProperties(VkFormatProperties2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFormatProperties2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFormatProperties2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkFormatProperties2.pNext'");switch(t){case 1000158e3:break;default:throw new TypeError("Invalid type for 'VkFormatProperties2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkFormatProperties2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},formatProperties:{get(){return this._formatProperties}}}),VkFormatProperties2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._formatProperties&&(this.memoryBuffer!==this._formatProperties.memoryBuffer?this._formatProperties=new VkFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._formatProperties.reset()),this.sType=1000059002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkFormatProperties2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFormatProperties2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkFormatProperties2.createCopyFrom=function(e){let t=new VkFormatProperties2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.formatProperties&&(t.formatProperties=e.formatProperties.constructor.createCopyFrom(e.formatProperties)),t},VkFormatProperties2.byteLength=32,VkFormatProperties2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},formatProperties:{byteOffset:16,byteLength:12}},Object.defineProperties(VkFormatProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFormatProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFormatProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkFormatProperties2KHR.pNext'");switch(t){case 1000158e3:break;default:throw new TypeError("Invalid type for 'VkFormatProperties2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkFormatProperties2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},formatProperties:{get(){return this._formatProperties}}}),VkFormatProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._formatProperties&&(this.memoryBuffer!==this._formatProperties.memoryBuffer?this._formatProperties=new VkFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._formatProperties.reset()),this.sType=1000059002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkFormatProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFormatProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkFormatProperties2KHR.createCopyFrom=function(e){let t=new VkFormatProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.formatProperties&&(t.formatProperties=e.formatProperties.constructor.createCopyFrom(e.formatProperties)),t},VkFormatProperties2KHR.byteLength=32,VkFormatProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},formatProperties:{byteOffset:16,byteLength:12}},Object.defineProperties(VkImageFormatProperties2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageFormatProperties2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageFormatProperties2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageFormatProperties2.pNext'");switch(t){case 1000071001:case 1000156005:case 1000041e3:case 1000129e3:case 1000170001:break;default:throw new TypeError("Invalid type for 'VkImageFormatProperties2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageFormatProperties2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},imageFormatProperties:{get(){return this._imageFormatProperties}}}),VkImageFormatProperties2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,null!==this._imageFormatProperties&&(this.memoryBuffer!==this._imageFormatProperties.memoryBuffer?this._imageFormatProperties=new VkImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._imageFormatProperties.reset()),this.sType=1000059003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkImageFormatProperties2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageFormatProperties2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkImageFormatProperties2.createCopyFrom=function(e){let t=new VkImageFormatProperties2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.imageFormatProperties&&(t.imageFormatProperties=e.imageFormatProperties.constructor.createCopyFrom(e.imageFormatProperties)),t},VkImageFormatProperties2.byteLength=48,VkImageFormatProperties2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},imageFormatProperties:{byteOffset:16,byteLength:32}},Object.defineProperties(VkImageFormatProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageFormatProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageFormatProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageFormatProperties2KHR.pNext'");switch(t){case 1000071001:case 1000156005:case 1000041e3:case 1000129e3:case 1000170001:break;default:throw new TypeError("Invalid type for 'VkImageFormatProperties2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageFormatProperties2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},imageFormatProperties:{get(){return this._imageFormatProperties}}}),VkImageFormatProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,null!==this._imageFormatProperties&&(this.memoryBuffer!==this._imageFormatProperties.memoryBuffer?this._imageFormatProperties=new VkImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._imageFormatProperties.reset()),this.sType=1000059003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkImageFormatProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageFormatProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkImageFormatProperties2KHR.createCopyFrom=function(e){let t=new VkImageFormatProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.imageFormatProperties&&(t.imageFormatProperties=e.imageFormatProperties.constructor.createCopyFrom(e.imageFormatProperties)),t},VkImageFormatProperties2KHR.byteLength=48,VkImageFormatProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},imageFormatProperties:{byteOffset:16,byteLength:32}},Object.defineProperties(VkPhysicalDeviceImageFormatInfo2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceImageFormatInfo2.pNext'");switch(t){case 1000071e3:case 1000147e3:case 1000158002:case 1000246e3:case 100017e4:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceImageFormatInfo2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceImageFormatInfo2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},format:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}},type:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2.type"),!$VAL_R_VkImageType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2.type': '"+e+"' is not a value of 'VkImageType'");this.memoryView.setInt32(20,e,!0)}},tiling:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2.tiling"),!$VAL_R_VkImageTiling(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2.tiling': '"+e+"' is not a value of 'VkImageTiling'");this.memoryView.setInt32(24,e,!0)}},usage:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2.usage"),this.memoryView.setInt32(28,e,!0)}},flags:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2.flags"),this.memoryView.setInt32(32,e,!0)}}}),VkPhysicalDeviceImageFormatInfo2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000059004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.tiling&&(this.tiling=e.tiling),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.flags&&(this.flags=e.flags))},VkPhysicalDeviceImageFormatInfo2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceImageFormatInfo2.prototype.reflect=function(e){},VkPhysicalDeviceImageFormatInfo2.createCopyFrom=function(e){let t=new VkPhysicalDeviceImageFormatInfo2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.format=e.format,t.type=e.type,t.tiling=e.tiling,t.usage=e.usage,t.flags=e.flags,t},VkPhysicalDeviceImageFormatInfo2.byteLength=40,VkPhysicalDeviceImageFormatInfo2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},format:{byteOffset:16,byteLength:4},type:{byteOffset:20,byteLength:4},tiling:{byteOffset:24,byteLength:4},usage:{byteOffset:28,byteLength:4},flags:{byteOffset:32,byteLength:4}},Object.defineProperties(VkPhysicalDeviceImageFormatInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceImageFormatInfo2KHR.pNext'");switch(t){case 1000071e3:case 1000147e3:case 1000158002:case 1000246e3:case 100017e4:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceImageFormatInfo2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceImageFormatInfo2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},format:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2KHR.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2KHR.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}},type:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2KHR.type"),!$VAL_R_VkImageType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2KHR.type': '"+e+"' is not a value of 'VkImageType'");this.memoryView.setInt32(20,e,!0)}},tiling:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2KHR.tiling"),!$VAL_R_VkImageTiling(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageFormatInfo2KHR.tiling': '"+e+"' is not a value of 'VkImageTiling'");this.memoryView.setInt32(24,e,!0)}},usage:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2KHR.usage"),this.memoryView.setInt32(28,e,!0)}},flags:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageFormatInfo2KHR.flags"),this.memoryView.setInt32(32,e,!0)}}}),VkPhysicalDeviceImageFormatInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000059004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.tiling&&(this.tiling=e.tiling),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.flags&&(this.flags=e.flags))},VkPhysicalDeviceImageFormatInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceImageFormatInfo2KHR.prototype.reflect=function(e){},VkPhysicalDeviceImageFormatInfo2KHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceImageFormatInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.format=e.format,t.type=e.type,t.tiling=e.tiling,t.usage=e.usage,t.flags=e.flags,t},VkPhysicalDeviceImageFormatInfo2KHR.byteLength=40,VkPhysicalDeviceImageFormatInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},format:{byteOffset:16,byteLength:4},type:{byteOffset:20,byteLength:4},tiling:{byteOffset:24,byteLength:4},usage:{byteOffset:28,byteLength:4},flags:{byteOffset:32,byteLength:4}},Object.defineProperties(VkQueueFamilyProperties2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueueFamilyProperties2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkQueueFamilyProperties2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkQueueFamilyProperties2.pNext'");switch(t){case 1000206001:break;default:throw new TypeError("Invalid type for 'VkQueueFamilyProperties2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkQueueFamilyProperties2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},queueFamilyProperties:{get(){return this._queueFamilyProperties}}}),VkQueueFamilyProperties2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._queueFamilyProperties&&(this.memoryBuffer!==this._queueFamilyProperties.memoryBuffer?this._queueFamilyProperties=new VkQueueFamilyProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._queueFamilyProperties.reset()),this.sType=1000059005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkQueueFamilyProperties2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkQueueFamilyProperties2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkQueueFamilyProperties2.createCopyFrom=function(e){let t=new VkQueueFamilyProperties2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.queueFamilyProperties&&(t.queueFamilyProperties=e.queueFamilyProperties.constructor.createCopyFrom(e.queueFamilyProperties)),t},VkQueueFamilyProperties2.byteLength=40,VkQueueFamilyProperties2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},queueFamilyProperties:{byteOffset:16,byteLength:24}},Object.defineProperties(VkQueueFamilyProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueueFamilyProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkQueueFamilyProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkQueueFamilyProperties2KHR.pNext'");switch(t){case 1000206001:break;default:throw new TypeError("Invalid type for 'VkQueueFamilyProperties2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkQueueFamilyProperties2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},queueFamilyProperties:{get(){return this._queueFamilyProperties}}}),VkQueueFamilyProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._queueFamilyProperties&&(this.memoryBuffer!==this._queueFamilyProperties.memoryBuffer?this._queueFamilyProperties=new VkQueueFamilyProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._queueFamilyProperties.reset()),this.sType=1000059005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkQueueFamilyProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkQueueFamilyProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkQueueFamilyProperties2KHR.createCopyFrom=function(e){let t=new VkQueueFamilyProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.queueFamilyProperties&&(t.queueFamilyProperties=e.queueFamilyProperties.constructor.createCopyFrom(e.queueFamilyProperties)),t},VkQueueFamilyProperties2KHR.byteLength=40,VkQueueFamilyProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},queueFamilyProperties:{byteOffset:16,byteLength:24}},Object.defineProperties(VkPhysicalDeviceMemoryProperties2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMemoryProperties2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMemoryProperties2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceMemoryProperties2.pNext'");switch(t){case 1000237e3:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceMemoryProperties2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceMemoryProperties2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},memoryProperties:{get(){return this._memoryProperties}}}),VkPhysicalDeviceMemoryProperties2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,536)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x218"],0),this._pNext=null,null!==this._memoryProperties&&(this.memoryBuffer!==this._memoryProperties.memoryBuffer?this._memoryProperties=new VkPhysicalDeviceMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._memoryProperties.reset()),this.sType=1000059006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMemoryProperties2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMemoryProperties2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(536)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,536),0)},VkPhysicalDeviceMemoryProperties2.createCopyFrom=function(e){let t=new VkPhysicalDeviceMemoryProperties2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memoryProperties&&(t.memoryProperties=e.memoryProperties.constructor.createCopyFrom(e.memoryProperties)),t},VkPhysicalDeviceMemoryProperties2.byteLength=536,VkPhysicalDeviceMemoryProperties2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryProperties:{byteOffset:16,byteLength:520}},Object.defineProperties(VkPhysicalDeviceMemoryProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMemoryProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMemoryProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceMemoryProperties2KHR.pNext'");switch(t){case 1000237e3:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceMemoryProperties2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceMemoryProperties2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},memoryProperties:{get(){return this._memoryProperties}}}),VkPhysicalDeviceMemoryProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,536)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x218"],0),this._pNext=null,null!==this._memoryProperties&&(this.memoryBuffer!==this._memoryProperties.memoryBuffer?this._memoryProperties=new VkPhysicalDeviceMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._memoryProperties.reset()),this.sType=1000059006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMemoryProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMemoryProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(536)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,536),0)},VkPhysicalDeviceMemoryProperties2KHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceMemoryProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memoryProperties&&(t.memoryProperties=e.memoryProperties.constructor.createCopyFrom(e.memoryProperties)),t},VkPhysicalDeviceMemoryProperties2KHR.byteLength=536,VkPhysicalDeviceMemoryProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryProperties:{byteOffset:16,byteLength:520}},Object.defineProperties(VkSparseImageFormatProperties2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSparseImageFormatProperties2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSparseImageFormatProperties2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSparseImageFormatProperties2.pNext' isn't allowed to be filled")}},properties:{get(){return this._properties}}}),VkSparseImageFormatProperties2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._properties&&(this.memoryBuffer!==this._properties.memoryBuffer?this._properties=new VkSparseImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._properties.reset()),this.sType=1000059007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSparseImageFormatProperties2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSparseImageFormatProperties2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkSparseImageFormatProperties2.createCopyFrom=function(e){let t=new VkSparseImageFormatProperties2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.properties&&(t.properties=e.properties.constructor.createCopyFrom(e.properties)),t},VkSparseImageFormatProperties2.byteLength=40,VkSparseImageFormatProperties2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},properties:{byteOffset:16,byteLength:20}},Object.defineProperties(VkSparseImageFormatProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSparseImageFormatProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSparseImageFormatProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSparseImageFormatProperties2KHR.pNext' isn't allowed to be filled")}},properties:{get(){return this._properties}}}),VkSparseImageFormatProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._properties&&(this.memoryBuffer!==this._properties.memoryBuffer?this._properties=new VkSparseImageFormatProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._properties.reset()),this.sType=1000059007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSparseImageFormatProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSparseImageFormatProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkSparseImageFormatProperties2KHR.createCopyFrom=function(e){let t=new VkSparseImageFormatProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.properties&&(t.properties=e.properties.constructor.createCopyFrom(e.properties)),t},VkSparseImageFormatProperties2KHR.byteLength=40,VkSparseImageFormatProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},properties:{byteOffset:16,byteLength:20}},Object.defineProperties(VkPhysicalDeviceSparseImageFormatInfo2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSparseImageFormatInfo2.pNext' isn't allowed to be filled")}},format:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}},type:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2.type"),!$VAL_R_VkImageType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2.type': '"+e+"' is not a value of 'VkImageType'");this.memoryView.setInt32(20,e,!0)}},samples:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2.samples"),this.memoryView.setInt32(24,e,!0)}},usage:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2.usage"),this.memoryView.setInt32(28,e,!0)}},tiling:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2.tiling"),!$VAL_R_VkImageTiling(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2.tiling': '"+e+"' is not a value of 'VkImageTiling'");this.memoryView.setInt32(32,e,!0)}}}),VkPhysicalDeviceSparseImageFormatInfo2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000059008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.tiling&&(this.tiling=e.tiling))},VkPhysicalDeviceSparseImageFormatInfo2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSparseImageFormatInfo2.prototype.reflect=function(e){},VkPhysicalDeviceSparseImageFormatInfo2.createCopyFrom=function(e){let t=new VkPhysicalDeviceSparseImageFormatInfo2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.format=e.format,t.type=e.type,t.samples=e.samples,t.usage=e.usage,t.tiling=e.tiling,t},VkPhysicalDeviceSparseImageFormatInfo2.byteLength=40,VkPhysicalDeviceSparseImageFormatInfo2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},format:{byteOffset:16,byteLength:4},type:{byteOffset:20,byteLength:4},samples:{byteOffset:24,byteLength:4},usage:{byteOffset:28,byteLength:4},tiling:{byteOffset:32,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSparseImageFormatInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSparseImageFormatInfo2KHR.pNext' isn't allowed to be filled")}},format:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2KHR.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2KHR.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}},type:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2KHR.type"),!$VAL_R_VkImageType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2KHR.type': '"+e+"' is not a value of 'VkImageType'");this.memoryView.setInt32(20,e,!0)}},samples:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2KHR.samples"),this.memoryView.setInt32(24,e,!0)}},usage:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2KHR.usage"),this.memoryView.setInt32(28,e,!0)}},tiling:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSparseImageFormatInfo2KHR.tiling"),!$VAL_R_VkImageTiling(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSparseImageFormatInfo2KHR.tiling': '"+e+"' is not a value of 'VkImageTiling'");this.memoryView.setInt32(32,e,!0)}}}),VkPhysicalDeviceSparseImageFormatInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000059008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.type&&(this.type=e.type),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.tiling&&(this.tiling=e.tiling))},VkPhysicalDeviceSparseImageFormatInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSparseImageFormatInfo2KHR.prototype.reflect=function(e){},VkPhysicalDeviceSparseImageFormatInfo2KHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceSparseImageFormatInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.format=e.format,t.type=e.type,t.samples=e.samples,t.usage=e.usage,t.tiling=e.tiling,t},VkPhysicalDeviceSparseImageFormatInfo2KHR.byteLength=40,VkPhysicalDeviceSparseImageFormatInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},format:{byteOffset:16,byteLength:4},type:{byteOffset:20,byteLength:4},samples:{byteOffset:24,byteLength:4},usage:{byteOffset:28,byteLength:4},tiling:{byteOffset:32,byteLength:4}},Object.defineProperties(VkPhysicalDevicePushDescriptorPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevicePushDescriptorPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevicePushDescriptorPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevicePushDescriptorPropertiesKHR.pNext' isn't allowed to be filled")}},maxPushDescriptors:{get(){return this.memoryView.getUint32(16,!0)}}}),VkPhysicalDevicePushDescriptorPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100008e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDevicePushDescriptorPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevicePushDescriptorPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDevicePushDescriptorPropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDevicePushDescriptorPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxPushDescriptors=e.maxPushDescriptors,t},VkPhysicalDevicePushDescriptorPropertiesKHR.byteLength=24,VkPhysicalDevicePushDescriptorPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxPushDescriptors:{byteOffset:16,byteLength:4}},Object.defineProperties(VkConformanceVersionKHR.prototype,{major:{get(){return this.memoryView.getUint8(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkConformanceVersionKHR.major"),this.memoryView.setUint8(0,e,!0)}},minor:{get(){return this.memoryView.getUint8(1,!0)},set(e){ASSERT_IS_NUMBER(e,"VkConformanceVersionKHR.minor"),this.memoryView.setUint8(1,e,!0)}},subminor:{get(){return this.memoryView.getUint8(2,!0)},set(e){ASSERT_IS_NUMBER(e,"VkConformanceVersionKHR.subminor"),this.memoryView.setUint8(2,e,!0)}},patch:{get(){return this.memoryView.getUint8(3,!0)},set(e){ASSERT_IS_NUMBER(e,"VkConformanceVersionKHR.patch"),this.memoryView.setUint8(3,e,!0)}}}),VkConformanceVersionKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,4)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x4"],0),"object"==typeof e&&(void 0!==e.major&&(this.major=e.major),void 0!==e.minor&&(this.minor=e.minor),void 0!==e.subminor&&(this.subminor=e.subminor),void 0!==e.patch&&(this.patch=e.patch))},VkConformanceVersionKHR.prototype.flush=function(){return!0},VkConformanceVersionKHR.prototype.reflect=function(e){},VkConformanceVersionKHR.createCopyFrom=function(e){let t=new VkConformanceVersionKHR;return t.major=e.major,t.minor=e.minor,t.subminor=e.subminor,t.patch=e.patch,t},VkConformanceVersionKHR.byteLength=4,VkConformanceVersionKHR.memoryLayout={major:{byteOffset:0,byteLength:1},minor:{byteOffset:1,byteLength:1},subminor:{byteOffset:2,byteLength:1},patch:{byteOffset:3,byteLength:1}},Object.defineProperties(VkPhysicalDeviceDriverPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDriverPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDriverPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDriverPropertiesKHR.pNext' isn't allowed to be filled")}},driverID:{get(){return this.memoryView.getInt32(16,!0)}},driverName:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+20,296))||null}},driverInfo:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+276,808))||null}},conformanceVersion:{get(){return this._conformanceVersion}}}),VkPhysicalDeviceDriverPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,536)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x218"],0),this._pNext=null,null!==this._conformanceVersion&&(this.memoryBuffer!==this._conformanceVersion.memoryBuffer?this._conformanceVersion=new VkConformanceVersionKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+532}):this._conformanceVersion.reset()),this.sType=1000196e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceDriverPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDriverPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(536)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,536),0)},VkPhysicalDeviceDriverPropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceDriverPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.driverID=e.driverID,t.driverName=e.driverName,t.driverInfo=e.driverInfo,null!==e.conformanceVersion&&(t.conformanceVersion=e.conformanceVersion.constructor.createCopyFrom(e.conformanceVersion)),t},VkPhysicalDeviceDriverPropertiesKHR.byteLength=536,VkPhysicalDeviceDriverPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},driverID:{byteOffset:16,byteLength:4},driverName:{byteOffset:20,byteLength:256},driverInfo:{byteOffset:276,byteLength:256},conformanceVersion:{byteOffset:532,byteLength:4}},Object.defineProperties(VkPresentRegionsKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPresentRegionsKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPresentRegionsKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPresentRegionsKHR.pNext' isn't allowed to be filled")}},swapchainCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPresentRegionsKHR.swapchainCount"),this.memoryView.setUint32(16,e,!0)}},pRegions:{get(){if(null===this._pRegions&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.swapchainCount,VkPresentRegionKHR);return this._pRegions=e,this.pRegions}return this._pRegions},set(e){if(null!==e&&e.constructor===Array)this._pRegions=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentRegionsKHR.pRegions': Expected 'Array VkPresentRegionKHR' but got '"+typeToString(e)+"'");this._pRegions=null}}}}),VkPresentRegionsKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pRegions=null,this._pRegionsNative=null,this.sType=1000084e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pRegions&&(this.pRegions=e.pRegions))},VkPresentRegionsKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pRegions){let e=this._pRegions;if(e.length!==this.swapchainCount)throw new RangeError("Invalid array length, expected length of 'swapchainCount' for 'VkPresentRegionsKHR.pRegions'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pRegionsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pRegionsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPresentRegionsKHR.prototype.reflect=function(e){},VkPresentRegionsKHR.createCopyFrom=function(e){let t=new VkPresentRegionsKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.swapchainCount=e.swapchainCount,null!==e.pRegions&&(t.pRegions=[...Array(e.pRegions.length)].map((t,r)=>e.pRegions[r].constructor.createCopyFrom(e.pRegions[r]))),t},VkPresentRegionsKHR.byteLength=32,VkPresentRegionsKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},swapchainCount:{byteOffset:16,byteLength:4},pRegions:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPresentRegionKHR.prototype,{rectangleCount:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPresentRegionKHR.rectangleCount"),this.memoryView.setUint32(0,e,!0)}},pRectangles:{get(){if(null===this._pRectangles&&this.memoryView.getBigInt64(8,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(8,!0),this.rectangleCount,VkRectLayerKHR);return this._pRectangles=e,this.pRectangles}return this._pRectangles},set(e){if(null!==e&&e.constructor===Array)this._pRectangles=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentRegionKHR.pRectangles': Expected 'Array VkRectLayerKHR' but got '"+typeToString(e)+"'");this._pRectangles=null}}}}),VkPresentRegionKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._pRectangles=null,this._pRectanglesNative=null,"object"==typeof e&&(void 0!==e.rectangleCount&&(this.rectangleCount=e.rectangleCount),void 0!==e.pRectangles&&(this.pRectangles=e.pRectangles))},VkPresentRegionKHR.prototype.flush=function(){if(null!==this._pRectangles){let e=this._pRectangles;if(e.length!==this.rectangleCount)throw new RangeError("Invalid array length, expected length of 'rectangleCount' for 'VkPresentRegionKHR.pRectangles'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pRectanglesNative=t,this.memoryView.setBigInt64(8,t.address,!0)}else this._pRectanglesNative=null,this.memoryView.setBigInt64(8,BI0,!0)}return!0},VkPresentRegionKHR.prototype.reflect=function(e){},VkPresentRegionKHR.createCopyFrom=function(e){let t=new VkPresentRegionKHR;return t.rectangleCount=e.rectangleCount,null!==e.pRectangles&&(t.pRectangles=[...Array(e.pRectangles.length)].map((t,r)=>e.pRectangles[r].constructor.createCopyFrom(e.pRectangles[r]))),t},VkPresentRegionKHR.byteLength=16,VkPresentRegionKHR.memoryLayout={rectangleCount:{byteOffset:0,byteLength:4},pRectangles:{byteOffset:8,byteLength:8}},Object.defineProperties(VkRectLayerKHR.prototype,{offset:{get(){return this._offset},set(e){if(null!==e&&e.constructor===VkOffset2D)e.flush(),this._offset=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRectLayerKHR.offset': Expected 'VkOffset2D' but got '"+typeToString(e)+"'");this._offset=null}}},extent:{get(){return this._extent},set(e){if(null!==e&&e.constructor===VkExtent2D)e.flush(),this._extent=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRectLayerKHR.extent': Expected 'VkExtent2D' but got '"+typeToString(e)+"'");this._extent=null}}},layer:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRectLayerKHR.layer"),this.memoryView.setUint32(16,e,!0)}}}),VkRectLayerKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,20)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x14"],0),null!==this._offset&&(this.memoryBuffer!==this._offset.memoryBuffer?this._offset=new VkOffset2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._offset.reset()),null!==this._extent&&(this.memoryBuffer!==this._extent.memoryBuffer?this._extent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._extent.reset()),"object"==typeof e&&(void 0!==e.offset&&(this.offset=e.offset),void 0!==e.extent&&(this.extent=e.extent),void 0!==e.layer&&(this.layer=e.layer))},VkRectLayerKHR.prototype.flush=function(){if(null!==this._offset){let e=this._offset;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkRectLayerKHR.offset' isn't used as shared-memory")}}if(null!==this._extent){let e=this._extent;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,8),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkRectLayerKHR.extent' isn't used as shared-memory")}}return!0},VkRectLayerKHR.prototype.reflect=function(e){},VkRectLayerKHR.createCopyFrom=function(e){let t=new VkRectLayerKHR;return null!==e.offset&&(t.offset=e.offset.constructor.createCopyFrom(e.offset)),null!==e.extent&&(t.extent=e.extent.constructor.createCopyFrom(e.extent)),t.layer=e.layer,t},VkRectLayerKHR.byteLength=20,VkRectLayerKHR.memoryLayout={offset:{byteOffset:0,byteLength:8},extent:{byteOffset:8,byteLength:8},layer:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceVariablePointersFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVariablePointersFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVariablePointersFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVariablePointersFeatures.pNext' isn't allowed to be filled")}},variablePointersStorageBuffer:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},variablePointers:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceVariablePointersFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))},VkPhysicalDeviceVariablePointersFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVariablePointersFeatures.prototype.reflect=function(e){},VkPhysicalDeviceVariablePointersFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceVariablePointersFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.variablePointersStorageBuffer=e.variablePointersStorageBuffer,t.variablePointers=e.variablePointers,t},VkPhysicalDeviceVariablePointersFeatures.byteLength=24,VkPhysicalDeviceVariablePointersFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},variablePointersStorageBuffer:{byteOffset:16,byteLength:4},variablePointers:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceVariablePointersFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVariablePointersFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVariablePointersFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVariablePointersFeaturesKHR.pNext' isn't allowed to be filled")}},variablePointersStorageBuffer:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},variablePointers:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceVariablePointersFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))},VkPhysicalDeviceVariablePointersFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVariablePointersFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceVariablePointersFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceVariablePointersFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.variablePointersStorageBuffer=e.variablePointersStorageBuffer,t.variablePointers=e.variablePointers,t},VkPhysicalDeviceVariablePointersFeaturesKHR.byteLength=24,VkPhysicalDeviceVariablePointersFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},variablePointersStorageBuffer:{byteOffset:16,byteLength:4},variablePointers:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceVariablePointerFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVariablePointerFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVariablePointerFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVariablePointerFeaturesKHR.pNext' isn't allowed to be filled")}},variablePointersStorageBuffer:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},variablePointers:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceVariablePointerFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))},VkPhysicalDeviceVariablePointerFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVariablePointerFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceVariablePointerFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceVariablePointerFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.variablePointersStorageBuffer=e.variablePointersStorageBuffer,t.variablePointers=e.variablePointers,t},VkPhysicalDeviceVariablePointerFeaturesKHR.byteLength=24,VkPhysicalDeviceVariablePointerFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},variablePointersStorageBuffer:{byteOffset:16,byteLength:4},variablePointers:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceVariablePointerFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVariablePointerFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVariablePointerFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVariablePointerFeatures.pNext' isn't allowed to be filled")}},variablePointersStorageBuffer:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},variablePointers:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceVariablePointerFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100012e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.variablePointersStorageBuffer&&(this.variablePointersStorageBuffer=e.variablePointersStorageBuffer),void 0!==e.variablePointers&&(this.variablePointers=e.variablePointers))},VkPhysicalDeviceVariablePointerFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVariablePointerFeatures.prototype.reflect=function(e){},VkPhysicalDeviceVariablePointerFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceVariablePointerFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.variablePointersStorageBuffer=e.variablePointersStorageBuffer,t.variablePointers=e.variablePointers,t},VkPhysicalDeviceVariablePointerFeatures.byteLength=24,VkPhysicalDeviceVariablePointerFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},variablePointersStorageBuffer:{byteOffset:16,byteLength:4},variablePointers:{byteOffset:20,byteLength:4}},Object.defineProperties(VkExternalMemoryProperties.prototype,{externalMemoryFeatures:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryProperties.externalMemoryFeatures"),this.memoryView.setInt32(0,e,!0)}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryProperties.exportFromImportedHandleTypes"),this.memoryView.setInt32(4,e,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryProperties.compatibleHandleTypes"),this.memoryView.setInt32(8,e,!0)}}}),VkExternalMemoryProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.externalMemoryFeatures&&(this.externalMemoryFeatures=e.externalMemoryFeatures),void 0!==e.exportFromImportedHandleTypes&&(this.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes),void 0!==e.compatibleHandleTypes&&(this.compatibleHandleTypes=e.compatibleHandleTypes))},VkExternalMemoryProperties.prototype.flush=function(){return!0},VkExternalMemoryProperties.prototype.reflect=function(e){},VkExternalMemoryProperties.createCopyFrom=function(e){let t=new VkExternalMemoryProperties;return t.externalMemoryFeatures=e.externalMemoryFeatures,t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t},VkExternalMemoryProperties.byteLength=12,VkExternalMemoryProperties.memoryLayout={externalMemoryFeatures:{byteOffset:0,byteLength:4},exportFromImportedHandleTypes:{byteOffset:4,byteLength:4},compatibleHandleTypes:{byteOffset:8,byteLength:4}},Object.defineProperties(VkExternalMemoryPropertiesKHR.prototype,{externalMemoryFeatures:{get(){return this.memoryView.getInt32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryPropertiesKHR.externalMemoryFeatures"),this.memoryView.setInt32(0,e,!0)}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryPropertiesKHR.exportFromImportedHandleTypes"),this.memoryView.setInt32(4,e,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryPropertiesKHR.compatibleHandleTypes"),this.memoryView.setInt32(8,e,!0)}}}),VkExternalMemoryPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.externalMemoryFeatures&&(this.externalMemoryFeatures=e.externalMemoryFeatures),void 0!==e.exportFromImportedHandleTypes&&(this.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes),void 0!==e.compatibleHandleTypes&&(this.compatibleHandleTypes=e.compatibleHandleTypes))},VkExternalMemoryPropertiesKHR.prototype.flush=function(){return!0},VkExternalMemoryPropertiesKHR.prototype.reflect=function(e){},VkExternalMemoryPropertiesKHR.createCopyFrom=function(e){let t=new VkExternalMemoryPropertiesKHR;return t.externalMemoryFeatures=e.externalMemoryFeatures,t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t},VkExternalMemoryPropertiesKHR.byteLength=12,VkExternalMemoryPropertiesKHR.memoryLayout={externalMemoryFeatures:{byteOffset:0,byteLength:4},exportFromImportedHandleTypes:{byteOffset:4,byteLength:4},compatibleHandleTypes:{byteOffset:8,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalImageFormatInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalImageFormatInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalImageFormatInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalImageFormatInfo.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalImageFormatInfo.handleType"),this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceExternalImageFormatInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000071e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalImageFormatInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalImageFormatInfo.prototype.reflect=function(e){},VkPhysicalDeviceExternalImageFormatInfo.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalImageFormatInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t},VkPhysicalDeviceExternalImageFormatInfo.byteLength=24,VkPhysicalDeviceExternalImageFormatInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalImageFormatInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalImageFormatInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalImageFormatInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalImageFormatInfoKHR.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalImageFormatInfoKHR.handleType"),this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceExternalImageFormatInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000071e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalImageFormatInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalImageFormatInfoKHR.prototype.reflect=function(e){},VkPhysicalDeviceExternalImageFormatInfoKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalImageFormatInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t},VkPhysicalDeviceExternalImageFormatInfoKHR.byteLength=24,VkPhysicalDeviceExternalImageFormatInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExternalImageFormatProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalImageFormatProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalImageFormatProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalImageFormatProperties.pNext' isn't allowed to be filled")}},externalMemoryProperties:{get(){return this._externalMemoryProperties}}}),VkExternalImageFormatProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._externalMemoryProperties&&(this.memoryBuffer!==this._externalMemoryProperties.memoryBuffer?this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._externalMemoryProperties.reset()),this.sType=1000071001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkExternalImageFormatProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalImageFormatProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkExternalImageFormatProperties.createCopyFrom=function(e){let t=new VkExternalImageFormatProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.externalMemoryProperties&&(t.externalMemoryProperties=e.externalMemoryProperties.constructor.createCopyFrom(e.externalMemoryProperties)),t},VkExternalImageFormatProperties.byteLength=32,VkExternalImageFormatProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},externalMemoryProperties:{byteOffset:16,byteLength:12}},Object.defineProperties(VkExternalImageFormatPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalImageFormatPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalImageFormatPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalImageFormatPropertiesKHR.pNext' isn't allowed to be filled")}},externalMemoryProperties:{get(){return this._externalMemoryProperties}}}),VkExternalImageFormatPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._externalMemoryProperties&&(this.memoryBuffer!==this._externalMemoryProperties.memoryBuffer?this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._externalMemoryProperties.reset()),this.sType=1000071001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkExternalImageFormatPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalImageFormatPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkExternalImageFormatPropertiesKHR.createCopyFrom=function(e){let t=new VkExternalImageFormatPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.externalMemoryProperties&&(t.externalMemoryProperties=e.externalMemoryProperties.constructor.createCopyFrom(e.externalMemoryProperties)),t},VkExternalImageFormatPropertiesKHR.byteLength=32,VkExternalImageFormatPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},externalMemoryProperties:{byteOffset:16,byteLength:12}},Object.defineProperties(VkPhysicalDeviceExternalBufferInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalBufferInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalBufferInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfo.flags"),this.memoryView.setInt32(16,e,!0)}},usage:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfo.usage"),this.memoryView.setInt32(20,e,!0)}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfo.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkPhysicalDeviceExternalBufferInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000071002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalBufferInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalBufferInfo.prototype.reflect=function(e){},VkPhysicalDeviceExternalBufferInfo.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalBufferInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.usage=e.usage,t.handleType=e.handleType,t},VkPhysicalDeviceExternalBufferInfo.byteLength=32,VkPhysicalDeviceExternalBufferInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},usage:{byteOffset:20,byteLength:4},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalBufferInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalBufferInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalBufferInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},usage:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfoKHR.usage"),this.memoryView.setInt32(20,e,!0)}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalBufferInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkPhysicalDeviceExternalBufferInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000071002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalBufferInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalBufferInfoKHR.prototype.reflect=function(e){},VkPhysicalDeviceExternalBufferInfoKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalBufferInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.usage=e.usage,t.handleType=e.handleType,t},VkPhysicalDeviceExternalBufferInfoKHR.byteLength=32,VkPhysicalDeviceExternalBufferInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},usage:{byteOffset:20,byteLength:4},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkExternalBufferProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalBufferProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalBufferProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalBufferProperties.pNext' isn't allowed to be filled")}},externalMemoryProperties:{get(){return this._externalMemoryProperties},set(e){if(null!==e&&e.constructor===VkExternalMemoryProperties)e.flush(),this._externalMemoryProperties=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkExternalBufferProperties.externalMemoryProperties': Expected 'VkExternalMemoryProperties' but got '"+typeToString(e)+"'");this._externalMemoryProperties=null}}}}),VkExternalBufferProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._externalMemoryProperties&&(this.memoryBuffer!==this._externalMemoryProperties.memoryBuffer?this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._externalMemoryProperties.reset()),this.sType=1000071003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.externalMemoryProperties&&(this.externalMemoryProperties=e.externalMemoryProperties))},VkExternalBufferProperties.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._externalMemoryProperties){let e=this._externalMemoryProperties;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkExternalBufferProperties.externalMemoryProperties' isn't used as shared-memory")}}return!0},VkExternalBufferProperties.prototype.reflect=function(e){},VkExternalBufferProperties.createCopyFrom=function(e){let t=new VkExternalBufferProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.externalMemoryProperties&&(t.externalMemoryProperties=e.externalMemoryProperties.constructor.createCopyFrom(e.externalMemoryProperties)),t},VkExternalBufferProperties.byteLength=32,VkExternalBufferProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},externalMemoryProperties:{byteOffset:16,byteLength:12}},Object.defineProperties(VkExternalBufferPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalBufferPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalBufferPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalBufferPropertiesKHR.pNext' isn't allowed to be filled")}},externalMemoryProperties:{get(){return this._externalMemoryProperties},set(e){if(null!==e&&e.constructor===VkExternalMemoryProperties)e.flush(),this._externalMemoryProperties=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkExternalBufferPropertiesKHR.externalMemoryProperties': Expected 'VkExternalMemoryProperties' but got '"+typeToString(e)+"'");this._externalMemoryProperties=null}}}}),VkExternalBufferPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._externalMemoryProperties&&(this.memoryBuffer!==this._externalMemoryProperties.memoryBuffer?this._externalMemoryProperties=new VkExternalMemoryProperties({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._externalMemoryProperties.reset()),this.sType=1000071003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.externalMemoryProperties&&(this.externalMemoryProperties=e.externalMemoryProperties))},VkExternalBufferPropertiesKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._externalMemoryProperties){let e=this._externalMemoryProperties;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,12);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkExternalBufferPropertiesKHR.externalMemoryProperties' isn't used as shared-memory")}}return!0},VkExternalBufferPropertiesKHR.prototype.reflect=function(e){},VkExternalBufferPropertiesKHR.createCopyFrom=function(e){let t=new VkExternalBufferPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.externalMemoryProperties&&(t.externalMemoryProperties=e.externalMemoryProperties.constructor.createCopyFrom(e.externalMemoryProperties)),t},VkExternalBufferPropertiesKHR.byteLength=32,VkExternalBufferPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},externalMemoryProperties:{byteOffset:16,byteLength:12}},Object.defineProperties(VkPhysicalDeviceIDProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceIDProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceIDProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceIDProperties.pNext' isn't allowed to be filled")}},deviceUUID:{get(){return[this.memoryView.getUint8(16,!0),this.memoryView.getUint8(17,!0),this.memoryView.getUint8(18,!0),this.memoryView.getUint8(19,!0),this.memoryView.getUint8(20,!0),this.memoryView.getUint8(21,!0),this.memoryView.getUint8(22,!0),this.memoryView.getUint8(23,!0),this.memoryView.getUint8(24,!0),this.memoryView.getUint8(25,!0),this.memoryView.getUint8(26,!0),this.memoryView.getUint8(27,!0),this.memoryView.getUint8(28,!0),this.memoryView.getUint8(29,!0),this.memoryView.getUint8(30,!0),this.memoryView.getUint8(31,!0)]}},driverUUID:{get(){return[this.memoryView.getUint8(32,!0),this.memoryView.getUint8(33,!0),this.memoryView.getUint8(34,!0),this.memoryView.getUint8(35,!0),this.memoryView.getUint8(36,!0),this.memoryView.getUint8(37,!0),this.memoryView.getUint8(38,!0),this.memoryView.getUint8(39,!0),this.memoryView.getUint8(40,!0),this.memoryView.getUint8(41,!0),this.memoryView.getUint8(42,!0),this.memoryView.getUint8(43,!0),this.memoryView.getUint8(44,!0),this.memoryView.getUint8(45,!0),this.memoryView.getUint8(46,!0),this.memoryView.getUint8(47,!0)]}},deviceLUID:{get(){return[this.memoryView.getUint8(48,!0),this.memoryView.getUint8(49,!0),this.memoryView.getUint8(50,!0),this.memoryView.getUint8(51,!0),this.memoryView.getUint8(52,!0),this.memoryView.getUint8(53,!0),this.memoryView.getUint8(54,!0),this.memoryView.getUint8(55,!0)]}},deviceNodeMask:{get(){return this.memoryView.getUint32(56,!0)}},deviceLUIDValid:{get(){return 0!==this.memoryView.getUint32(60,!0)}}}),VkPhysicalDeviceIDProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._deviceUUID?this._deviceUUID.fill(0):this._deviceUUID=[...Array(16)].fill(0),null!==this._driverUUID?this._driverUUID.fill(0):this._driverUUID=[...Array(16)].fill(0),null!==this._deviceLUID?this._deviceLUID.fill(0):this._deviceLUID=[...Array(8)].fill(0),this.sType=1000071004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceIDProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceIDProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkPhysicalDeviceIDProperties.createCopyFrom=function(e){let t=new VkPhysicalDeviceIDProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.deviceUUID&&(t.deviceUUID=[...Array(e.deviceUUID.length)].map((t,r)=>e.deviceUUID[r])),null!==e.driverUUID&&(t.driverUUID=[...Array(e.driverUUID.length)].map((t,r)=>e.driverUUID[r])),null!==e.deviceLUID&&(t.deviceLUID=[...Array(e.deviceLUID.length)].map((t,r)=>e.deviceLUID[r])),t.deviceNodeMask=e.deviceNodeMask,t.deviceLUIDValid=e.deviceLUIDValid,t},VkPhysicalDeviceIDProperties.byteLength=64,VkPhysicalDeviceIDProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceUUID:{byteOffset:16,byteLength:16},driverUUID:{byteOffset:32,byteLength:16},deviceLUID:{byteOffset:48,byteLength:8},deviceNodeMask:{byteOffset:56,byteLength:4},deviceLUIDValid:{byteOffset:60,byteLength:4}},Object.defineProperties(VkPhysicalDeviceIDPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceIDPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceIDPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceIDPropertiesKHR.pNext' isn't allowed to be filled")}},deviceUUID:{get(){return[this.memoryView.getUint8(16,!0),this.memoryView.getUint8(17,!0),this.memoryView.getUint8(18,!0),this.memoryView.getUint8(19,!0),this.memoryView.getUint8(20,!0),this.memoryView.getUint8(21,!0),this.memoryView.getUint8(22,!0),this.memoryView.getUint8(23,!0),this.memoryView.getUint8(24,!0),this.memoryView.getUint8(25,!0),this.memoryView.getUint8(26,!0),this.memoryView.getUint8(27,!0),this.memoryView.getUint8(28,!0),this.memoryView.getUint8(29,!0),this.memoryView.getUint8(30,!0),this.memoryView.getUint8(31,!0)]}},driverUUID:{get(){return[this.memoryView.getUint8(32,!0),this.memoryView.getUint8(33,!0),this.memoryView.getUint8(34,!0),this.memoryView.getUint8(35,!0),this.memoryView.getUint8(36,!0),this.memoryView.getUint8(37,!0),this.memoryView.getUint8(38,!0),this.memoryView.getUint8(39,!0),this.memoryView.getUint8(40,!0),this.memoryView.getUint8(41,!0),this.memoryView.getUint8(42,!0),this.memoryView.getUint8(43,!0),this.memoryView.getUint8(44,!0),this.memoryView.getUint8(45,!0),this.memoryView.getUint8(46,!0),this.memoryView.getUint8(47,!0)]}},deviceLUID:{get(){return[this.memoryView.getUint8(48,!0),this.memoryView.getUint8(49,!0),this.memoryView.getUint8(50,!0),this.memoryView.getUint8(51,!0),this.memoryView.getUint8(52,!0),this.memoryView.getUint8(53,!0),this.memoryView.getUint8(54,!0),this.memoryView.getUint8(55,!0)]}},deviceNodeMask:{get(){return this.memoryView.getUint32(56,!0)}},deviceLUIDValid:{get(){return 0!==this.memoryView.getUint32(60,!0)}}}),VkPhysicalDeviceIDPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._deviceUUID?this._deviceUUID.fill(0):this._deviceUUID=[...Array(16)].fill(0),null!==this._driverUUID?this._driverUUID.fill(0):this._driverUUID=[...Array(16)].fill(0),null!==this._deviceLUID?this._deviceLUID.fill(0):this._deviceLUID=[...Array(8)].fill(0),this.sType=1000071004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceIDPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceIDPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkPhysicalDeviceIDPropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceIDPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.deviceUUID&&(t.deviceUUID=[...Array(e.deviceUUID.length)].map((t,r)=>e.deviceUUID[r])),null!==e.driverUUID&&(t.driverUUID=[...Array(e.driverUUID.length)].map((t,r)=>e.driverUUID[r])),null!==e.deviceLUID&&(t.deviceLUID=[...Array(e.deviceLUID.length)].map((t,r)=>e.deviceLUID[r])),t.deviceNodeMask=e.deviceNodeMask,t.deviceLUIDValid=e.deviceLUIDValid,t},VkPhysicalDeviceIDPropertiesKHR.byteLength=64,VkPhysicalDeviceIDPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceUUID:{byteOffset:16,byteLength:16},driverUUID:{byteOffset:32,byteLength:16},deviceLUID:{byteOffset:48,byteLength:8},deviceNodeMask:{byteOffset:56,byteLength:4},deviceLUIDValid:{byteOffset:60,byteLength:4}},Object.defineProperties(VkExternalMemoryImageCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalMemoryImageCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalMemoryImageCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalMemoryImageCreateInfo.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryImageCreateInfo.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExternalMemoryImageCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000072001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExternalMemoryImageCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalMemoryImageCreateInfo.prototype.reflect=function(e){},VkExternalMemoryImageCreateInfo.createCopyFrom=function(e){let t=new VkExternalMemoryImageCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExternalMemoryImageCreateInfo.byteLength=24,VkExternalMemoryImageCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExternalMemoryImageCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalMemoryImageCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalMemoryImageCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalMemoryImageCreateInfoKHR.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryImageCreateInfoKHR.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExternalMemoryImageCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000072001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExternalMemoryImageCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalMemoryImageCreateInfoKHR.prototype.reflect=function(e){},VkExternalMemoryImageCreateInfoKHR.createCopyFrom=function(e){let t=new VkExternalMemoryImageCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExternalMemoryImageCreateInfoKHR.byteLength=24,VkExternalMemoryImageCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExternalMemoryBufferCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalMemoryBufferCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalMemoryBufferCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalMemoryBufferCreateInfo.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryBufferCreateInfo.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExternalMemoryBufferCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000072e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExternalMemoryBufferCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalMemoryBufferCreateInfo.prototype.reflect=function(e){},VkExternalMemoryBufferCreateInfo.createCopyFrom=function(e){let t=new VkExternalMemoryBufferCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExternalMemoryBufferCreateInfo.byteLength=24,VkExternalMemoryBufferCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExternalMemoryBufferCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalMemoryBufferCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalMemoryBufferCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalMemoryBufferCreateInfoKHR.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExternalMemoryBufferCreateInfoKHR.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExternalMemoryBufferCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000072e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExternalMemoryBufferCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalMemoryBufferCreateInfoKHR.prototype.reflect=function(e){},VkExternalMemoryBufferCreateInfoKHR.createCopyFrom=function(e){let t=new VkExternalMemoryBufferCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExternalMemoryBufferCreateInfoKHR.byteLength=24,VkExternalMemoryBufferCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExportMemoryAllocateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportMemoryAllocateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportMemoryAllocateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkExportMemoryAllocateInfo.pNext'");switch(t){case 1000073001:break;default:throw new TypeError("Invalid type for 'VkExportMemoryAllocateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkExportMemoryAllocateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportMemoryAllocateInfo.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportMemoryAllocateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000072002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportMemoryAllocateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportMemoryAllocateInfo.prototype.reflect=function(e){},VkExportMemoryAllocateInfo.createCopyFrom=function(e){let t=new VkExportMemoryAllocateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportMemoryAllocateInfo.byteLength=24,VkExportMemoryAllocateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExportMemoryAllocateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportMemoryAllocateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportMemoryAllocateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkExportMemoryAllocateInfoKHR.pNext'");switch(t){case 1000073001:break;default:throw new TypeError("Invalid type for 'VkExportMemoryAllocateInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkExportMemoryAllocateInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportMemoryAllocateInfoKHR.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportMemoryAllocateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000072002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportMemoryAllocateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportMemoryAllocateInfoKHR.prototype.reflect=function(e){},VkExportMemoryAllocateInfoKHR.createCopyFrom=function(e){let t=new VkExportMemoryAllocateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportMemoryAllocateInfoKHR.byteLength=24,VkExportMemoryAllocateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImportMemoryWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportMemoryWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportMemoryWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportMemoryWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportMemoryWin32HandleInfoKHR.handleType"),this.memoryView.setInt32(16,e,!0)}},handle:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkImportMemoryWin32HandleInfoKHR.handle"),this.memoryView.setBigInt64(24,BigInt(e),!0)}},name:{get(){if(null!==this._name){let e=textDecoder.decode(this._name);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._name=r,this.name}return null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkImportMemoryWin32HandleInfoKHR.name")}}}),VkImportMemoryWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._name=null,this.sType=1000073e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle),void 0!==e.name&&(this.name=e.name))},VkImportMemoryWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportMemoryWin32HandleInfoKHR.prototype.reflect=function(e){},VkImportMemoryWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkImportMemoryWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t.handle=e.handle,t.name=e.name,t},VkImportMemoryWin32HandleInfoKHR.byteLength=40,VkImportMemoryWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4},handle:{byteOffset:24,byteLength:8},name:{byteOffset:32,byteLength:8}},Object.defineProperties(VkExportMemoryWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportMemoryWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportMemoryWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportMemoryWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},pAttributes:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkExportMemoryWin32HandleInfoKHR.pAttributes"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},dwAccess:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportMemoryWin32HandleInfoKHR.dwAccess"),this.memoryView.setUint32(24,e,!0)}},name:{get(){if(null!==this._name){let e=textDecoder.decode(this._name);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._name=r,this.name}return null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkExportMemoryWin32HandleInfoKHR.name")}}}),VkExportMemoryWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._name=null,this.sType=1000073001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess),void 0!==e.name&&(this.name=e.name))},VkExportMemoryWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportMemoryWin32HandleInfoKHR.prototype.reflect=function(e){},VkExportMemoryWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkExportMemoryWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pAttributes=e.pAttributes,t.dwAccess=e.dwAccess,t.name=e.name,t},VkExportMemoryWin32HandleInfoKHR.byteLength=40,VkExportMemoryWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pAttributes:{byteOffset:16,byteLength:8},dwAccess:{byteOffset:24,byteLength:4},name:{byteOffset:32,byteLength:8}},Object.defineProperties(VkMemoryWin32HandlePropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryWin32HandlePropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryWin32HandlePropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryWin32HandlePropertiesKHR.pNext' isn't allowed to be filled")}},memoryTypeBits:{get(){return this.memoryView.getUint32(16,!0)}}}),VkMemoryWin32HandlePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000073002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryWin32HandlePropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryWin32HandlePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMemoryWin32HandlePropertiesKHR.createCopyFrom=function(e){let t=new VkMemoryWin32HandlePropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.memoryTypeBits=e.memoryTypeBits,t},VkMemoryWin32HandlePropertiesKHR.byteLength=24,VkMemoryWin32HandlePropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryTypeBits:{byteOffset:16,byteLength:4}},Object.defineProperties(VkMemoryGetWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryGetWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryGetWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryGetWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryGetWin32HandleInfoKHR.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(16,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryGetWin32HandleInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkMemoryGetWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._memory=null,this.sType=1000073003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.handleType&&(this.handleType=e.handleType))},VkMemoryGetWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryGetWin32HandleInfoKHR.prototype.reflect=function(e){},VkMemoryGetWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkMemoryGetWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.handleType=e.handleType,t},VkMemoryGetWin32HandleInfoKHR.byteLength=32,VkMemoryGetWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memory:{byteOffset:16,byteLength:8},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkImportMemoryFdInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportMemoryFdInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportMemoryFdInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportMemoryFdInfoKHR.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportMemoryFdInfoKHR.handleType"),this.memoryView.setInt32(16,e,!0)}},fd:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportMemoryFdInfoKHR.fd"),this.memoryView.setInt32(20,e,!0)}}}),VkImportMemoryFdInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000074e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.fd&&(this.fd=e.fd))},VkImportMemoryFdInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportMemoryFdInfoKHR.prototype.reflect=function(e){},VkImportMemoryFdInfoKHR.createCopyFrom=function(e){let t=new VkImportMemoryFdInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t.fd=e.fd,t},VkImportMemoryFdInfoKHR.byteLength=24,VkImportMemoryFdInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4},fd:{byteOffset:20,byteLength:4}},Object.defineProperties(VkMemoryFdPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryFdPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryFdPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryFdPropertiesKHR.pNext' isn't allowed to be filled")}},memoryTypeBits:{get(){return this.memoryView.getUint32(16,!0)}}}),VkMemoryFdPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000074001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryFdPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryFdPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMemoryFdPropertiesKHR.createCopyFrom=function(e){let t=new VkMemoryFdPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.memoryTypeBits=e.memoryTypeBits,t},VkMemoryFdPropertiesKHR.byteLength=24,VkMemoryFdPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryTypeBits:{byteOffset:16,byteLength:4}},Object.defineProperties(VkMemoryGetFdInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryGetFdInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryGetFdInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryGetFdInfoKHR.pNext' isn't allowed to be filled")}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryGetFdInfoKHR.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(16,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryGetFdInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkMemoryGetFdInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._memory=null,this.sType=1000074002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.handleType&&(this.handleType=e.handleType))},VkMemoryGetFdInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryGetFdInfoKHR.prototype.reflect=function(e){},VkMemoryGetFdInfoKHR.createCopyFrom=function(e){let t=new VkMemoryGetFdInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.handleType=e.handleType,t},VkMemoryGetFdInfoKHR.byteLength=32,VkMemoryGetFdInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memory:{byteOffset:16,byteLength:8},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkWin32KeyedMutexAcquireReleaseInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWin32KeyedMutexAcquireReleaseInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkWin32KeyedMutexAcquireReleaseInfoKHR.pNext' isn't allowed to be filled")}},acquireCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWin32KeyedMutexAcquireReleaseInfoKHR.acquireCount"),this.memoryView.setUint32(16,e,!0)}},pAcquireSyncs:{get(){if(null===this._pAcquireSyncs&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.acquireCount,VkDeviceMemory);return this._pAcquireSyncs=e,this.pAcquireSyncs}return this._pAcquireSyncs},set(e){if(null!==e&&e.constructor===Array)this._pAcquireSyncs=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pAcquireSyncs': Expected 'Array VkDeviceMemory' but got '"+typeToString(e)+"'");this._pAcquireSyncs=null}}},pAcquireKeys:{get(){return this._pAcquireKeys},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pAcquireKeys=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pAcquireKeys': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pAcquireKeys=null,this.memoryView.setBigInt64(32,BI0,!0)}}},pAcquireTimeouts:{get(){return this._pAcquireTimeouts},set(e){if(null!==e&&e.constructor===Uint32Array)this._pAcquireTimeouts=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pAcquireTimeouts': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pAcquireTimeouts=null,this.memoryView.setBigInt64(40,BI0,!0)}}},releaseCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWin32KeyedMutexAcquireReleaseInfoKHR.releaseCount"),this.memoryView.setUint32(48,e,!0)}},pReleaseSyncs:{get(){if(null===this._pReleaseSyncs&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.releaseCount,VkDeviceMemory);return this._pReleaseSyncs=e,this.pReleaseSyncs}return this._pReleaseSyncs},set(e){if(null!==e&&e.constructor===Array)this._pReleaseSyncs=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pReleaseSyncs': Expected 'Array VkDeviceMemory' but got '"+typeToString(e)+"'");this._pReleaseSyncs=null}}},pReleaseKeys:{get(){return this._pReleaseKeys},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pReleaseKeys=e,this.memoryView.setBigInt64(64,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pReleaseKeys': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pReleaseKeys=null,this.memoryView.setBigInt64(64,BI0,!0)}}}}),VkWin32KeyedMutexAcquireReleaseInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._pAcquireSyncs=null,this._pAcquireSyncsNative=null,this._pAcquireKeys=null,this._pAcquireTimeouts=null,this._pReleaseSyncs=null,this._pReleaseSyncsNative=null,this._pReleaseKeys=null,this.sType=1000075e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.acquireCount&&(this.acquireCount=e.acquireCount),void 0!==e.pAcquireSyncs&&(this.pAcquireSyncs=e.pAcquireSyncs),void 0!==e.pAcquireKeys&&(this.pAcquireKeys=e.pAcquireKeys),void 0!==e.pAcquireTimeouts&&(this.pAcquireTimeouts=e.pAcquireTimeouts),void 0!==e.releaseCount&&(this.releaseCount=e.releaseCount),void 0!==e.pReleaseSyncs&&(this.pReleaseSyncs=e.pReleaseSyncs),void 0!==e.pReleaseKeys&&(this.pReleaseKeys=e.pReleaseKeys))},VkWin32KeyedMutexAcquireReleaseInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAcquireSyncs){let e=this._pAcquireSyncs;if(e.length!==this.acquireCount)throw new RangeError("Invalid array length, expected length of 'acquireCount' for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pAcquireSyncs'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAcquireSyncsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAcquireSyncsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pReleaseSyncs){let e=this._pReleaseSyncs;if(e.length!==this.releaseCount)throw new RangeError("Invalid array length, expected length of 'releaseCount' for 'VkWin32KeyedMutexAcquireReleaseInfoKHR.pReleaseSyncs'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pReleaseSyncsNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pReleaseSyncsNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkWin32KeyedMutexAcquireReleaseInfoKHR.prototype.reflect=function(e){},VkWin32KeyedMutexAcquireReleaseInfoKHR.createCopyFrom=function(e){let t=new VkWin32KeyedMutexAcquireReleaseInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.acquireCount=e.acquireCount,null!==e.pAcquireSyncs&&(t.pAcquireSyncs=[...Array(e.pAcquireSyncs.length)].map((t,r)=>e.pAcquireSyncs[r].constructor.createCopyFrom(e.pAcquireSyncs[r]))),null!==e.pAcquireKeys&&(t.pAcquireKeys=new BigUint64Array(e.pAcquireKeys)),null!==e.pAcquireTimeouts&&(t.pAcquireTimeouts=new Uint32Array(e.pAcquireTimeouts)),t.releaseCount=e.releaseCount,null!==e.pReleaseSyncs&&(t.pReleaseSyncs=[...Array(e.pReleaseSyncs.length)].map((t,r)=>e.pReleaseSyncs[r].constructor.createCopyFrom(e.pReleaseSyncs[r]))),null!==e.pReleaseKeys&&(t.pReleaseKeys=new BigUint64Array(e.pReleaseKeys)),t},VkWin32KeyedMutexAcquireReleaseInfoKHR.byteLength=72,VkWin32KeyedMutexAcquireReleaseInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},acquireCount:{byteOffset:16,byteLength:4},pAcquireSyncs:{byteOffset:24,byteLength:8},pAcquireKeys:{byteOffset:32,byteLength:8},pAcquireTimeouts:{byteOffset:40,byteLength:8},releaseCount:{byteOffset:48,byteLength:4},pReleaseSyncs:{byteOffset:56,byteLength:8},pReleaseKeys:{byteOffset:64,byteLength:8}},Object.defineProperties(VkPhysicalDeviceExternalSemaphoreInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalSemaphoreInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalSemaphoreInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceExternalSemaphoreInfo.pNext'");switch(t){case 1000207002:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceExternalSemaphoreInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceExternalSemaphoreInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalSemaphoreInfo.handleType"),this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceExternalSemaphoreInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000076e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalSemaphoreInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalSemaphoreInfo.prototype.reflect=function(e){},VkPhysicalDeviceExternalSemaphoreInfo.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalSemaphoreInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t},VkPhysicalDeviceExternalSemaphoreInfo.byteLength=24,VkPhysicalDeviceExternalSemaphoreInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalSemaphoreInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalSemaphoreInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalSemaphoreInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceExternalSemaphoreInfoKHR.pNext'");switch(t){case 1000207002:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceExternalSemaphoreInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceExternalSemaphoreInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalSemaphoreInfoKHR.handleType"),this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceExternalSemaphoreInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000076e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalSemaphoreInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalSemaphoreInfoKHR.prototype.reflect=function(e){},VkPhysicalDeviceExternalSemaphoreInfoKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalSemaphoreInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t},VkPhysicalDeviceExternalSemaphoreInfoKHR.byteLength=24,VkPhysicalDeviceExternalSemaphoreInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExternalSemaphoreProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalSemaphoreProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalSemaphoreProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalSemaphoreProperties.pNext' isn't allowed to be filled")}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(16,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(20,!0)}},externalSemaphoreFeatures:{get(){return this.memoryView.getInt32(24,!0)}}}),VkExternalSemaphoreProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000076001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkExternalSemaphoreProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalSemaphoreProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkExternalSemaphoreProperties.createCopyFrom=function(e){let t=new VkExternalSemaphoreProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t.externalSemaphoreFeatures=e.externalSemaphoreFeatures,t},VkExternalSemaphoreProperties.byteLength=32,VkExternalSemaphoreProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},exportFromImportedHandleTypes:{byteOffset:16,byteLength:4},compatibleHandleTypes:{byteOffset:20,byteLength:4},externalSemaphoreFeatures:{byteOffset:24,byteLength:4}},Object.defineProperties(VkExternalSemaphorePropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalSemaphorePropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalSemaphorePropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalSemaphorePropertiesKHR.pNext' isn't allowed to be filled")}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(16,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(20,!0)}},externalSemaphoreFeatures:{get(){return this.memoryView.getInt32(24,!0)}}}),VkExternalSemaphorePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000076001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkExternalSemaphorePropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalSemaphorePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkExternalSemaphorePropertiesKHR.createCopyFrom=function(e){let t=new VkExternalSemaphorePropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t.externalSemaphoreFeatures=e.externalSemaphoreFeatures,t},VkExternalSemaphorePropertiesKHR.byteLength=32,VkExternalSemaphorePropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},exportFromImportedHandleTypes:{byteOffset:16,byteLength:4},compatibleHandleTypes:{byteOffset:20,byteLength:4},externalSemaphoreFeatures:{byteOffset:24,byteLength:4}},Object.defineProperties(VkExportSemaphoreCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportSemaphoreCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportSemaphoreCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportSemaphoreCreateInfo.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportSemaphoreCreateInfo.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportSemaphoreCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000077e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportSemaphoreCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportSemaphoreCreateInfo.prototype.reflect=function(e){},VkExportSemaphoreCreateInfo.createCopyFrom=function(e){let t=new VkExportSemaphoreCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportSemaphoreCreateInfo.byteLength=24,VkExportSemaphoreCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExportSemaphoreCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportSemaphoreCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportSemaphoreCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkExportSemaphoreCreateInfoKHR.pNext'");switch(t){case 1000078001:break;default:throw new TypeError("Invalid type for 'VkExportSemaphoreCreateInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkExportSemaphoreCreateInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportSemaphoreCreateInfoKHR.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportSemaphoreCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000077e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportSemaphoreCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportSemaphoreCreateInfoKHR.prototype.reflect=function(e){},VkExportSemaphoreCreateInfoKHR.createCopyFrom=function(e){let t=new VkExportSemaphoreCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportSemaphoreCreateInfoKHR.byteLength=24,VkExportSemaphoreCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImportSemaphoreWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportSemaphoreWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportSemaphoreWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportSemaphoreWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},semaphore:{get(){return this._semaphore},set(e){if(null!==e&&e.constructor===VkSemaphore)this._semaphore=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImportSemaphoreWin32HandleInfoKHR.semaphore': Expected 'VkSemaphore' but got '"+typeToString(e)+"'");this._semaphore=null,this.memoryView.setBigInt64(16,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportSemaphoreWin32HandleInfoKHR.flags"),this.memoryView.setInt32(24,e,!0)}},handleType:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportSemaphoreWin32HandleInfoKHR.handleType"),this.memoryView.setInt32(28,e,!0)}},handle:{get(){return this.memoryView.getBigInt64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkImportSemaphoreWin32HandleInfoKHR.handle"),this.memoryView.setBigInt64(32,BigInt(e),!0)}},name:{get(){if(null!==this._name){let e=textDecoder.decode(this._name);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(40,!0)!==BI0){let e=this.memoryView.getBigInt64(40,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._name=r,this.name}return null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(40,BI0,!0)):ASSERT_IS_STRING(e,"VkImportSemaphoreWin32HandleInfoKHR.name")}}}),VkImportSemaphoreWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._semaphore=null,this._name=null,this.sType=1000078e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle),void 0!==e.name&&(this.name=e.name))},VkImportSemaphoreWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportSemaphoreWin32HandleInfoKHR.prototype.reflect=function(e){},VkImportSemaphoreWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkImportSemaphoreWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.semaphore&&(t.semaphore=e.semaphore.constructor.createCopyFrom(e.semaphore)),t.flags=e.flags,t.handleType=e.handleType,t.handle=e.handle,t.name=e.name,t},VkImportSemaphoreWin32HandleInfoKHR.byteLength=48,VkImportSemaphoreWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},semaphore:{byteOffset:16,byteLength:8},flags:{byteOffset:24,byteLength:4},handleType:{byteOffset:28,byteLength:4},handle:{byteOffset:32,byteLength:8},name:{byteOffset:40,byteLength:8}},Object.defineProperties(VkExportSemaphoreWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportSemaphoreWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportSemaphoreWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportSemaphoreWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},pAttributes:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkExportSemaphoreWin32HandleInfoKHR.pAttributes"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},dwAccess:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportSemaphoreWin32HandleInfoKHR.dwAccess"),this.memoryView.setUint32(24,e,!0)}},name:{get(){if(null!==this._name){let e=textDecoder.decode(this._name);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._name=r,this.name}return null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkExportSemaphoreWin32HandleInfoKHR.name")}}}),VkExportSemaphoreWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._name=null,this.sType=1000078001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess),void 0!==e.name&&(this.name=e.name))},VkExportSemaphoreWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportSemaphoreWin32HandleInfoKHR.prototype.reflect=function(e){},VkExportSemaphoreWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkExportSemaphoreWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pAttributes=e.pAttributes,t.dwAccess=e.dwAccess,t.name=e.name,t},VkExportSemaphoreWin32HandleInfoKHR.byteLength=40,VkExportSemaphoreWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pAttributes:{byteOffset:16,byteLength:8},dwAccess:{byteOffset:24,byteLength:4},name:{byteOffset:32,byteLength:8}},Object.defineProperties(VkD3D12FenceSubmitInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkD3D12FenceSubmitInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkD3D12FenceSubmitInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkD3D12FenceSubmitInfoKHR.pNext' isn't allowed to be filled")}},waitSemaphoreValuesCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkD3D12FenceSubmitInfoKHR.waitSemaphoreValuesCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphoreValues:{get(){return this._pWaitSemaphoreValues},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pWaitSemaphoreValues=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkD3D12FenceSubmitInfoKHR.pWaitSemaphoreValues': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pWaitSemaphoreValues=null,this.memoryView.setBigInt64(24,BI0,!0)}}},signalSemaphoreValuesCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkD3D12FenceSubmitInfoKHR.signalSemaphoreValuesCount"),this.memoryView.setUint32(32,e,!0)}},pSignalSemaphoreValues:{get(){return this._pSignalSemaphoreValues},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pSignalSemaphoreValues=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkD3D12FenceSubmitInfoKHR.pSignalSemaphoreValues': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pSignalSemaphoreValues=null,this.memoryView.setBigInt64(40,BI0,!0)}}}}),VkD3D12FenceSubmitInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pWaitSemaphoreValues=null,this._pSignalSemaphoreValues=null,this.sType=1000078002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreValuesCount&&(this.waitSemaphoreValuesCount=e.waitSemaphoreValuesCount),void 0!==e.pWaitSemaphoreValues&&(this.pWaitSemaphoreValues=e.pWaitSemaphoreValues),void 0!==e.signalSemaphoreValuesCount&&(this.signalSemaphoreValuesCount=e.signalSemaphoreValuesCount),void 0!==e.pSignalSemaphoreValues&&(this.pSignalSemaphoreValues=e.pSignalSemaphoreValues))},VkD3D12FenceSubmitInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkD3D12FenceSubmitInfoKHR.prototype.reflect=function(e){},VkD3D12FenceSubmitInfoKHR.createCopyFrom=function(e){let t=new VkD3D12FenceSubmitInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreValuesCount=e.waitSemaphoreValuesCount,null!==e.pWaitSemaphoreValues&&(t.pWaitSemaphoreValues=new BigUint64Array(e.pWaitSemaphoreValues)),t.signalSemaphoreValuesCount=e.signalSemaphoreValuesCount,null!==e.pSignalSemaphoreValues&&(t.pSignalSemaphoreValues=new BigUint64Array(e.pSignalSemaphoreValues)),t},VkD3D12FenceSubmitInfoKHR.byteLength=48,VkD3D12FenceSubmitInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreValuesCount:{byteOffset:16,byteLength:4},pWaitSemaphoreValues:{byteOffset:24,byteLength:8},signalSemaphoreValuesCount:{byteOffset:32,byteLength:4},pSignalSemaphoreValues:{byteOffset:40,byteLength:8}},Object.defineProperties(VkSemaphoreGetWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreGetWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSemaphoreGetWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSemaphoreGetWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},semaphore:{get(){return this._semaphore},set(e){if(null!==e&&e.constructor===VkSemaphore)this._semaphore=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSemaphoreGetWin32HandleInfoKHR.semaphore': Expected 'VkSemaphore' but got '"+typeToString(e)+"'");this._semaphore=null,this.memoryView.setBigInt64(16,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSemaphoreGetWin32HandleInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkSemaphoreGetWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._semaphore=null,this.sType=1000078003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.handleType&&(this.handleType=e.handleType))},VkSemaphoreGetWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSemaphoreGetWin32HandleInfoKHR.prototype.reflect=function(e){},VkSemaphoreGetWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkSemaphoreGetWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.semaphore&&(t.semaphore=e.semaphore.constructor.createCopyFrom(e.semaphore)),t.handleType=e.handleType,t},VkSemaphoreGetWin32HandleInfoKHR.byteLength=32,VkSemaphoreGetWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},semaphore:{byteOffset:16,byteLength:8},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkImportSemaphoreFdInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportSemaphoreFdInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportSemaphoreFdInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportSemaphoreFdInfoKHR.pNext' isn't allowed to be filled")}},semaphore:{get(){return this._semaphore},set(e){if(null!==e&&e.constructor===VkSemaphore)this._semaphore=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImportSemaphoreFdInfoKHR.semaphore': Expected 'VkSemaphore' but got '"+typeToString(e)+"'");this._semaphore=null,this.memoryView.setBigInt64(16,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportSemaphoreFdInfoKHR.flags"),this.memoryView.setInt32(24,e,!0)}},handleType:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportSemaphoreFdInfoKHR.handleType"),this.memoryView.setInt32(28,e,!0)}},fd:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportSemaphoreFdInfoKHR.fd"),this.memoryView.setInt32(32,e,!0)}}}),VkImportSemaphoreFdInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._semaphore=null,this.sType=1000079e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.fd&&(this.fd=e.fd))},VkImportSemaphoreFdInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportSemaphoreFdInfoKHR.prototype.reflect=function(e){},VkImportSemaphoreFdInfoKHR.createCopyFrom=function(e){let t=new VkImportSemaphoreFdInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.semaphore&&(t.semaphore=e.semaphore.constructor.createCopyFrom(e.semaphore)),t.flags=e.flags,t.handleType=e.handleType,t.fd=e.fd,t},VkImportSemaphoreFdInfoKHR.byteLength=40,VkImportSemaphoreFdInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},semaphore:{byteOffset:16,byteLength:8},flags:{byteOffset:24,byteLength:4},handleType:{byteOffset:28,byteLength:4},fd:{byteOffset:32,byteLength:4}},Object.defineProperties(VkSemaphoreGetFdInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreGetFdInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSemaphoreGetFdInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSemaphoreGetFdInfoKHR.pNext' isn't allowed to be filled")}},semaphore:{get(){return this._semaphore},set(e){if(null!==e&&e.constructor===VkSemaphore)this._semaphore=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSemaphoreGetFdInfoKHR.semaphore': Expected 'VkSemaphore' but got '"+typeToString(e)+"'");this._semaphore=null,this.memoryView.setBigInt64(16,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSemaphoreGetFdInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkSemaphoreGetFdInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._semaphore=null,this.sType=1000079001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.handleType&&(this.handleType=e.handleType))},VkSemaphoreGetFdInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSemaphoreGetFdInfoKHR.prototype.reflect=function(e){},VkSemaphoreGetFdInfoKHR.createCopyFrom=function(e){let t=new VkSemaphoreGetFdInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.semaphore&&(t.semaphore=e.semaphore.constructor.createCopyFrom(e.semaphore)),t.handleType=e.handleType,t},VkSemaphoreGetFdInfoKHR.byteLength=32,VkSemaphoreGetFdInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},semaphore:{byteOffset:16,byteLength:8},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalFenceInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalFenceInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalFenceInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalFenceInfo.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalFenceInfo.handleType"),this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceExternalFenceInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000112e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalFenceInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalFenceInfo.prototype.reflect=function(e){},VkPhysicalDeviceExternalFenceInfo.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalFenceInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t},VkPhysicalDeviceExternalFenceInfo.byteLength=24,VkPhysicalDeviceExternalFenceInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalFenceInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalFenceInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalFenceInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalFenceInfoKHR.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalFenceInfoKHR.handleType"),this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceExternalFenceInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000112e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType))},VkPhysicalDeviceExternalFenceInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalFenceInfoKHR.prototype.reflect=function(e){},VkPhysicalDeviceExternalFenceInfoKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalFenceInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,t};function VkSamplerYcbcrConversionImageFormatPropertiesKHR(e,t){if(new.target!==VkSamplerYcbcrConversionImageFormatPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerYcbcrConversionImageFormatPropertiesKHR,STRUCT_CACHE_VkSamplerYcbcrConversionImageFormatPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerYcbcrConversionImageFormatPropertiesKHR,STRUCT_CACHE_VkSamplerYcbcrConversionImageFormatPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerYcbcrConversionImageFormatPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000156005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkTextureLODGatherFormatPropertiesAMD(e,t){if(new.target!==VkTextureLODGatherFormatPropertiesAMD){if("string"==typeof e){let t=getStructFromStack(e,VkTextureLODGatherFormatPropertiesAMD,STRUCT_CACHE_VkTextureLODGatherFormatPropertiesAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkTextureLODGatherFormatPropertiesAMD,STRUCT_CACHE_VkTextureLODGatherFormatPropertiesAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkTextureLODGatherFormatPropertiesAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000041e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkConditionalRenderingBeginInfoEXT(e,t){if(new.target!==VkConditionalRenderingBeginInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkConditionalRenderingBeginInfoEXT,STRUCT_CACHE_VkConditionalRenderingBeginInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkConditionalRenderingBeginInfoEXT,STRUCT_CACHE_VkConditionalRenderingBeginInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkConditionalRenderingBeginInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._buffer=null,this.sType=1000081002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.flags&&(this.flags=e.flags))}function VkProtectedSubmitInfo(e,t){if(new.target!==VkProtectedSubmitInfo){if("string"==typeof e){let t=getStructFromStack(e,VkProtectedSubmitInfo,STRUCT_CACHE_VkProtectedSubmitInfo);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkProtectedSubmitInfo,STRUCT_CACHE_VkProtectedSubmitInfo);return r.reset(e),r}throw new Error("Invalid Signature for 'VkProtectedSubmitInfo'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000145e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.protectedSubmit&&(this.protectedSubmit=e.protectedSubmit))}function VkPhysicalDeviceProtectedMemoryFeatures(e,t){if(new.target!==VkPhysicalDeviceProtectedMemoryFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceProtectedMemoryFeatures,STRUCT_CACHE_VkPhysicalDeviceProtectedMemoryFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceProtectedMemoryFeatures,STRUCT_CACHE_VkPhysicalDeviceProtectedMemoryFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceProtectedMemoryFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000145001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.protectedMemory&&(this.protectedMemory=e.protectedMemory))}function VkPhysicalDeviceProtectedMemoryProperties(e,t){if(new.target!==VkPhysicalDeviceProtectedMemoryProperties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceProtectedMemoryProperties,STRUCT_CACHE_VkPhysicalDeviceProtectedMemoryProperties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceProtectedMemoryProperties,STRUCT_CACHE_VkPhysicalDeviceProtectedMemoryProperties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceProtectedMemoryProperties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000145002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDeviceQueueInfo2(e,t){if(new.target!==VkDeviceQueueInfo2){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceQueueInfo2,STRUCT_CACHE_VkDeviceQueueInfo2);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceQueueInfo2,STRUCT_CACHE_VkDeviceQueueInfo2);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceQueueInfo2'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000145003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.queueFamilyIndex&&(this.queueFamilyIndex=e.queueFamilyIndex),void 0!==e.queueIndex&&(this.queueIndex=e.queueIndex))}function VkPipelineCoverageToColorStateCreateInfoNV(e,t){if(new.target!==VkPipelineCoverageToColorStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCoverageToColorStateCreateInfoNV,STRUCT_CACHE_VkPipelineCoverageToColorStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCoverageToColorStateCreateInfoNV,STRUCT_CACHE_VkPipelineCoverageToColorStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCoverageToColorStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000149e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.coverageToColorEnable&&(this.coverageToColorEnable=e.coverageToColorEnable),void 0!==e.coverageToColorLocation&&(this.coverageToColorLocation=e.coverageToColorLocation))}function VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100013e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSampleLocationEXT(e,t){if(new.target!==VkSampleLocationEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSampleLocationEXT,STRUCT_CACHE_VkSampleLocationEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSampleLocationEXT,STRUCT_CACHE_VkSampleLocationEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSampleLocationEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y))}function VkSampleLocationsInfoEXT(e,t){if(new.target!==VkSampleLocationsInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSampleLocationsInfoEXT,STRUCT_CACHE_VkSampleLocationsInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSampleLocationsInfoEXT,STRUCT_CACHE_VkSampleLocationsInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSampleLocationsInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._sampleLocationGridSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}),this._pSampleLocations=null,this._pSampleLocationsNative=null,this.sType=1000143e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.sampleLocationsPerPixel&&(this.sampleLocationsPerPixel=e.sampleLocationsPerPixel),void 0!==e.sampleLocationGridSize&&(this.sampleLocationGridSize=e.sampleLocationGridSize),void 0!==e.sampleLocationsCount&&(this.sampleLocationsCount=e.sampleLocationsCount),void 0!==e.pSampleLocations&&(this.pSampleLocations=e.pSampleLocations))}function VkAttachmentSampleLocationsEXT(e,t){if(new.target!==VkAttachmentSampleLocationsEXT){if("string"==typeof e){let t=getStructFromStack(e,VkAttachmentSampleLocationsEXT,STRUCT_CACHE_VkAttachmentSampleLocationsEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAttachmentSampleLocationsEXT,STRUCT_CACHE_VkAttachmentSampleLocationsEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAttachmentSampleLocationsEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._sampleLocationsInfo=new VkSampleLocationsInfoEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),"object"==typeof e&&(void 0!==e.attachmentIndex&&(this.attachmentIndex=e.attachmentIndex),void 0!==e.sampleLocationsInfo&&(this.sampleLocationsInfo=e.sampleLocationsInfo))}function VkSubpassSampleLocationsEXT(e,t){if(new.target!==VkSubpassSampleLocationsEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassSampleLocationsEXT,STRUCT_CACHE_VkSubpassSampleLocationsEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassSampleLocationsEXT,STRUCT_CACHE_VkSubpassSampleLocationsEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassSampleLocationsEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._sampleLocationsInfo=new VkSampleLocationsInfoEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),"object"==typeof e&&(void 0!==e.subpassIndex&&(this.subpassIndex=e.subpassIndex),void 0!==e.sampleLocationsInfo&&(this.sampleLocationsInfo=e.sampleLocationsInfo))}function VkRenderPassSampleLocationsBeginInfoEXT(e,t){if(new.target!==VkRenderPassSampleLocationsBeginInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassSampleLocationsBeginInfoEXT,STRUCT_CACHE_VkRenderPassSampleLocationsBeginInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassSampleLocationsBeginInfoEXT,STRUCT_CACHE_VkRenderPassSampleLocationsBeginInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassSampleLocationsBeginInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pAttachmentInitialSampleLocations=null,this._pAttachmentInitialSampleLocationsNative=null,this._pPostSubpassSampleLocations=null,this._pPostSubpassSampleLocationsNative=null,this.sType=1000143001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachmentInitialSampleLocationsCount&&(this.attachmentInitialSampleLocationsCount=e.attachmentInitialSampleLocationsCount),void 0!==e.pAttachmentInitialSampleLocations&&(this.pAttachmentInitialSampleLocations=e.pAttachmentInitialSampleLocations),void 0!==e.postSubpassSampleLocationsCount&&(this.postSubpassSampleLocationsCount=e.postSubpassSampleLocationsCount),void 0!==e.pPostSubpassSampleLocations&&(this.pPostSubpassSampleLocations=e.pPostSubpassSampleLocations))}function VkPipelineSampleLocationsStateCreateInfoEXT(e,t){if(new.target!==VkPipelineSampleLocationsStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineSampleLocationsStateCreateInfoEXT,STRUCT_CACHE_VkPipelineSampleLocationsStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineSampleLocationsStateCreateInfoEXT,STRUCT_CACHE_VkPipelineSampleLocationsStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineSampleLocationsStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._sampleLocationsInfo=new VkSampleLocationsInfoEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this.sType=1000143002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.sampleLocationsEnable&&(this.sampleLocationsEnable=e.sampleLocationsEnable),void 0!==e.sampleLocationsInfo&&(this.sampleLocationsInfo=e.sampleLocationsInfo))}function VkPhysicalDeviceSampleLocationsPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceSampleLocationsPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSampleLocationsPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceSampleLocationsPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSampleLocationsPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceSampleLocationsPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSampleLocationsPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._maxSampleLocationGridSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}),this._sampleLocationCoordinateRange=[...Array(2)].fill(0),this.sType=1000143003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkMultisamplePropertiesEXT(e,t){if(new.target!==VkMultisamplePropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkMultisamplePropertiesEXT,STRUCT_CACHE_VkMultisamplePropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMultisamplePropertiesEXT,STRUCT_CACHE_VkMultisamplePropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMultisamplePropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._maxSampleLocationGridSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000143004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSamplerReductionModeCreateInfoEXT(e,t){if(new.target!==VkSamplerReductionModeCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSamplerReductionModeCreateInfoEXT,STRUCT_CACHE_VkSamplerReductionModeCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSamplerReductionModeCreateInfoEXT,STRUCT_CACHE_VkSamplerReductionModeCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSamplerReductionModeCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000130001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.reductionMode&&(this.reductionMode=e.reductionMode))}function VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000148e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.advancedBlendCoherentOperations&&(this.advancedBlendCoherentOperations=e.advancedBlendCoherentOperations))}function VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000148001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineColorBlendAdvancedStateCreateInfoEXT(e,t){if(new.target!==VkPipelineColorBlendAdvancedStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineColorBlendAdvancedStateCreateInfoEXT,STRUCT_CACHE_VkPipelineColorBlendAdvancedStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineColorBlendAdvancedStateCreateInfoEXT,STRUCT_CACHE_VkPipelineColorBlendAdvancedStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineColorBlendAdvancedStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000148002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcPremultiplied&&(this.srcPremultiplied=e.srcPremultiplied),void 0!==e.dstPremultiplied&&(this.dstPremultiplied=e.dstPremultiplied),void 0!==e.blendOverlap&&(this.blendOverlap=e.blendOverlap))}function VkPhysicalDeviceInlineUniformBlockFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceInlineUniformBlockFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceInlineUniformBlockFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceInlineUniformBlockFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceInlineUniformBlockFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceInlineUniformBlockFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceInlineUniformBlockFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000138e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.inlineUniformBlock&&(this.inlineUniformBlock=e.inlineUniformBlock),void 0!==e.descriptorBindingInlineUniformBlockUpdateAfterBind&&(this.descriptorBindingInlineUniformBlockUpdateAfterBind=e.descriptorBindingInlineUniformBlockUpdateAfterBind))}function VkPhysicalDeviceInlineUniformBlockPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceInlineUniformBlockPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceInlineUniformBlockPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceInlineUniformBlockPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceInlineUniformBlockPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceInlineUniformBlockPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceInlineUniformBlockPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000138001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkWriteDescriptorSetInlineUniformBlockEXT(e,t){if(new.target!==VkWriteDescriptorSetInlineUniformBlockEXT){if("string"==typeof e){let t=getStructFromStack(e,VkWriteDescriptorSetInlineUniformBlockEXT,STRUCT_CACHE_VkWriteDescriptorSetInlineUniformBlockEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkWriteDescriptorSetInlineUniformBlockEXT,STRUCT_CACHE_VkWriteDescriptorSetInlineUniformBlockEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkWriteDescriptorSetInlineUniformBlockEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pData=null,this.sType=1000138002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dataSize&&(this.dataSize=e.dataSize),void 0!==e.pData&&(this.pData=e.pData))}function VkDescriptorPoolInlineUniformBlockCreateInfoEXT(e,t){if(new.target!==VkDescriptorPoolInlineUniformBlockCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorPoolInlineUniformBlockCreateInfoEXT,STRUCT_CACHE_VkDescriptorPoolInlineUniformBlockCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorPoolInlineUniformBlockCreateInfoEXT,STRUCT_CACHE_VkDescriptorPoolInlineUniformBlockCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorPoolInlineUniformBlockCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000138003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.maxInlineUniformBlockBindings&&(this.maxInlineUniformBlockBindings=e.maxInlineUniformBlockBindings))}function VkPipelineCoverageModulationStateCreateInfoNV(e,t){if(new.target!==VkPipelineCoverageModulationStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCoverageModulationStateCreateInfoNV,STRUCT_CACHE_VkPipelineCoverageModulationStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCoverageModulationStateCreateInfoNV,STRUCT_CACHE_VkPipelineCoverageModulationStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCoverageModulationStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pCoverageModulationTable=null,this.sType=1000152e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.coverageModulationMode&&(this.coverageModulationMode=e.coverageModulationMode),void 0!==e.coverageModulationTableEnable&&(this.coverageModulationTableEnable=e.coverageModulationTableEnable),void 0!==e.coverageModulationTableCount&&(this.coverageModulationTableCount=e.coverageModulationTableCount),void 0!==e.pCoverageModulationTable&&(this.pCoverageModulationTable=e.pCoverageModulationTable))}function VkImageFormatListCreateInfoKHR(e,t){if(new.target!==VkImageFormatListCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkImageFormatListCreateInfoKHR,STRUCT_CACHE_VkImageFormatListCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageFormatListCreateInfoKHR,STRUCT_CACHE_VkImageFormatListCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageFormatListCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pViewFormats=null,this.sType=1000147e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.viewFormatCount&&(this.viewFormatCount=e.viewFormatCount),void 0!==e.pViewFormats&&(this.pViewFormats=e.pViewFormats))}function VkValidationCacheCreateInfoEXT(e,t){if(new.target!==VkValidationCacheCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkValidationCacheCreateInfoEXT,STRUCT_CACHE_VkValidationCacheCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkValidationCacheCreateInfoEXT,STRUCT_CACHE_VkValidationCacheCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkValidationCacheCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pInitialData=null,this.sType=100016e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.initialDataSize&&(this.initialDataSize=e.initialDataSize),void 0!==e.pInitialData&&(this.pInitialData=e.pInitialData))}function VkShaderModuleValidationCacheCreateInfoEXT(e,t){if(new.target!==VkShaderModuleValidationCacheCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkShaderModuleValidationCacheCreateInfoEXT,STRUCT_CACHE_VkShaderModuleValidationCacheCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkShaderModuleValidationCacheCreateInfoEXT,STRUCT_CACHE_VkShaderModuleValidationCacheCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkShaderModuleValidationCacheCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._validationCache=null,this.sType=1000160001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.validationCache&&(this.validationCache=e.validationCache))}function VkPhysicalDeviceMaintenance3Properties(e,t){if(new.target!==VkPhysicalDeviceMaintenance3Properties){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMaintenance3Properties,STRUCT_CACHE_VkPhysicalDeviceMaintenance3Properties);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMaintenance3Properties,STRUCT_CACHE_VkPhysicalDeviceMaintenance3Properties);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMaintenance3Properties'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000168e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceMaintenance3PropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceMaintenance3PropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMaintenance3PropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceMaintenance3PropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMaintenance3PropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceMaintenance3PropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMaintenance3PropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000168e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDescriptorSetLayoutSupport(e,t){if(new.target!==VkDescriptorSetLayoutSupport){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetLayoutSupport,STRUCT_CACHE_VkDescriptorSetLayoutSupport);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetLayoutSupport,STRUCT_CACHE_VkDescriptorSetLayoutSupport);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetLayoutSupport'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000168001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDescriptorSetLayoutSupportKHR(e,t){if(new.target!==VkDescriptorSetLayoutSupportKHR){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetLayoutSupportKHR,STRUCT_CACHE_VkDescriptorSetLayoutSupportKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetLayoutSupportKHR,STRUCT_CACHE_VkDescriptorSetLayoutSupportKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetLayoutSupportKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000168001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceShaderDrawParametersFeatures(e,t){if(new.target!==VkPhysicalDeviceShaderDrawParametersFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderDrawParametersFeatures,STRUCT_CACHE_VkPhysicalDeviceShaderDrawParametersFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderDrawParametersFeatures,STRUCT_CACHE_VkPhysicalDeviceShaderDrawParametersFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderDrawParametersFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000063e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderDrawParameters&&(this.shaderDrawParameters=e.shaderDrawParameters))}function VkPhysicalDeviceShaderDrawParameterFeatures(e,t){if(new.target!==VkPhysicalDeviceShaderDrawParameterFeatures){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderDrawParameterFeatures,STRUCT_CACHE_VkPhysicalDeviceShaderDrawParameterFeatures);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderDrawParameterFeatures,STRUCT_CACHE_VkPhysicalDeviceShaderDrawParameterFeatures);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderDrawParameterFeatures'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000063e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderDrawParameters&&(this.shaderDrawParameters=e.shaderDrawParameters))}function VkPhysicalDeviceShaderFloat16Int8FeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceShaderFloat16Int8FeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderFloat16Int8FeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderFloat16Int8FeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderFloat16Int8FeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderFloat16Int8FeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderFloat16Int8FeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000082e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderFloat16&&(this.shaderFloat16=e.shaderFloat16),void 0!==e.shaderInt8&&(this.shaderInt8=e.shaderInt8))}function VkPhysicalDeviceFloat16Int8FeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceFloat16Int8FeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFloat16Int8FeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceFloat16Int8FeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFloat16Int8FeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceFloat16Int8FeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFloat16Int8FeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000082e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderFloat16&&(this.shaderFloat16=e.shaderFloat16),void 0!==e.shaderInt8&&(this.shaderInt8=e.shaderInt8))}function VkPhysicalDeviceFloatControlsPropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceFloatControlsPropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFloatControlsPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceFloatControlsPropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFloatControlsPropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceFloatControlsPropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFloatControlsPropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,88)):(this.memoryBuffer=new ArrayBuffer(88),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,88)),this._pNext=null,this.sType=1000197e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceHostQueryResetFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceHostQueryResetFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceHostQueryResetFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceHostQueryResetFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceHostQueryResetFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceHostQueryResetFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceHostQueryResetFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000261e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.hostQueryReset&&(this.hostQueryReset=e.hostQueryReset))}function VkShaderResourceUsageAMD(e,t){if(new.target!==VkShaderResourceUsageAMD){if("string"==typeof e){let t=getStructFromStack(e,VkShaderResourceUsageAMD,STRUCT_CACHE_VkShaderResourceUsageAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkShaderResourceUsageAMD,STRUCT_CACHE_VkShaderResourceUsageAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkShaderResourceUsageAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32))}function VkShaderStatisticsInfoAMD(e,t){if(new.target!==VkShaderStatisticsInfoAMD){if("string"==typeof e){let t=getStructFromStack(e,VkShaderStatisticsInfoAMD,STRUCT_CACHE_VkShaderStatisticsInfoAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkShaderStatisticsInfoAMD,STRUCT_CACHE_VkShaderStatisticsInfoAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkShaderStatisticsInfoAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._resourceUsage=new VkShaderResourceUsageAMD({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),this._computeWorkGroupSize=[...Array(3)].fill(0)}function VkDeviceQueueGlobalPriorityCreateInfoEXT(e,t){if(new.target!==VkDeviceQueueGlobalPriorityCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceQueueGlobalPriorityCreateInfoEXT,STRUCT_CACHE_VkDeviceQueueGlobalPriorityCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceQueueGlobalPriorityCreateInfoEXT,STRUCT_CACHE_VkDeviceQueueGlobalPriorityCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceQueueGlobalPriorityCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000174e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.globalPriority&&(this.globalPriority=e.globalPriority))}function VkDebugUtilsObjectNameInfoEXT(e,t){if(new.target!==VkDebugUtilsObjectNameInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugUtilsObjectNameInfoEXT,STRUCT_CACHE_VkDebugUtilsObjectNameInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugUtilsObjectNameInfoEXT,STRUCT_CACHE_VkDebugUtilsObjectNameInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugUtilsObjectNameInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pObjectName=null,this.sType=1000128e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectType&&(this.objectType=e.objectType),void 0!==e.objectHandle&&(this.objectHandle=e.objectHandle),void 0!==e.pObjectName&&(this.pObjectName=e.pObjectName))}function VkDebugUtilsObjectTagInfoEXT(e,t){if(new.target!==VkDebugUtilsObjectTagInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugUtilsObjectTagInfoEXT,STRUCT_CACHE_VkDebugUtilsObjectTagInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugUtilsObjectTagInfoEXT,STRUCT_CACHE_VkDebugUtilsObjectTagInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugUtilsObjectTagInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._pTag=null,this.sType=1000128001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectType&&(this.objectType=e.objectType),void 0!==e.objectHandle&&(this.objectHandle=e.objectHandle),void 0!==e.tagName&&(this.tagName=e.tagName),void 0!==e.tagSize&&(this.tagSize=e.tagSize),void 0!==e.pTag&&(this.pTag=e.pTag))}function VkDebugUtilsLabelEXT(e,t){if(new.target!==VkDebugUtilsLabelEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugUtilsLabelEXT,STRUCT_CACHE_VkDebugUtilsLabelEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugUtilsLabelEXT,STRUCT_CACHE_VkDebugUtilsLabelEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugUtilsLabelEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pLabelName=null,this._color=[...Array(4)].fill(0),this.sType=1000128002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pLabelName&&(this.pLabelName=e.pLabelName),void 0!==e.color&&(this.color=e.color))}function VkDebugUtilsMessengerCreateInfoEXT(e,t){if(new.target!==VkDebugUtilsMessengerCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugUtilsMessengerCreateInfoEXT,STRUCT_CACHE_VkDebugUtilsMessengerCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugUtilsMessengerCreateInfoEXT,STRUCT_CACHE_VkDebugUtilsMessengerCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugUtilsMessengerCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pfnUserCallback=null,this._pfnUserCallbackCallbackProxy=null,this._pUserData=null,this.sType=1000128004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.messageSeverity&&(this.messageSeverity=e.messageSeverity),void 0!==e.messageType&&(this.messageType=e.messageType),void 0!==e.pfnUserCallback&&(this.pfnUserCallback=e.pfnUserCallback),void 0!==e.pUserData&&(this.pUserData=e.pUserData))}function VkDebugUtilsMessengerCallbackDataEXT(e,t){if(new.target!==VkDebugUtilsMessengerCallbackDataEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDebugUtilsMessengerCallbackDataEXT,STRUCT_CACHE_VkDebugUtilsMessengerCallbackDataEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDebugUtilsMessengerCallbackDataEXT,STRUCT_CACHE_VkDebugUtilsMessengerCallbackDataEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDebugUtilsMessengerCallbackDataEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,96)):(this.memoryBuffer=new ArrayBuffer(96),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,96)),this._pNext=null,this._pMessageIdName=null,this._pMessage=null,this._pQueueLabels=null,this._pQueueLabelsNative=null,this._pCmdBufLabels=null,this._pCmdBufLabelsNative=null,this._pObjects=null,this._pObjectsNative=null,this.sType=1000128003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pMessageIdName&&(this.pMessageIdName=e.pMessageIdName),void 0!==e.messageIdNumber&&(this.messageIdNumber=e.messageIdNumber),void 0!==e.pMessage&&(this.pMessage=e.pMessage),void 0!==e.queueLabelCount&&(this.queueLabelCount=e.queueLabelCount),void 0!==e.pQueueLabels&&(this.pQueueLabels=e.pQueueLabels),void 0!==e.cmdBufLabelCount&&(this.cmdBufLabelCount=e.cmdBufLabelCount),void 0!==e.pCmdBufLabels&&(this.pCmdBufLabels=e.pCmdBufLabels),void 0!==e.objectCount&&(this.objectCount=e.objectCount),void 0!==e.pObjects&&(this.pObjects=e.pObjects))}function VkImportMemoryHostPointerInfoEXT(e,t){if(new.target!==VkImportMemoryHostPointerInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkImportMemoryHostPointerInfoEXT,STRUCT_CACHE_VkImportMemoryHostPointerInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImportMemoryHostPointerInfoEXT,STRUCT_CACHE_VkImportMemoryHostPointerInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImportMemoryHostPointerInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pHostPointer=null,this.sType=1000178e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.pHostPointer&&(this.pHostPointer=e.pHostPointer))}function VkMemoryHostPointerPropertiesEXT(e,t){if(new.target!==VkMemoryHostPointerPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryHostPointerPropertiesEXT,STRUCT_CACHE_VkMemoryHostPointerPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryHostPointerPropertiesEXT,STRUCT_CACHE_VkMemoryHostPointerPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryHostPointerPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000178001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceExternalMemoryHostPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceExternalMemoryHostPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExternalMemoryHostPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceExternalMemoryHostPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExternalMemoryHostPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceExternalMemoryHostPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExternalMemoryHostPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000178002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceConservativeRasterizationPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceConservativeRasterizationPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceConservativeRasterizationPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceConservativeRasterizationPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceConservativeRasterizationPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceConservativeRasterizationPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceConservativeRasterizationPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this.sType=1000101e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkCalibratedTimestampInfoEXT(e,t){if(new.target!==VkCalibratedTimestampInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkCalibratedTimestampInfoEXT,STRUCT_CACHE_VkCalibratedTimestampInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCalibratedTimestampInfoEXT,STRUCT_CACHE_VkCalibratedTimestampInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCalibratedTimestampInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000184e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.timeDomain&&(this.timeDomain=e.timeDomain))}function VkPhysicalDeviceShaderCorePropertiesAMD(e,t){if(new.target!==VkPhysicalDeviceShaderCorePropertiesAMD){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderCorePropertiesAMD,STRUCT_CACHE_VkPhysicalDeviceShaderCorePropertiesAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderCorePropertiesAMD,STRUCT_CACHE_VkPhysicalDeviceShaderCorePropertiesAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderCorePropertiesAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,72)):(this.memoryBuffer=new ArrayBuffer(72),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,72)),this._pNext=null,this.sType=1000185e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceShaderCoreProperties2AMD(e,t){if(new.target!==VkPhysicalDeviceShaderCoreProperties2AMD){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderCoreProperties2AMD,STRUCT_CACHE_VkPhysicalDeviceShaderCoreProperties2AMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderCoreProperties2AMD,STRUCT_CACHE_VkPhysicalDeviceShaderCoreProperties2AMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderCoreProperties2AMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000227e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineRasterizationConservativeStateCreateInfoEXT(e,t){if(new.target!==VkPipelineRasterizationConservativeStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRasterizationConservativeStateCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationConservativeStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRasterizationConservativeStateCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationConservativeStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRasterizationConservativeStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000101001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.conservativeRasterizationMode&&(this.conservativeRasterizationMode=e.conservativeRasterizationMode),void 0!==e.extraPrimitiveOverestimationSize&&(this.extraPrimitiveOverestimationSize=e.extraPrimitiveOverestimationSize))}function VkPhysicalDeviceDescriptorIndexingFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceDescriptorIndexingFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDescriptorIndexingFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceDescriptorIndexingFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDescriptorIndexingFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceDescriptorIndexingFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDescriptorIndexingFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,96)):(this.memoryBuffer=new ArrayBuffer(96),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,96)),this._pNext=null,this.sType=1000161001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderInputAttachmentArrayDynamicIndexing&&(this.shaderInputAttachmentArrayDynamicIndexing=e.shaderInputAttachmentArrayDynamicIndexing),void 0!==e.shaderUniformTexelBufferArrayDynamicIndexing&&(this.shaderUniformTexelBufferArrayDynamicIndexing=e.shaderUniformTexelBufferArrayDynamicIndexing),void 0!==e.shaderStorageTexelBufferArrayDynamicIndexing&&(this.shaderStorageTexelBufferArrayDynamicIndexing=e.shaderStorageTexelBufferArrayDynamicIndexing),void 0!==e.shaderUniformBufferArrayNonUniformIndexing&&(this.shaderUniformBufferArrayNonUniformIndexing=e.shaderUniformBufferArrayNonUniformIndexing),void 0!==e.shaderSampledImageArrayNonUniformIndexing&&(this.shaderSampledImageArrayNonUniformIndexing=e.shaderSampledImageArrayNonUniformIndexing),void 0!==e.shaderStorageBufferArrayNonUniformIndexing&&(this.shaderStorageBufferArrayNonUniformIndexing=e.shaderStorageBufferArrayNonUniformIndexing),void 0!==e.shaderStorageImageArrayNonUniformIndexing&&(this.shaderStorageImageArrayNonUniformIndexing=e.shaderStorageImageArrayNonUniformIndexing),void 0!==e.shaderInputAttachmentArrayNonUniformIndexing&&(this.shaderInputAttachmentArrayNonUniformIndexing=e.shaderInputAttachmentArrayNonUniformIndexing),void 0!==e.shaderUniformTexelBufferArrayNonUniformIndexing&&(this.shaderUniformTexelBufferArrayNonUniformIndexing=e.shaderUniformTexelBufferArrayNonUniformIndexing),void 0!==e.shaderStorageTexelBufferArrayNonUniformIndexing&&(this.shaderStorageTexelBufferArrayNonUniformIndexing=e.shaderStorageTexelBufferArrayNonUniformIndexing),void 0!==e.descriptorBindingUniformBufferUpdateAfterBind&&(this.descriptorBindingUniformBufferUpdateAfterBind=e.descriptorBindingUniformBufferUpdateAfterBind),void 0!==e.descriptorBindingSampledImageUpdateAfterBind&&(this.descriptorBindingSampledImageUpdateAfterBind=e.descriptorBindingSampledImageUpdateAfterBind),void 0!==e.descriptorBindingStorageImageUpdateAfterBind&&(this.descriptorBindingStorageImageUpdateAfterBind=e.descriptorBindingStorageImageUpdateAfterBind),void 0!==e.descriptorBindingStorageBufferUpdateAfterBind&&(this.descriptorBindingStorageBufferUpdateAfterBind=e.descriptorBindingStorageBufferUpdateAfterBind),void 0!==e.descriptorBindingUniformTexelBufferUpdateAfterBind&&(this.descriptorBindingUniformTexelBufferUpdateAfterBind=e.descriptorBindingUniformTexelBufferUpdateAfterBind),void 0!==e.descriptorBindingStorageTexelBufferUpdateAfterBind&&(this.descriptorBindingStorageTexelBufferUpdateAfterBind=e.descriptorBindingStorageTexelBufferUpdateAfterBind),void 0!==e.descriptorBindingUpdateUnusedWhilePending&&(this.descriptorBindingUpdateUnusedWhilePending=e.descriptorBindingUpdateUnusedWhilePending),void 0!==e.descriptorBindingPartiallyBound&&(this.descriptorBindingPartiallyBound=e.descriptorBindingPartiallyBound),void 0!==e.descriptorBindingVariableDescriptorCount&&(this.descriptorBindingVariableDescriptorCount=e.descriptorBindingVariableDescriptorCount),void 0!==e.runtimeDescriptorArray&&(this.runtimeDescriptorArray=e.runtimeDescriptorArray))}function VkPhysicalDeviceDescriptorIndexingPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceDescriptorIndexingPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDescriptorIndexingPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceDescriptorIndexingPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDescriptorIndexingPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceDescriptorIndexingPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDescriptorIndexingPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,112)):(this.memoryBuffer=new ArrayBuffer(112),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,112)),this._pNext=null,this.sType=1000161002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDescriptorSetLayoutBindingFlagsCreateInfoEXT(e,t){if(new.target!==VkDescriptorSetLayoutBindingFlagsCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetLayoutBindingFlagsCreateInfoEXT,STRUCT_CACHE_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetLayoutBindingFlagsCreateInfoEXT,STRUCT_CACHE_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetLayoutBindingFlagsCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pBindingFlags=null,this.sType=1000161e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.bindingCount&&(this.bindingCount=e.bindingCount),void 0!==e.pBindingFlags&&(this.pBindingFlags=e.pBindingFlags))}function VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(e,t){if(new.target!==VkDescriptorSetVariableDescriptorCountAllocateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetVariableDescriptorCountAllocateInfoEXT,STRUCT_CACHE_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetVariableDescriptorCountAllocateInfoEXT,STRUCT_CACHE_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetVariableDescriptorCountAllocateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDescriptorCounts=null,this.sType=1000161003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.descriptorSetCount&&(this.descriptorSetCount=e.descriptorSetCount),void 0!==e.pDescriptorCounts&&(this.pDescriptorCounts=e.pDescriptorCounts))}function VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(e,t){if(new.target!==VkDescriptorSetVariableDescriptorCountLayoutSupportEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDescriptorSetVariableDescriptorCountLayoutSupportEXT,STRUCT_CACHE_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDescriptorSetVariableDescriptorCountLayoutSupportEXT,STRUCT_CACHE_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDescriptorSetVariableDescriptorCountLayoutSupportEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000161004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkAttachmentDescription2KHR(e,t){if(new.target!==VkAttachmentDescription2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkAttachmentDescription2KHR,STRUCT_CACHE_VkAttachmentDescription2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAttachmentDescription2KHR,STRUCT_CACHE_VkAttachmentDescription2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAttachmentDescription2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this.sType=1000109e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.format&&(this.format=e.format),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.loadOp&&(this.loadOp=e.loadOp),void 0!==e.storeOp&&(this.storeOp=e.storeOp),void 0!==e.stencilLoadOp&&(this.stencilLoadOp=e.stencilLoadOp),void 0!==e.stencilStoreOp&&(this.stencilStoreOp=e.stencilStoreOp),void 0!==e.initialLayout&&(this.initialLayout=e.initialLayout),void 0!==e.finalLayout&&(this.finalLayout=e.finalLayout))}function VkAttachmentReference2KHR(e,t){if(new.target!==VkAttachmentReference2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkAttachmentReference2KHR,STRUCT_CACHE_VkAttachmentReference2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAttachmentReference2KHR,STRUCT_CACHE_VkAttachmentReference2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAttachmentReference2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000109001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachment&&(this.attachment=e.attachment),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask))}function VkSubpassDescription2KHR(e,t){if(new.target!==VkSubpassDescription2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassDescription2KHR,STRUCT_CACHE_VkSubpassDescription2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassDescription2KHR,STRUCT_CACHE_VkSubpassDescription2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassDescription2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,88)):(this.memoryBuffer=new ArrayBuffer(88),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,88)),this._pNext=null,this._pInputAttachments=null,this._pInputAttachmentsNative=null,this._pColorAttachments=null,this._pColorAttachmentsNative=null,this._pResolveAttachments=null,this._pResolveAttachmentsNative=null,this._pDepthStencilAttachment=null,this._pPreserveAttachments=null,this.sType=1000109002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.viewMask&&(this.viewMask=e.viewMask),void 0!==e.inputAttachmentCount&&(this.inputAttachmentCount=e.inputAttachmentCount),void 0!==e.pInputAttachments&&(this.pInputAttachments=e.pInputAttachments),void 0!==e.colorAttachmentCount&&(this.colorAttachmentCount=e.colorAttachmentCount),void 0!==e.pColorAttachments&&(this.pColorAttachments=e.pColorAttachments),void 0!==e.pResolveAttachments&&(this.pResolveAttachments=e.pResolveAttachments),void 0!==e.pDepthStencilAttachment&&(this.pDepthStencilAttachment=e.pDepthStencilAttachment),void 0!==e.preserveAttachmentCount&&(this.preserveAttachmentCount=e.preserveAttachmentCount),void 0!==e.pPreserveAttachments&&(this.pPreserveAttachments=e.pPreserveAttachments))}function VkSubpassDependency2KHR(e,t){if(new.target!==VkSubpassDependency2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassDependency2KHR,STRUCT_CACHE_VkSubpassDependency2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassDependency2KHR,STRUCT_CACHE_VkSubpassDependency2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassDependency2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this.sType=1000109003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcSubpass&&(this.srcSubpass=e.srcSubpass),void 0!==e.dstSubpass&&(this.dstSubpass=e.dstSubpass),void 0!==e.srcStageMask&&(this.srcStageMask=e.srcStageMask),void 0!==e.dstStageMask&&(this.dstStageMask=e.dstStageMask),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.dependencyFlags&&(this.dependencyFlags=e.dependencyFlags),void 0!==e.viewOffset&&(this.viewOffset=e.viewOffset))}function VkRenderPassCreateInfo2KHR(e,t){if(new.target!==VkRenderPassCreateInfo2KHR){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassCreateInfo2KHR,STRUCT_CACHE_VkRenderPassCreateInfo2KHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassCreateInfo2KHR,STRUCT_CACHE_VkRenderPassCreateInfo2KHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassCreateInfo2KHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,80)):(this.memoryBuffer=new ArrayBuffer(80),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,80)),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this._pSubpasses=null,this._pSubpassesNative=null,this._pDependencies=null,this._pDependenciesNative=null,this._pCorrelatedViewMasks=null,this.sType=1000109004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pSubpasses&&(this.pSubpasses=e.pSubpasses),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pDependencies&&(this.pDependencies=e.pDependencies),void 0!==e.correlatedViewMaskCount&&(this.correlatedViewMaskCount=e.correlatedViewMaskCount),void 0!==e.pCorrelatedViewMasks&&(this.pCorrelatedViewMasks=e.pCorrelatedViewMasks))}function VkSubpassBeginInfoKHR(e,t){if(new.target!==VkSubpassBeginInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassBeginInfoKHR,STRUCT_CACHE_VkSubpassBeginInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassBeginInfoKHR,STRUCT_CACHE_VkSubpassBeginInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassBeginInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000109005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.contents&&(this.contents=e.contents))}function VkSubpassEndInfoKHR(e,t){if(new.target!==VkSubpassEndInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassEndInfoKHR,STRUCT_CACHE_VkSubpassEndInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassEndInfoKHR,STRUCT_CACHE_VkSubpassEndInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassEndInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._pNext=null,this.sType=1000109006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceTimelineSemaphoreFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceTimelineSemaphoreFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTimelineSemaphoreFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceTimelineSemaphoreFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTimelineSemaphoreFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceTimelineSemaphoreFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTimelineSemaphoreFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000207e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.timelineSemaphore&&(this.timelineSemaphore=e.timelineSemaphore))}function VkPhysicalDeviceTimelineSemaphorePropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceTimelineSemaphorePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTimelineSemaphorePropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceTimelineSemaphorePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTimelineSemaphorePropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceTimelineSemaphorePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTimelineSemaphorePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000207001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSemaphoreTypeCreateInfoKHR(e,t){if(new.target!==VkSemaphoreTypeCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSemaphoreTypeCreateInfoKHR,STRUCT_CACHE_VkSemaphoreTypeCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSemaphoreTypeCreateInfoKHR,STRUCT_CACHE_VkSemaphoreTypeCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSemaphoreTypeCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000207002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphoreType&&(this.semaphoreType=e.semaphoreType),void 0!==e.initialValue&&(this.initialValue=e.initialValue))}function VkTimelineSemaphoreSubmitInfoKHR(e,t){if(new.target!==VkTimelineSemaphoreSubmitInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkTimelineSemaphoreSubmitInfoKHR,STRUCT_CACHE_VkTimelineSemaphoreSubmitInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkTimelineSemaphoreSubmitInfoKHR,STRUCT_CACHE_VkTimelineSemaphoreSubmitInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkTimelineSemaphoreSubmitInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pWaitSemaphoreValues=null,this._pSignalSemaphoreValues=null,this.sType=1000207003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreValueCount&&(this.waitSemaphoreValueCount=e.waitSemaphoreValueCount),void 0!==e.pWaitSemaphoreValues&&(this.pWaitSemaphoreValues=e.pWaitSemaphoreValues),void 0!==e.signalSemaphoreValueCount&&(this.signalSemaphoreValueCount=e.signalSemaphoreValueCount),void 0!==e.pSignalSemaphoreValues&&(this.pSignalSemaphoreValues=e.pSignalSemaphoreValues))}function VkSemaphoreWaitInfoKHR(e,t){if(new.target!==VkSemaphoreWaitInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSemaphoreWaitInfoKHR,STRUCT_CACHE_VkSemaphoreWaitInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSemaphoreWaitInfoKHR,STRUCT_CACHE_VkSemaphoreWaitInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSemaphoreWaitInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pSemaphores=null,this._pSemaphoresNative=null,this._pValues=null,this.sType=1000207004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.semaphoreCount&&(this.semaphoreCount=e.semaphoreCount),void 0!==e.pSemaphores&&(this.pSemaphores=e.pSemaphores),void 0!==e.pValues&&(this.pValues=e.pValues))}function VkSemaphoreSignalInfoKHR(e,t){if(new.target!==VkSemaphoreSignalInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSemaphoreSignalInfoKHR,STRUCT_CACHE_VkSemaphoreSignalInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSemaphoreSignalInfoKHR,STRUCT_CACHE_VkSemaphoreSignalInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSemaphoreSignalInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._semaphore=null,this.sType=1000207005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.value&&(this.value=e.value))}function VkVertexInputBindingDivisorDescriptionEXT(e,t){if(new.target!==VkVertexInputBindingDivisorDescriptionEXT){if("string"==typeof e){let t=getStructFromStack(e,VkVertexInputBindingDivisorDescriptionEXT,STRUCT_CACHE_VkVertexInputBindingDivisorDescriptionEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkVertexInputBindingDivisorDescriptionEXT,STRUCT_CACHE_VkVertexInputBindingDivisorDescriptionEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkVertexInputBindingDivisorDescriptionEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.binding&&(this.binding=e.binding),void 0!==e.divisor&&(this.divisor=e.divisor))}function VkPipelineVertexInputDivisorStateCreateInfoEXT(e,t){if(new.target!==VkPipelineVertexInputDivisorStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineVertexInputDivisorStateCreateInfoEXT,STRUCT_CACHE_VkPipelineVertexInputDivisorStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineVertexInputDivisorStateCreateInfoEXT,STRUCT_CACHE_VkPipelineVertexInputDivisorStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineVertexInputDivisorStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pVertexBindingDivisors=null,this._pVertexBindingDivisorsNative=null,this.sType=1000190001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vertexBindingDivisorCount&&(this.vertexBindingDivisorCount=e.vertexBindingDivisorCount),void 0!==e.pVertexBindingDivisors&&(this.pVertexBindingDivisors=e.pVertexBindingDivisors))}function VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100019e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDevicePCIBusInfoPropertiesEXT(e,t){if(new.target!==VkPhysicalDevicePCIBusInfoPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevicePCIBusInfoPropertiesEXT,STRUCT_CACHE_VkPhysicalDevicePCIBusInfoPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevicePCIBusInfoPropertiesEXT,STRUCT_CACHE_VkPhysicalDevicePCIBusInfoPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevicePCIBusInfoPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000212e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkCommandBufferInheritanceConditionalRenderingInfoEXT(e,t){if(new.target!==VkCommandBufferInheritanceConditionalRenderingInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkCommandBufferInheritanceConditionalRenderingInfoEXT,STRUCT_CACHE_VkCommandBufferInheritanceConditionalRenderingInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCommandBufferInheritanceConditionalRenderingInfoEXT,STRUCT_CACHE_VkCommandBufferInheritanceConditionalRenderingInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCommandBufferInheritanceConditionalRenderingInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000081e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conditionalRenderingEnable&&(this.conditionalRenderingEnable=e.conditionalRenderingEnable))}function VkPhysicalDevice8BitStorageFeaturesKHR(e,t){if(new.target!==VkPhysicalDevice8BitStorageFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevice8BitStorageFeaturesKHR,STRUCT_CACHE_VkPhysicalDevice8BitStorageFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevice8BitStorageFeaturesKHR,STRUCT_CACHE_VkPhysicalDevice8BitStorageFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevice8BitStorageFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000177e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.storageBuffer8BitAccess&&(this.storageBuffer8BitAccess=e.storageBuffer8BitAccess),void 0!==e.uniformAndStorageBuffer8BitAccess&&(this.uniformAndStorageBuffer8BitAccess=e.uniformAndStorageBuffer8BitAccess),void 0!==e.storagePushConstant8&&(this.storagePushConstant8=e.storagePushConstant8))}function VkPhysicalDeviceConditionalRenderingFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceConditionalRenderingFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceConditionalRenderingFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceConditionalRenderingFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceConditionalRenderingFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceConditionalRenderingFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceConditionalRenderingFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000081001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conditionalRendering&&(this.conditionalRendering=e.conditionalRendering),void 0!==e.inheritedConditionalRendering&&(this.inheritedConditionalRendering=e.inheritedConditionalRendering))}function VkPhysicalDeviceVulkanMemoryModelFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceVulkanMemoryModelFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVulkanMemoryModelFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVulkanMemoryModelFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVulkanMemoryModelFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000211e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vulkanMemoryModel&&(this.vulkanMemoryModel=e.vulkanMemoryModel),void 0!==e.vulkanMemoryModelDeviceScope&&(this.vulkanMemoryModelDeviceScope=e.vulkanMemoryModelDeviceScope),void 0!==e.vulkanMemoryModelAvailabilityVisibilityChains&&(this.vulkanMemoryModelAvailabilityVisibilityChains=e.vulkanMemoryModelAvailabilityVisibilityChains))}function VkPhysicalDeviceShaderAtomicInt64FeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceShaderAtomicInt64FeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderAtomicInt64FeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderAtomicInt64FeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderAtomicInt64FeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100018e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderBufferInt64Atomics&&(this.shaderBufferInt64Atomics=e.shaderBufferInt64Atomics),void 0!==e.shaderSharedInt64Atomics&&(this.shaderSharedInt64Atomics=e.shaderSharedInt64Atomics))}function VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000190002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vertexAttributeInstanceRateDivisor&&(this.vertexAttributeInstanceRateDivisor=e.vertexAttributeInstanceRateDivisor),void 0!==e.vertexAttributeInstanceRateZeroDivisor&&(this.vertexAttributeInstanceRateZeroDivisor=e.vertexAttributeInstanceRateZeroDivisor))}function VkQueueFamilyCheckpointPropertiesNV(e,t){if(new.target!==VkQueueFamilyCheckpointPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkQueueFamilyCheckpointPropertiesNV,STRUCT_CACHE_VkQueueFamilyCheckpointPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkQueueFamilyCheckpointPropertiesNV,STRUCT_CACHE_VkQueueFamilyCheckpointPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkQueueFamilyCheckpointPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000206001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkCheckpointDataNV(e,t){if(new.target!==VkCheckpointDataNV){if("string"==typeof e){let t=getStructFromStack(e,VkCheckpointDataNV,STRUCT_CACHE_VkCheckpointDataNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCheckpointDataNV,STRUCT_CACHE_VkCheckpointDataNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCheckpointDataNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pCheckpointMarker=null,this.sType=1000206e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pCheckpointMarker&&(this.pCheckpointMarker=e.pCheckpointMarker))}function VkPhysicalDeviceDepthStencilResolvePropertiesKHR(e,t){if(new.target!==VkPhysicalDeviceDepthStencilResolvePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDepthStencilResolvePropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceDepthStencilResolvePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDepthStencilResolvePropertiesKHR,STRUCT_CACHE_VkPhysicalDeviceDepthStencilResolvePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDepthStencilResolvePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000199e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSubpassDescriptionDepthStencilResolveKHR(e,t){if(new.target!==VkSubpassDescriptionDepthStencilResolveKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSubpassDescriptionDepthStencilResolveKHR,STRUCT_CACHE_VkSubpassDescriptionDepthStencilResolveKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSubpassDescriptionDepthStencilResolveKHR,STRUCT_CACHE_VkSubpassDescriptionDepthStencilResolveKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSubpassDescriptionDepthStencilResolveKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDepthStencilResolveAttachment=null,this.sType=1000199001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.depthResolveMode&&(this.depthResolveMode=e.depthResolveMode),void 0!==e.stencilResolveMode&&(this.stencilResolveMode=e.stencilResolveMode),void 0!==e.pDepthStencilResolveAttachment&&(this.pDepthStencilResolveAttachment=e.pDepthStencilResolveAttachment))}function VkImageViewASTCDecodeModeEXT(e,t){if(new.target!==VkImageViewASTCDecodeModeEXT){if("string"==typeof e){let t=getStructFromStack(e,VkImageViewASTCDecodeModeEXT,STRUCT_CACHE_VkImageViewASTCDecodeModeEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageViewASTCDecodeModeEXT,STRUCT_CACHE_VkImageViewASTCDecodeModeEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageViewASTCDecodeModeEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000067e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.decodeMode&&(this.decodeMode=e.decodeMode))}function VkPhysicalDeviceASTCDecodeFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceASTCDecodeFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceASTCDecodeFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceASTCDecodeFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceASTCDecodeFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceASTCDecodeFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceASTCDecodeFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000067001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.decodeModeSharedExponent&&(this.decodeModeSharedExponent=e.decodeModeSharedExponent))}function VkPhysicalDeviceTransformFeedbackFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceTransformFeedbackFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTransformFeedbackFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceTransformFeedbackFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTransformFeedbackFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceTransformFeedbackFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTransformFeedbackFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000028e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.transformFeedback&&(this.transformFeedback=e.transformFeedback),void 0!==e.geometryStreams&&(this.geometryStreams=e.geometryStreams))}function VkPhysicalDeviceTransformFeedbackPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceTransformFeedbackPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTransformFeedbackPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceTransformFeedbackPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTransformFeedbackPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceTransformFeedbackPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTransformFeedbackPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this.sType=1000028001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineRasterizationStateStreamCreateInfoEXT(e,t){if(new.target!==VkPipelineRasterizationStateStreamCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRasterizationStateStreamCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationStateStreamCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRasterizationStateStreamCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationStateStreamCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRasterizationStateStreamCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000028002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.rasterizationStream&&(this.rasterizationStream=e.rasterizationStream))}function VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000166e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.representativeFragmentTest&&(this.representativeFragmentTest=e.representativeFragmentTest))}function VkPipelineRepresentativeFragmentTestStateCreateInfoNV(e,t){if(new.target!==VkPipelineRepresentativeFragmentTestStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRepresentativeFragmentTestStateCreateInfoNV,STRUCT_CACHE_VkPipelineRepresentativeFragmentTestStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRepresentativeFragmentTestStateCreateInfoNV,STRUCT_CACHE_VkPipelineRepresentativeFragmentTestStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRepresentativeFragmentTestStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000166001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.representativeFragmentTestEnable&&(this.representativeFragmentTestEnable=e.representativeFragmentTestEnable))}function VkPhysicalDeviceExclusiveScissorFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceExclusiveScissorFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceExclusiveScissorFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceExclusiveScissorFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceExclusiveScissorFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceExclusiveScissorFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceExclusiveScissorFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000205002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.exclusiveScissor&&(this.exclusiveScissor=e.exclusiveScissor))}function VkPipelineViewportExclusiveScissorStateCreateInfoNV(e,t){if(new.target!==VkPipelineViewportExclusiveScissorStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineViewportExclusiveScissorStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportExclusiveScissorStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineViewportExclusiveScissorStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportExclusiveScissorStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineViewportExclusiveScissorStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pExclusiveScissors=null,this._pExclusiveScissorsNative=null,this.sType=1000205e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.exclusiveScissorCount&&(this.exclusiveScissorCount=e.exclusiveScissorCount),void 0!==e.pExclusiveScissors&&(this.pExclusiveScissors=e.pExclusiveScissors))}function VkPhysicalDeviceCornerSampledImageFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceCornerSampledImageFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceCornerSampledImageFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceCornerSampledImageFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceCornerSampledImageFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceCornerSampledImageFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceCornerSampledImageFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100005e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.cornerSampledImage&&(this.cornerSampledImage=e.cornerSampledImage))}function VkPhysicalDeviceComputeShaderDerivativesFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceComputeShaderDerivativesFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceComputeShaderDerivativesFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceComputeShaderDerivativesFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceComputeShaderDerivativesFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000201e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.computeDerivativeGroupQuads&&(this.computeDerivativeGroupQuads=e.computeDerivativeGroupQuads),void 0!==e.computeDerivativeGroupLinear&&(this.computeDerivativeGroupLinear=e.computeDerivativeGroupLinear))}function VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000203e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fragmentShaderBarycentric&&(this.fragmentShaderBarycentric=e.fragmentShaderBarycentric))}function VkPhysicalDeviceShaderImageFootprintFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceShaderImageFootprintFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderImageFootprintFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceShaderImageFootprintFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderImageFootprintFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceShaderImageFootprintFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderImageFootprintFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000204e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imageFootprint&&(this.imageFootprint=e.imageFootprint))}function VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100024e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dedicatedAllocationImageAliasing&&(this.dedicatedAllocationImageAliasing=e.dedicatedAllocationImageAliasing))}function VkShadingRatePaletteNV(e,t){if(new.target!==VkShadingRatePaletteNV){if("string"==typeof e){let t=getStructFromStack(e,VkShadingRatePaletteNV,STRUCT_CACHE_VkShadingRatePaletteNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkShadingRatePaletteNV,STRUCT_CACHE_VkShadingRatePaletteNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkShadingRatePaletteNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._pShadingRatePaletteEntries=null,"object"==typeof e&&(void 0!==e.shadingRatePaletteEntryCount&&(this.shadingRatePaletteEntryCount=e.shadingRatePaletteEntryCount),void 0!==e.pShadingRatePaletteEntries&&(this.pShadingRatePaletteEntries=e.pShadingRatePaletteEntries))}function VkPipelineViewportShadingRateImageStateCreateInfoNV(e,t){if(new.target!==VkPipelineViewportShadingRateImageStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineViewportShadingRateImageStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportShadingRateImageStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineViewportShadingRateImageStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportShadingRateImageStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineViewportShadingRateImageStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pShadingRatePalettes=null,this._pShadingRatePalettesNative=null,this.sType=1000164e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shadingRateImageEnable&&(this.shadingRateImageEnable=e.shadingRateImageEnable),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pShadingRatePalettes&&(this.pShadingRatePalettes=e.pShadingRatePalettes))}function VkPhysicalDeviceShadingRateImageFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceShadingRateImageFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShadingRateImageFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceShadingRateImageFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShadingRateImageFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceShadingRateImageFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShadingRateImageFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000164001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shadingRateImage&&(this.shadingRateImage=e.shadingRateImage),void 0!==e.shadingRateCoarseSampleOrder&&(this.shadingRateCoarseSampleOrder=e.shadingRateCoarseSampleOrder))}function VkPhysicalDeviceShadingRateImagePropertiesNV(e,t){if(new.target!==VkPhysicalDeviceShadingRateImagePropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShadingRateImagePropertiesNV,STRUCT_CACHE_VkPhysicalDeviceShadingRateImagePropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShadingRateImagePropertiesNV,STRUCT_CACHE_VkPhysicalDeviceShadingRateImagePropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShadingRateImagePropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._shadingRateTexelSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000164002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkCoarseSampleLocationNV(e,t){if(new.target!==VkCoarseSampleLocationNV){if("string"==typeof e){let t=getStructFromStack(e,VkCoarseSampleLocationNV,STRUCT_CACHE_VkCoarseSampleLocationNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCoarseSampleLocationNV,STRUCT_CACHE_VkCoarseSampleLocationNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCoarseSampleLocationNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,12)):(this.memoryBuffer=new ArrayBuffer(12),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,12)),"object"==typeof e&&(void 0!==e.pixelX&&(this.pixelX=e.pixelX),void 0!==e.pixelY&&(this.pixelY=e.pixelY),void 0!==e.sample&&(this.sample=e.sample))}function VkCoarseSampleOrderCustomNV(e,t){if(new.target!==VkCoarseSampleOrderCustomNV){if("string"==typeof e){let t=getStructFromStack(e,VkCoarseSampleOrderCustomNV,STRUCT_CACHE_VkCoarseSampleOrderCustomNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCoarseSampleOrderCustomNV,STRUCT_CACHE_VkCoarseSampleOrderCustomNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCoarseSampleOrderCustomNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pSampleLocations=null,this._pSampleLocationsNative=null,"object"==typeof e&&(void 0!==e.shadingRate&&(this.shadingRate=e.shadingRate),void 0!==e.sampleCount&&(this.sampleCount=e.sampleCount),void 0!==e.sampleLocationCount&&(this.sampleLocationCount=e.sampleLocationCount),void 0!==e.pSampleLocations&&(this.pSampleLocations=e.pSampleLocations))}function VkPipelineViewportCoarseSampleOrderStateCreateInfoNV(e,t){if(new.target!==VkPipelineViewportCoarseSampleOrderStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineViewportCoarseSampleOrderStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineViewportCoarseSampleOrderStateCreateInfoNV,STRUCT_CACHE_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineViewportCoarseSampleOrderStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pCustomSampleOrders=null,this._pCustomSampleOrdersNative=null,this.sType=1000164005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.sampleOrderType&&(this.sampleOrderType=e.sampleOrderType),void 0!==e.customSampleOrderCount&&(this.customSampleOrderCount=e.customSampleOrderCount),void 0!==e.pCustomSampleOrders&&(this.pCustomSampleOrders=e.pCustomSampleOrders))}function VkPhysicalDeviceMeshShaderFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceMeshShaderFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMeshShaderFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceMeshShaderFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMeshShaderFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceMeshShaderFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMeshShaderFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000202e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.taskShader&&(this.taskShader=e.taskShader),void 0!==e.meshShader&&(this.meshShader=e.meshShader))}function VkPhysicalDeviceMeshShaderPropertiesNV(e,t){if(new.target!==VkPhysicalDeviceMeshShaderPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMeshShaderPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceMeshShaderPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMeshShaderPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceMeshShaderPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMeshShaderPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,88)):(this.memoryBuffer=new ArrayBuffer(88),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,88)),this._pNext=null,this._maxTaskWorkGroupSize=[...Array(3)].fill(0),this._maxMeshWorkGroupSize=[...Array(3)].fill(0),this.sType=1000202001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDrawMeshTasksIndirectCommandNV(e,t){if(new.target!==VkDrawMeshTasksIndirectCommandNV){if("string"==typeof e){let t=getStructFromStack(e,VkDrawMeshTasksIndirectCommandNV,STRUCT_CACHE_VkDrawMeshTasksIndirectCommandNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDrawMeshTasksIndirectCommandNV,STRUCT_CACHE_VkDrawMeshTasksIndirectCommandNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDrawMeshTasksIndirectCommandNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),"object"==typeof e&&(void 0!==e.taskCount&&(this.taskCount=e.taskCount),void 0!==e.firstTask&&(this.firstTask=e.firstTask))}function VkRayTracingShaderGroupCreateInfoNV(e,t){if(new.target!==VkRayTracingShaderGroupCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkRayTracingShaderGroupCreateInfoNV,STRUCT_CACHE_VkRayTracingShaderGroupCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRayTracingShaderGroupCreateInfoNV,STRUCT_CACHE_VkRayTracingShaderGroupCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRayTracingShaderGroupCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000165011,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.generalShader&&(this.generalShader=e.generalShader),void 0!==e.closestHitShader&&(this.closestHitShader=e.closestHitShader),void 0!==e.anyHitShader&&(this.anyHitShader=e.anyHitShader),void 0!==e.intersectionShader&&(this.intersectionShader=e.intersectionShader))}function VkRayTracingPipelineCreateInfoNV(e,t){if(new.target!==VkRayTracingPipelineCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkRayTracingPipelineCreateInfoNV,STRUCT_CACHE_VkRayTracingPipelineCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRayTracingPipelineCreateInfoNV,STRUCT_CACHE_VkRayTracingPipelineCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRayTracingPipelineCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,80)):(this.memoryBuffer=new ArrayBuffer(80),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,80)),this._pNext=null,this._pStages=null,this._pStagesNative=null,this._pGroups=null,this._pGroupsNative=null,this._layout=null,this._basePipelineHandle=null,this.sType=1000165e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stageCount&&(this.stageCount=e.stageCount),void 0!==e.pStages&&(this.pStages=e.pStages),void 0!==e.groupCount&&(this.groupCount=e.groupCount),void 0!==e.pGroups&&(this.pGroups=e.pGroups),void 0!==e.maxRecursionDepth&&(this.maxRecursionDepth=e.maxRecursionDepth),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.basePipelineHandle&&(this.basePipelineHandle=e.basePipelineHandle),void 0!==e.basePipelineIndex&&(this.basePipelineIndex=e.basePipelineIndex))}function VkGeometryTrianglesNV(e,t){if(new.target!==VkGeometryTrianglesNV){if("string"==typeof e){let t=getStructFromStack(e,VkGeometryTrianglesNV,STRUCT_CACHE_VkGeometryTrianglesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkGeometryTrianglesNV,STRUCT_CACHE_VkGeometryTrianglesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkGeometryTrianglesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,96)):(this.memoryBuffer=new ArrayBuffer(96),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,96)),this._pNext=null,this._vertexData=null,this._indexData=null,this._transformData=null,this.sType=1000165004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vertexData&&(this.vertexData=e.vertexData),void 0!==e.vertexOffset&&(this.vertexOffset=e.vertexOffset),void 0!==e.vertexCount&&(this.vertexCount=e.vertexCount),void 0!==e.vertexStride&&(this.vertexStride=e.vertexStride),void 0!==e.vertexFormat&&(this.vertexFormat=e.vertexFormat),void 0!==e.indexData&&(this.indexData=e.indexData),void 0!==e.indexOffset&&(this.indexOffset=e.indexOffset),void 0!==e.indexCount&&(this.indexCount=e.indexCount),void 0!==e.indexType&&(this.indexType=e.indexType),void 0!==e.transformData&&(this.transformData=e.transformData),void 0!==e.transformOffset&&(this.transformOffset=e.transformOffset))}VkPhysicalDeviceExternalFenceInfoKHR.byteLength=24,VkPhysicalDeviceExternalFenceInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExternalFenceProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalFenceProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalFenceProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalFenceProperties.pNext' isn't allowed to be filled")}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(16,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(20,!0)}},externalFenceFeatures:{get(){return this.memoryView.getInt32(24,!0)}}}),VkExternalFenceProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000112001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkExternalFenceProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalFenceProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkExternalFenceProperties.createCopyFrom=function(e){let t=new VkExternalFenceProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t.externalFenceFeatures=e.externalFenceFeatures,t},VkExternalFenceProperties.byteLength=32,VkExternalFenceProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},exportFromImportedHandleTypes:{byteOffset:16,byteLength:4},compatibleHandleTypes:{byteOffset:20,byteLength:4},externalFenceFeatures:{byteOffset:24,byteLength:4}},Object.defineProperties(VkExternalFencePropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExternalFencePropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExternalFencePropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExternalFencePropertiesKHR.pNext' isn't allowed to be filled")}},exportFromImportedHandleTypes:{get(){return this.memoryView.getInt32(16,!0)}},compatibleHandleTypes:{get(){return this.memoryView.getInt32(20,!0)}},externalFenceFeatures:{get(){return this.memoryView.getInt32(24,!0)}}}),VkExternalFencePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000112001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkExternalFencePropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExternalFencePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkExternalFencePropertiesKHR.createCopyFrom=function(e){let t=new VkExternalFencePropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.exportFromImportedHandleTypes=e.exportFromImportedHandleTypes,t.compatibleHandleTypes=e.compatibleHandleTypes,t.externalFenceFeatures=e.externalFenceFeatures,t},VkExternalFencePropertiesKHR.byteLength=32,VkExternalFencePropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},exportFromImportedHandleTypes:{byteOffset:16,byteLength:4},compatibleHandleTypes:{byteOffset:20,byteLength:4},externalFenceFeatures:{byteOffset:24,byteLength:4}},Object.defineProperties(VkExportFenceCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportFenceCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportFenceCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportFenceCreateInfo.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportFenceCreateInfo.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportFenceCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000113e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportFenceCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportFenceCreateInfo.prototype.reflect=function(e){},VkExportFenceCreateInfo.createCopyFrom=function(e){let t=new VkExportFenceCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportFenceCreateInfo.byteLength=24,VkExportFenceCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkExportFenceCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportFenceCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportFenceCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportFenceCreateInfoKHR.pNext' isn't allowed to be filled")}},handleTypes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportFenceCreateInfoKHR.handleTypes"),this.memoryView.setInt32(16,e,!0)}}}),VkExportFenceCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000113e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleTypes&&(this.handleTypes=e.handleTypes))},VkExportFenceCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportFenceCreateInfoKHR.prototype.reflect=function(e){},VkExportFenceCreateInfoKHR.createCopyFrom=function(e){let t=new VkExportFenceCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleTypes=e.handleTypes,t},VkExportFenceCreateInfoKHR.byteLength=24,VkExportFenceCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImportFenceWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportFenceWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportFenceWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportFenceWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},fence:{get(){return this._fence},set(e){if(null!==e&&e.constructor===VkFence)this._fence=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImportFenceWin32HandleInfoKHR.fence': Expected 'VkFence' but got '"+typeToString(e)+"'");this._fence=null,this.memoryView.setBigInt64(16,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportFenceWin32HandleInfoKHR.flags"),this.memoryView.setInt32(24,e,!0)}},handleType:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportFenceWin32HandleInfoKHR.handleType"),this.memoryView.setInt32(28,e,!0)}},handle:{get(){return this.memoryView.getBigInt64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkImportFenceWin32HandleInfoKHR.handle"),this.memoryView.setBigInt64(32,BigInt(e),!0)}},name:{get(){if(null!==this._name){let e=textDecoder.decode(this._name);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(40,!0)!==BI0){let e=this.memoryView.getBigInt64(40,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._name=r,this.name}return null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(40,BI0,!0)):ASSERT_IS_STRING(e,"VkImportFenceWin32HandleInfoKHR.name")}}}),VkImportFenceWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._fence=null,this._name=null,this.sType=1000114e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.handle&&(this.handle=e.handle),void 0!==e.name&&(this.name=e.name))},VkImportFenceWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportFenceWin32HandleInfoKHR.prototype.reflect=function(e){},VkImportFenceWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkImportFenceWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.fence&&(t.fence=e.fence.constructor.createCopyFrom(e.fence)),t.flags=e.flags,t.handleType=e.handleType,t.handle=e.handle,t.name=e.name,t},VkImportFenceWin32HandleInfoKHR.byteLength=48,VkImportFenceWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fence:{byteOffset:16,byteLength:8},flags:{byteOffset:24,byteLength:4},handleType:{byteOffset:28,byteLength:4},handle:{byteOffset:32,byteLength:8},name:{byteOffset:40,byteLength:8}},Object.defineProperties(VkExportFenceWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkExportFenceWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkExportFenceWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkExportFenceWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},pAttributes:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkExportFenceWin32HandleInfoKHR.pAttributes"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},dwAccess:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkExportFenceWin32HandleInfoKHR.dwAccess"),this.memoryView.setUint32(24,e,!0)}},name:{get(){if(null!==this._name){let e=textDecoder.decode(this._name);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._name=r,this.name}return null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkExportFenceWin32HandleInfoKHR.name")}}}),VkExportFenceWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._name=null,this.sType=1000114001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pAttributes&&(this.pAttributes=e.pAttributes),void 0!==e.dwAccess&&(this.dwAccess=e.dwAccess),void 0!==e.name&&(this.name=e.name))},VkExportFenceWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkExportFenceWin32HandleInfoKHR.prototype.reflect=function(e){},VkExportFenceWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkExportFenceWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pAttributes=e.pAttributes,t.dwAccess=e.dwAccess,t.name=e.name,t},VkExportFenceWin32HandleInfoKHR.byteLength=40,VkExportFenceWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pAttributes:{byteOffset:16,byteLength:8},dwAccess:{byteOffset:24,byteLength:4},name:{byteOffset:32,byteLength:8}},Object.defineProperties(VkFenceGetWin32HandleInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFenceGetWin32HandleInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFenceGetWin32HandleInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkFenceGetWin32HandleInfoKHR.pNext' isn't allowed to be filled")}},fence:{get(){return this._fence},set(e){if(null!==e&&e.constructor===VkFence)this._fence=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkFenceGetWin32HandleInfoKHR.fence': Expected 'VkFence' but got '"+typeToString(e)+"'");this._fence=null,this.memoryView.setBigInt64(16,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFenceGetWin32HandleInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkFenceGetWin32HandleInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._fence=null,this.sType=1000114002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.handleType&&(this.handleType=e.handleType))},VkFenceGetWin32HandleInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFenceGetWin32HandleInfoKHR.prototype.reflect=function(e){},VkFenceGetWin32HandleInfoKHR.createCopyFrom=function(e){let t=new VkFenceGetWin32HandleInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.fence&&(t.fence=e.fence.constructor.createCopyFrom(e.fence)),t.handleType=e.handleType,t},VkFenceGetWin32HandleInfoKHR.byteLength=32,VkFenceGetWin32HandleInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fence:{byteOffset:16,byteLength:8},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkImportFenceFdInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportFenceFdInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportFenceFdInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportFenceFdInfoKHR.pNext' isn't allowed to be filled")}},fence:{get(){return this._fence},set(e){if(null!==e&&e.constructor===VkFence)this._fence=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImportFenceFdInfoKHR.fence': Expected 'VkFence' but got '"+typeToString(e)+"'");this._fence=null,this.memoryView.setBigInt64(16,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportFenceFdInfoKHR.flags"),this.memoryView.setInt32(24,e,!0)}},handleType:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportFenceFdInfoKHR.handleType"),this.memoryView.setInt32(28,e,!0)}},fd:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportFenceFdInfoKHR.fd"),this.memoryView.setInt32(32,e,!0)}}}),VkImportFenceFdInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._fence=null,this.sType=1000115e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.fd&&(this.fd=e.fd))},VkImportFenceFdInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportFenceFdInfoKHR.prototype.reflect=function(e){},VkImportFenceFdInfoKHR.createCopyFrom=function(e){let t=new VkImportFenceFdInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.fence&&(t.fence=e.fence.constructor.createCopyFrom(e.fence)),t.flags=e.flags,t.handleType=e.handleType,t.fd=e.fd,t},VkImportFenceFdInfoKHR.byteLength=40,VkImportFenceFdInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fence:{byteOffset:16,byteLength:8},flags:{byteOffset:24,byteLength:4},handleType:{byteOffset:28,byteLength:4},fd:{byteOffset:32,byteLength:4}},Object.defineProperties(VkFenceGetFdInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFenceGetFdInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFenceGetFdInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkFenceGetFdInfoKHR.pNext' isn't allowed to be filled")}},fence:{get(){return this._fence},set(e){if(null!==e&&e.constructor===VkFence)this._fence=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkFenceGetFdInfoKHR.fence': Expected 'VkFence' but got '"+typeToString(e)+"'");this._fence=null,this.memoryView.setBigInt64(16,BI0,!0)}}},handleType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFenceGetFdInfoKHR.handleType"),this.memoryView.setInt32(24,e,!0)}}}),VkFenceGetFdInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._fence=null,this.sType=1000115001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.handleType&&(this.handleType=e.handleType))},VkFenceGetFdInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFenceGetFdInfoKHR.prototype.reflect=function(e){},VkFenceGetFdInfoKHR.createCopyFrom=function(e){let t=new VkFenceGetFdInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.fence&&(t.fence=e.fence.constructor.createCopyFrom(e.fence)),t.handleType=e.handleType,t},VkFenceGetFdInfoKHR.byteLength=32,VkFenceGetFdInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fence:{byteOffset:16,byteLength:8},handleType:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceMultiviewFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMultiviewFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMultiviewFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMultiviewFeatures.pNext' isn't allowed to be filled")}},multiview:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},multiviewGeometryShader:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},multiviewTessellationShader:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDeviceMultiviewFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000053001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.multiview&&(this.multiview=e.multiview),void 0!==e.multiviewGeometryShader&&(this.multiviewGeometryShader=e.multiviewGeometryShader),void 0!==e.multiviewTessellationShader&&(this.multiviewTessellationShader=e.multiviewTessellationShader))},VkPhysicalDeviceMultiviewFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMultiviewFeatures.prototype.reflect=function(e){},VkPhysicalDeviceMultiviewFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceMultiviewFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.multiview=e.multiview,t.multiviewGeometryShader=e.multiviewGeometryShader,t.multiviewTessellationShader=e.multiviewTessellationShader,t},VkPhysicalDeviceMultiviewFeatures.byteLength=32,VkPhysicalDeviceMultiviewFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},multiview:{byteOffset:16,byteLength:4},multiviewGeometryShader:{byteOffset:20,byteLength:4},multiviewTessellationShader:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceMultiviewFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMultiviewFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMultiviewFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMultiviewFeaturesKHR.pNext' isn't allowed to be filled")}},multiview:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},multiviewGeometryShader:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},multiviewTessellationShader:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDeviceMultiviewFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000053001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.multiview&&(this.multiview=e.multiview),void 0!==e.multiviewGeometryShader&&(this.multiviewGeometryShader=e.multiviewGeometryShader),void 0!==e.multiviewTessellationShader&&(this.multiviewTessellationShader=e.multiviewTessellationShader))},VkPhysicalDeviceMultiviewFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMultiviewFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceMultiviewFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceMultiviewFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.multiview=e.multiview,t.multiviewGeometryShader=e.multiviewGeometryShader,t.multiviewTessellationShader=e.multiviewTessellationShader,t},VkPhysicalDeviceMultiviewFeaturesKHR.byteLength=32,VkPhysicalDeviceMultiviewFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},multiview:{byteOffset:16,byteLength:4},multiviewGeometryShader:{byteOffset:20,byteLength:4},multiviewTessellationShader:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceMultiviewProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMultiviewProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMultiviewProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMultiviewProperties.pNext' isn't allowed to be filled")}},maxMultiviewViewCount:{get(){return this.memoryView.getUint32(16,!0)}},maxMultiviewInstanceIndex:{get(){return this.memoryView.getUint32(20,!0)}}}),VkPhysicalDeviceMultiviewProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000053002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMultiviewProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMultiviewProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceMultiviewProperties.createCopyFrom=function(e){let t=new VkPhysicalDeviceMultiviewProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxMultiviewViewCount=e.maxMultiviewViewCount,t.maxMultiviewInstanceIndex=e.maxMultiviewInstanceIndex,t},VkPhysicalDeviceMultiviewProperties.byteLength=24,VkPhysicalDeviceMultiviewProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxMultiviewViewCount:{byteOffset:16,byteLength:4},maxMultiviewInstanceIndex:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceMultiviewPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMultiviewPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMultiviewPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMultiviewPropertiesKHR.pNext' isn't allowed to be filled")}},maxMultiviewViewCount:{get(){return this.memoryView.getUint32(16,!0)}},maxMultiviewInstanceIndex:{get(){return this.memoryView.getUint32(20,!0)}}}),VkPhysicalDeviceMultiviewPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000053002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMultiviewPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMultiviewPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceMultiviewPropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceMultiviewPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxMultiviewViewCount=e.maxMultiviewViewCount,t.maxMultiviewInstanceIndex=e.maxMultiviewInstanceIndex,t},VkPhysicalDeviceMultiviewPropertiesKHR.byteLength=24,VkPhysicalDeviceMultiviewPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxMultiviewViewCount:{byteOffset:16,byteLength:4},maxMultiviewInstanceIndex:{byteOffset:20,byteLength:4}},Object.defineProperties(VkRenderPassMultiviewCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassMultiviewCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassMultiviewCreateInfo.pNext' isn't allowed to be filled")}},subpassCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfo.subpassCount"),this.memoryView.setUint32(16,e,!0)}},pViewMasks:{get(){return this._pViewMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pViewMasks=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassMultiviewCreateInfo.pViewMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pViewMasks=null,this.memoryView.setBigInt64(24,BI0,!0)}}},dependencyCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfo.dependencyCount"),this.memoryView.setUint32(32,e,!0)}},pViewOffsets:{get(){return this._pViewOffsets},set(e){if(null!==e&&e.constructor===Int32Array)this._pViewOffsets=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassMultiviewCreateInfo.pViewOffsets': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pViewOffsets=null,this.memoryView.setBigInt64(40,BI0,!0)}}},correlationMaskCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfo.correlationMaskCount"),this.memoryView.setUint32(48,e,!0)}},pCorrelationMasks:{get(){return this._pCorrelationMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pCorrelationMasks=e,this.memoryView.setBigInt64(56,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassMultiviewCreateInfo.pCorrelationMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pCorrelationMasks=null,this.memoryView.setBigInt64(56,BI0,!0)}}}}),VkRenderPassMultiviewCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pViewMasks=null,this._pViewOffsets=null,this._pCorrelationMasks=null,this.sType=1000053e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pViewMasks&&(this.pViewMasks=e.pViewMasks),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pViewOffsets&&(this.pViewOffsets=e.pViewOffsets),void 0!==e.correlationMaskCount&&(this.correlationMaskCount=e.correlationMaskCount),void 0!==e.pCorrelationMasks&&(this.pCorrelationMasks=e.pCorrelationMasks))},VkRenderPassMultiviewCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkRenderPassMultiviewCreateInfo.prototype.reflect=function(e){},VkRenderPassMultiviewCreateInfo.createCopyFrom=function(e){let t=new VkRenderPassMultiviewCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.subpassCount=e.subpassCount,null!==e.pViewMasks&&(t.pViewMasks=new Uint32Array(e.pViewMasks)),t.dependencyCount=e.dependencyCount,null!==e.pViewOffsets&&(t.pViewOffsets=new Int32Array(e.pViewOffsets)),t.correlationMaskCount=e.correlationMaskCount,null!==e.pCorrelationMasks&&(t.pCorrelationMasks=new Uint32Array(e.pCorrelationMasks)),t},VkRenderPassMultiviewCreateInfo.byteLength=64,VkRenderPassMultiviewCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},subpassCount:{byteOffset:16,byteLength:4},pViewMasks:{byteOffset:24,byteLength:8},dependencyCount:{byteOffset:32,byteLength:4},pViewOffsets:{byteOffset:40,byteLength:8},correlationMaskCount:{byteOffset:48,byteLength:4},pCorrelationMasks:{byteOffset:56,byteLength:8}},Object.defineProperties(VkRenderPassMultiviewCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassMultiviewCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassMultiviewCreateInfoKHR.pNext' isn't allowed to be filled")}},subpassCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfoKHR.subpassCount"),this.memoryView.setUint32(16,e,!0)}},pViewMasks:{get(){return this._pViewMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pViewMasks=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassMultiviewCreateInfoKHR.pViewMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pViewMasks=null,this.memoryView.setBigInt64(24,BI0,!0)}}},dependencyCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfoKHR.dependencyCount"),this.memoryView.setUint32(32,e,!0)}},pViewOffsets:{get(){return this._pViewOffsets},set(e){if(null!==e&&e.constructor===Int32Array)this._pViewOffsets=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassMultiviewCreateInfoKHR.pViewOffsets': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pViewOffsets=null,this.memoryView.setBigInt64(40,BI0,!0)}}},correlationMaskCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassMultiviewCreateInfoKHR.correlationMaskCount"),this.memoryView.setUint32(48,e,!0)}},pCorrelationMasks:{get(){return this._pCorrelationMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pCorrelationMasks=e,this.memoryView.setBigInt64(56,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassMultiviewCreateInfoKHR.pCorrelationMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pCorrelationMasks=null,this.memoryView.setBigInt64(56,BI0,!0)}}}}),VkRenderPassMultiviewCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pViewMasks=null,this._pViewOffsets=null,this._pCorrelationMasks=null,this.sType=1000053e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pViewMasks&&(this.pViewMasks=e.pViewMasks),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pViewOffsets&&(this.pViewOffsets=e.pViewOffsets),void 0!==e.correlationMaskCount&&(this.correlationMaskCount=e.correlationMaskCount),void 0!==e.pCorrelationMasks&&(this.pCorrelationMasks=e.pCorrelationMasks))},VkRenderPassMultiviewCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkRenderPassMultiviewCreateInfoKHR.prototype.reflect=function(e){},VkRenderPassMultiviewCreateInfoKHR.createCopyFrom=function(e){let t=new VkRenderPassMultiviewCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.subpassCount=e.subpassCount,null!==e.pViewMasks&&(t.pViewMasks=new Uint32Array(e.pViewMasks)),t.dependencyCount=e.dependencyCount,null!==e.pViewOffsets&&(t.pViewOffsets=new Int32Array(e.pViewOffsets)),t.correlationMaskCount=e.correlationMaskCount,null!==e.pCorrelationMasks&&(t.pCorrelationMasks=new Uint32Array(e.pCorrelationMasks)),t},VkRenderPassMultiviewCreateInfoKHR.byteLength=64,VkRenderPassMultiviewCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},subpassCount:{byteOffset:16,byteLength:4},pViewMasks:{byteOffset:24,byteLength:8},dependencyCount:{byteOffset:32,byteLength:4},pViewOffsets:{byteOffset:40,byteLength:8},correlationMaskCount:{byteOffset:48,byteLength:4},pCorrelationMasks:{byteOffset:56,byteLength:8}},Object.defineProperties(VkSurfaceCapabilities2EXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceCapabilities2EXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceCapabilities2EXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSurfaceCapabilities2EXT.pNext' isn't allowed to be filled")}},minImageCount:{get(){return this.memoryView.getUint32(16,!0)}},maxImageCount:{get(){return this.memoryView.getUint32(20,!0)}},currentExtent:{get(){return this._currentExtent}},minImageExtent:{get(){return this._minImageExtent}},maxImageExtent:{get(){return this._maxImageExtent}},maxImageArrayLayers:{get(){return this.memoryView.getUint32(48,!0)}},supportedTransforms:{get(){return this.memoryView.getInt32(52,!0)}},currentTransform:{get(){return this.memoryView.getInt32(56,!0)}},supportedCompositeAlpha:{get(){return this.memoryView.getInt32(60,!0)}},supportedUsageFlags:{get(){return this.memoryView.getInt32(64,!0)}},supportedSurfaceCounters:{get(){return this.memoryView.getInt32(68,!0)}}}),VkSurfaceCapabilities2EXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,null!==this._currentExtent&&(this.memoryBuffer!==this._currentExtent.memoryBuffer?this._currentExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._currentExtent.reset()),null!==this._minImageExtent&&(this.memoryBuffer!==this._minImageExtent.memoryBuffer?this._minImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}):this._minImageExtent.reset()),null!==this._maxImageExtent&&(this.memoryBuffer!==this._maxImageExtent.memoryBuffer?this._maxImageExtent=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}):this._maxImageExtent.reset()),this.sType=100009e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSurfaceCapabilities2EXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceCapabilities2EXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(72)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,72),0)},VkSurfaceCapabilities2EXT.createCopyFrom=function(e){let t=new VkSurfaceCapabilities2EXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.minImageCount=e.minImageCount,t.maxImageCount=e.maxImageCount,null!==e.currentExtent&&(t.currentExtent=e.currentExtent.constructor.createCopyFrom(e.currentExtent)),null!==e.minImageExtent&&(t.minImageExtent=e.minImageExtent.constructor.createCopyFrom(e.minImageExtent)),null!==e.maxImageExtent&&(t.maxImageExtent=e.maxImageExtent.constructor.createCopyFrom(e.maxImageExtent)),t.maxImageArrayLayers=e.maxImageArrayLayers,t.supportedTransforms=e.supportedTransforms,t.currentTransform=e.currentTransform,t.supportedCompositeAlpha=e.supportedCompositeAlpha,t.supportedUsageFlags=e.supportedUsageFlags,t.supportedSurfaceCounters=e.supportedSurfaceCounters,t},VkSurfaceCapabilities2EXT.byteLength=72,VkSurfaceCapabilities2EXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},minImageCount:{byteOffset:16,byteLength:4},maxImageCount:{byteOffset:20,byteLength:4},currentExtent:{byteOffset:24,byteLength:8},minImageExtent:{byteOffset:32,byteLength:8},maxImageExtent:{byteOffset:40,byteLength:8},maxImageArrayLayers:{byteOffset:48,byteLength:4},supportedTransforms:{byteOffset:52,byteLength:4},currentTransform:{byteOffset:56,byteLength:4},supportedCompositeAlpha:{byteOffset:60,byteLength:4},supportedUsageFlags:{byteOffset:64,byteLength:4},supportedSurfaceCounters:{byteOffset:68,byteLength:4}},Object.defineProperties(VkDisplayPowerInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayPowerInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayPowerInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayPowerInfoEXT.pNext' isn't allowed to be filled")}},powerState:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayPowerInfoEXT.powerState"),!$VAL_R_VkDisplayPowerStateEXT(e))throw new RangeError("Invalid value for 'VkDisplayPowerInfoEXT.powerState': '"+e+"' is not a value of 'VkDisplayPowerStateEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkDisplayPowerInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000091e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.powerState&&(this.powerState=e.powerState))},VkDisplayPowerInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayPowerInfoEXT.prototype.reflect=function(e){},VkDisplayPowerInfoEXT.createCopyFrom=function(e){let t=new VkDisplayPowerInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.powerState=e.powerState,t},VkDisplayPowerInfoEXT.byteLength=24,VkDisplayPowerInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},powerState:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDeviceEventInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceEventInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceEventInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceEventInfoEXT.pNext' isn't allowed to be filled")}},deviceEvent:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceEventInfoEXT.deviceEvent"),!$VAL_R_VkDeviceEventTypeEXT(e))throw new RangeError("Invalid value for 'VkDeviceEventInfoEXT.deviceEvent': '"+e+"' is not a value of 'VkDeviceEventTypeEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkDeviceEventInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000091001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceEvent&&(this.deviceEvent=e.deviceEvent))},VkDeviceEventInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceEventInfoEXT.prototype.reflect=function(e){},VkDeviceEventInfoEXT.createCopyFrom=function(e){let t=new VkDeviceEventInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceEvent=e.deviceEvent,t},VkDeviceEventInfoEXT.byteLength=24,VkDeviceEventInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceEvent:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDisplayEventInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayEventInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayEventInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayEventInfoEXT.pNext' isn't allowed to be filled")}},displayEvent:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayEventInfoEXT.displayEvent"),!$VAL_R_VkDisplayEventTypeEXT(e))throw new RangeError("Invalid value for 'VkDisplayEventInfoEXT.displayEvent': '"+e+"' is not a value of 'VkDisplayEventTypeEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkDisplayEventInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000091002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.displayEvent&&(this.displayEvent=e.displayEvent))},VkDisplayEventInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayEventInfoEXT.prototype.reflect=function(e){},VkDisplayEventInfoEXT.createCopyFrom=function(e){let t=new VkDisplayEventInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.displayEvent=e.displayEvent,t},VkDisplayEventInfoEXT.byteLength=24,VkDisplayEventInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},displayEvent:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSwapchainCounterCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainCounterCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSwapchainCounterCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSwapchainCounterCreateInfoEXT.pNext' isn't allowed to be filled")}},surfaceCounters:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSwapchainCounterCreateInfoEXT.surfaceCounters"),this.memoryView.setInt32(16,e,!0)}}}),VkSwapchainCounterCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000091003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.surfaceCounters&&(this.surfaceCounters=e.surfaceCounters))},VkSwapchainCounterCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSwapchainCounterCreateInfoEXT.prototype.reflect=function(e){},VkSwapchainCounterCreateInfoEXT.createCopyFrom=function(e){let t=new VkSwapchainCounterCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.surfaceCounters=e.surfaceCounters,t},VkSwapchainCounterCreateInfoEXT.byteLength=24,VkSwapchainCounterCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},surfaceCounters:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceGroupProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceGroupProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceGroupProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceGroupProperties.pNext' isn't allowed to be filled")}},physicalDeviceCount:{get(){return this.memoryView.getUint32(16,!0)}},physicalDevices:{get(){return this._physicalDevices}},subsetAllocation:{get(){return 0!==this.memoryView.getUint32(280,!0)}}}),VkPhysicalDeviceGroupProperties.prototype.reset=function(e){if(null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,288)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x120"],0),this._pNext=null,null!==this._physicalDevices){let e=this._physicalDevices;for(let t=0;te.physicalDevices[r].constructor.createCopyFrom(e.physicalDevices[r]))),t.subsetAllocation=e.subsetAllocation,t},VkPhysicalDeviceGroupProperties.byteLength=288,VkPhysicalDeviceGroupProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},physicalDeviceCount:{byteOffset:16,byteLength:4},physicalDevices:{byteOffset:24,byteLength:256},subsetAllocation:{byteOffset:280,byteLength:4}},Object.defineProperties(VkPhysicalDeviceGroupPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceGroupPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceGroupPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceGroupPropertiesKHR.pNext' isn't allowed to be filled")}},physicalDeviceCount:{get(){return this.memoryView.getUint32(16,!0)}},physicalDevices:{get(){return this._physicalDevices}},subsetAllocation:{get(){return 0!==this.memoryView.getUint32(280,!0)}}}),VkPhysicalDeviceGroupPropertiesKHR.prototype.reset=function(e){if(null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,288)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x120"],0),this._pNext=null,null!==this._physicalDevices){let e=this._physicalDevices;for(let t=0;te.physicalDevices[r].constructor.createCopyFrom(e.physicalDevices[r]))),t.subsetAllocation=e.subsetAllocation,t},VkPhysicalDeviceGroupPropertiesKHR.byteLength=288,VkPhysicalDeviceGroupPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},physicalDeviceCount:{byteOffset:16,byteLength:4},physicalDevices:{byteOffset:24,byteLength:256},subsetAllocation:{byteOffset:280,byteLength:4}},Object.defineProperties(VkMemoryAllocateFlagsInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryAllocateFlagsInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryAllocateFlagsInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryAllocateFlagsInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryAllocateFlagsInfo.flags"),this.memoryView.setInt32(16,e,!0)}},deviceMask:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryAllocateFlagsInfo.deviceMask"),this.memoryView.setUint32(20,e,!0)}}}),VkMemoryAllocateFlagsInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100006e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))},VkMemoryAllocateFlagsInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryAllocateFlagsInfo.prototype.reflect=function(e){},VkMemoryAllocateFlagsInfo.createCopyFrom=function(e){let t=new VkMemoryAllocateFlagsInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.deviceMask=e.deviceMask,t},VkMemoryAllocateFlagsInfo.byteLength=24,VkMemoryAllocateFlagsInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},deviceMask:{byteOffset:20,byteLength:4}},Object.defineProperties(VkMemoryAllocateFlagsInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryAllocateFlagsInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryAllocateFlagsInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryAllocateFlagsInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryAllocateFlagsInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},deviceMask:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryAllocateFlagsInfoKHR.deviceMask"),this.memoryView.setUint32(20,e,!0)}}}),VkMemoryAllocateFlagsInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100006e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))},VkMemoryAllocateFlagsInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryAllocateFlagsInfoKHR.prototype.reflect=function(e){},VkMemoryAllocateFlagsInfoKHR.createCopyFrom=function(e){let t=new VkMemoryAllocateFlagsInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.deviceMask=e.deviceMask,t},VkMemoryAllocateFlagsInfoKHR.byteLength=24,VkMemoryAllocateFlagsInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},deviceMask:{byteOffset:20,byteLength:4}},Object.defineProperties(VkBindBufferMemoryInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindBufferMemoryInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindBufferMemoryInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfo.pNext'");switch(t){case 1000060013:break;default:throw new TypeError("Invalid type for 'VkBindBufferMemoryInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfo.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(16,BI0,!0)}}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfo.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(24,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBindBufferMemoryInfo.memoryOffset"),this.memoryView.setBigUint64(32,BigInt(e),!0)}}}),VkBindBufferMemoryInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._buffer=null,this._memory=null,this.sType=1000157e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))},VkBindBufferMemoryInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindBufferMemoryInfo.prototype.reflect=function(e){},VkBindBufferMemoryInfo.createCopyFrom=function(e){let t=new VkBindBufferMemoryInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t},VkBindBufferMemoryInfo.byteLength=40,VkBindBufferMemoryInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},buffer:{byteOffset:16,byteLength:8},memory:{byteOffset:24,byteLength:8},memoryOffset:{byteOffset:32,byteLength:8}},Object.defineProperties(VkBindBufferMemoryInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindBufferMemoryInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindBufferMemoryInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfoKHR.pNext'");switch(t){case 1000060013:break;default:throw new TypeError("Invalid type for 'VkBindBufferMemoryInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfoKHR.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(16,BI0,!0)}}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryInfoKHR.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(24,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBindBufferMemoryInfoKHR.memoryOffset"),this.memoryView.setBigUint64(32,BigInt(e),!0)}}}),VkBindBufferMemoryInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._buffer=null,this._memory=null,this.sType=1000157e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))},VkBindBufferMemoryInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindBufferMemoryInfoKHR.prototype.reflect=function(e){},VkBindBufferMemoryInfoKHR.createCopyFrom=function(e){let t=new VkBindBufferMemoryInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t},VkBindBufferMemoryInfoKHR.byteLength=40,VkBindBufferMemoryInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},buffer:{byteOffset:16,byteLength:8},memory:{byteOffset:24,byteLength:8},memoryOffset:{byteOffset:32,byteLength:8}},Object.defineProperties(VkBindBufferMemoryDeviceGroupInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindBufferMemoryDeviceGroupInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindBufferMemoryDeviceGroupInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindBufferMemoryDeviceGroupInfo.pNext' isn't allowed to be filled")}},deviceIndexCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindBufferMemoryDeviceGroupInfo.deviceIndexCount"),this.memoryView.setUint32(16,e,!0)}},pDeviceIndices:{get(){return this._pDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDeviceIndices=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryDeviceGroupInfo.pDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDeviceIndices=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkBindBufferMemoryDeviceGroupInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDeviceIndices=null,this.sType=1000060013,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices))},VkBindBufferMemoryDeviceGroupInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindBufferMemoryDeviceGroupInfo.prototype.reflect=function(e){},VkBindBufferMemoryDeviceGroupInfo.createCopyFrom=function(e){let t=new VkBindBufferMemoryDeviceGroupInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceIndexCount=e.deviceIndexCount,null!==e.pDeviceIndices&&(t.pDeviceIndices=new Uint32Array(e.pDeviceIndices)),t},VkBindBufferMemoryDeviceGroupInfo.byteLength=32,VkBindBufferMemoryDeviceGroupInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceIndexCount:{byteOffset:16,byteLength:4},pDeviceIndices:{byteOffset:24,byteLength:8}},Object.defineProperties(VkBindBufferMemoryDeviceGroupInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindBufferMemoryDeviceGroupInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindBufferMemoryDeviceGroupInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindBufferMemoryDeviceGroupInfoKHR.pNext' isn't allowed to be filled")}},deviceIndexCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindBufferMemoryDeviceGroupInfoKHR.deviceIndexCount"),this.memoryView.setUint32(16,e,!0)}},pDeviceIndices:{get(){return this._pDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDeviceIndices=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindBufferMemoryDeviceGroupInfoKHR.pDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDeviceIndices=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkBindBufferMemoryDeviceGroupInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDeviceIndices=null,this.sType=1000060013,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices))},VkBindBufferMemoryDeviceGroupInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindBufferMemoryDeviceGroupInfoKHR.prototype.reflect=function(e){},VkBindBufferMemoryDeviceGroupInfoKHR.createCopyFrom=function(e){let t=new VkBindBufferMemoryDeviceGroupInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceIndexCount=e.deviceIndexCount,null!==e.pDeviceIndices&&(t.pDeviceIndices=new Uint32Array(e.pDeviceIndices)),t},VkBindBufferMemoryDeviceGroupInfoKHR.byteLength=32,VkBindBufferMemoryDeviceGroupInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceIndexCount:{byteOffset:16,byteLength:4},pDeviceIndices:{byteOffset:24,byteLength:8}},Object.defineProperties(VkBindImageMemoryInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImageMemoryInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImageMemoryInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkBindImageMemoryInfo.pNext'");switch(t){case 1000060014:case 1000060009:case 1000156002:break;default:throw new TypeError("Invalid type for 'VkBindImageMemoryInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryInfo.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryInfo.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(24,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBindImageMemoryInfo.memoryOffset"),this.memoryView.setBigUint64(32,BigInt(e),!0)}}}),VkBindImageMemoryInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._image=null,this._memory=null,this.sType=1000157001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))},VkBindImageMemoryInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindImageMemoryInfo.prototype.reflect=function(e){},VkBindImageMemoryInfo.createCopyFrom=function(e){let t=new VkBindImageMemoryInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t},VkBindImageMemoryInfo.byteLength=40,VkBindImageMemoryInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8},memory:{byteOffset:24,byteLength:8},memoryOffset:{byteOffset:32,byteLength:8}},Object.defineProperties(VkBindImageMemoryInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImageMemoryInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImageMemoryInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkBindImageMemoryInfoKHR.pNext'");switch(t){case 1000060014:case 1000060009:case 1000156002:break;default:throw new TypeError("Invalid type for 'VkBindImageMemoryInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryInfoKHR.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryInfoKHR.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(24,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBindImageMemoryInfoKHR.memoryOffset"),this.memoryView.setBigUint64(32,BigInt(e),!0)}}}),VkBindImageMemoryInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._image=null,this._memory=null,this.sType=1000157001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset))},VkBindImageMemoryInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindImageMemoryInfoKHR.prototype.reflect=function(e){},VkBindImageMemoryInfoKHR.createCopyFrom=function(e){let t=new VkBindImageMemoryInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t},VkBindImageMemoryInfoKHR.byteLength=40,VkBindImageMemoryInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8},memory:{byteOffset:24,byteLength:8},memoryOffset:{byteOffset:32,byteLength:8}},Object.defineProperties(VkBindImageMemoryDeviceGroupInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImageMemoryDeviceGroupInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImageMemoryDeviceGroupInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindImageMemoryDeviceGroupInfo.pNext' isn't allowed to be filled")}},deviceIndexCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImageMemoryDeviceGroupInfo.deviceIndexCount"),this.memoryView.setUint32(16,e,!0)}},pDeviceIndices:{get(){return this._pDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDeviceIndices=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryDeviceGroupInfo.pDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDeviceIndices=null,this.memoryView.setBigInt64(24,BI0,!0)}}},splitInstanceBindRegionCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImageMemoryDeviceGroupInfo.splitInstanceBindRegionCount"),this.memoryView.setUint32(32,e,!0)}},pSplitInstanceBindRegions:{get(){if(null===this._pSplitInstanceBindRegions&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.splitInstanceBindRegionCount,VkRect2D);return this._pSplitInstanceBindRegions=e,this.pSplitInstanceBindRegions}return this._pSplitInstanceBindRegions},set(e){if(null!==e&&e.constructor===Array)this._pSplitInstanceBindRegions=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryDeviceGroupInfo.pSplitInstanceBindRegions': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pSplitInstanceBindRegions=null}}}}),VkBindImageMemoryDeviceGroupInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pDeviceIndices=null,this._pSplitInstanceBindRegions=null,this._pSplitInstanceBindRegionsNative=null,this.sType=1000060014,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices),void 0!==e.splitInstanceBindRegionCount&&(this.splitInstanceBindRegionCount=e.splitInstanceBindRegionCount),void 0!==e.pSplitInstanceBindRegions&&(this.pSplitInstanceBindRegions=e.pSplitInstanceBindRegions))},VkBindImageMemoryDeviceGroupInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pSplitInstanceBindRegions){let e=this._pSplitInstanceBindRegions;if(e.length!==this.splitInstanceBindRegionCount)throw new RangeError("Invalid array length, expected length of 'splitInstanceBindRegionCount' for 'VkBindImageMemoryDeviceGroupInfo.pSplitInstanceBindRegions'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSplitInstanceBindRegionsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pSplitInstanceBindRegionsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkBindImageMemoryDeviceGroupInfo.prototype.reflect=function(e){},VkBindImageMemoryDeviceGroupInfo.createCopyFrom=function(e){let t=new VkBindImageMemoryDeviceGroupInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceIndexCount=e.deviceIndexCount,null!==e.pDeviceIndices&&(t.pDeviceIndices=new Uint32Array(e.pDeviceIndices)),t.splitInstanceBindRegionCount=e.splitInstanceBindRegionCount,null!==e.pSplitInstanceBindRegions&&(t.pSplitInstanceBindRegions=[...Array(e.pSplitInstanceBindRegions.length)].map((t,r)=>e.pSplitInstanceBindRegions[r].constructor.createCopyFrom(e.pSplitInstanceBindRegions[r]))),t},VkBindImageMemoryDeviceGroupInfo.byteLength=48,VkBindImageMemoryDeviceGroupInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceIndexCount:{byteOffset:16,byteLength:4},pDeviceIndices:{byteOffset:24,byteLength:8},splitInstanceBindRegionCount:{byteOffset:32,byteLength:4},pSplitInstanceBindRegions:{byteOffset:40,byteLength:8}},Object.defineProperties(VkBindImageMemoryDeviceGroupInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImageMemoryDeviceGroupInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImageMemoryDeviceGroupInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindImageMemoryDeviceGroupInfoKHR.pNext' isn't allowed to be filled")}},deviceIndexCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImageMemoryDeviceGroupInfoKHR.deviceIndexCount"),this.memoryView.setUint32(16,e,!0)}},pDeviceIndices:{get(){return this._pDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDeviceIndices=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryDeviceGroupInfoKHR.pDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDeviceIndices=null,this.memoryView.setBigInt64(24,BI0,!0)}}},splitInstanceBindRegionCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImageMemoryDeviceGroupInfoKHR.splitInstanceBindRegionCount"),this.memoryView.setUint32(32,e,!0)}},pSplitInstanceBindRegions:{get(){if(null===this._pSplitInstanceBindRegions&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.splitInstanceBindRegionCount,VkRect2D);return this._pSplitInstanceBindRegions=e,this.pSplitInstanceBindRegions}return this._pSplitInstanceBindRegions},set(e){if(null!==e&&e.constructor===Array)this._pSplitInstanceBindRegions=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemoryDeviceGroupInfoKHR.pSplitInstanceBindRegions': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pSplitInstanceBindRegions=null}}}}),VkBindImageMemoryDeviceGroupInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pDeviceIndices=null,this._pSplitInstanceBindRegions=null,this._pSplitInstanceBindRegionsNative=null,this.sType=1000060014,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices),void 0!==e.splitInstanceBindRegionCount&&(this.splitInstanceBindRegionCount=e.splitInstanceBindRegionCount),void 0!==e.pSplitInstanceBindRegions&&(this.pSplitInstanceBindRegions=e.pSplitInstanceBindRegions))},VkBindImageMemoryDeviceGroupInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pSplitInstanceBindRegions){let e=this._pSplitInstanceBindRegions;if(e.length!==this.splitInstanceBindRegionCount)throw new RangeError("Invalid array length, expected length of 'splitInstanceBindRegionCount' for 'VkBindImageMemoryDeviceGroupInfoKHR.pSplitInstanceBindRegions'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSplitInstanceBindRegionsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pSplitInstanceBindRegionsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkBindImageMemoryDeviceGroupInfoKHR.prototype.reflect=function(e){},VkBindImageMemoryDeviceGroupInfoKHR.createCopyFrom=function(e){let t=new VkBindImageMemoryDeviceGroupInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceIndexCount=e.deviceIndexCount,null!==e.pDeviceIndices&&(t.pDeviceIndices=new Uint32Array(e.pDeviceIndices)),t.splitInstanceBindRegionCount=e.splitInstanceBindRegionCount,null!==e.pSplitInstanceBindRegions&&(t.pSplitInstanceBindRegions=[...Array(e.pSplitInstanceBindRegions.length)].map((t,r)=>e.pSplitInstanceBindRegions[r].constructor.createCopyFrom(e.pSplitInstanceBindRegions[r]))),t},VkBindImageMemoryDeviceGroupInfoKHR.byteLength=48,VkBindImageMemoryDeviceGroupInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceIndexCount:{byteOffset:16,byteLength:4},pDeviceIndices:{byteOffset:24,byteLength:8},splitInstanceBindRegionCount:{byteOffset:32,byteLength:4},pSplitInstanceBindRegions:{byteOffset:40,byteLength:8}},Object.defineProperties(VkDeviceGroupRenderPassBeginInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupRenderPassBeginInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupRenderPassBeginInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupRenderPassBeginInfo.pNext' isn't allowed to be filled")}},deviceMask:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupRenderPassBeginInfo.deviceMask"),this.memoryView.setUint32(16,e,!0)}},deviceRenderAreaCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupRenderPassBeginInfo.deviceRenderAreaCount"),this.memoryView.setUint32(20,e,!0)}},pDeviceRenderAreas:{get(){if(null===this._pDeviceRenderAreas&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.deviceRenderAreaCount,VkRect2D);return this._pDeviceRenderAreas=e,this.pDeviceRenderAreas}return this._pDeviceRenderAreas},set(e){if(null!==e&&e.constructor===Array)this._pDeviceRenderAreas=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupRenderPassBeginInfo.pDeviceRenderAreas': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pDeviceRenderAreas=null}}}}),VkDeviceGroupRenderPassBeginInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDeviceRenderAreas=null,this._pDeviceRenderAreasNative=null,this.sType=1000060003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask),void 0!==e.deviceRenderAreaCount&&(this.deviceRenderAreaCount=e.deviceRenderAreaCount),void 0!==e.pDeviceRenderAreas&&(this.pDeviceRenderAreas=e.pDeviceRenderAreas))},VkDeviceGroupRenderPassBeginInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pDeviceRenderAreas){let e=this._pDeviceRenderAreas;if(e.length!==this.deviceRenderAreaCount)throw new RangeError("Invalid array length, expected length of 'deviceRenderAreaCount' for 'VkDeviceGroupRenderPassBeginInfo.pDeviceRenderAreas'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDeviceRenderAreasNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pDeviceRenderAreasNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDeviceGroupRenderPassBeginInfo.prototype.reflect=function(e){},VkDeviceGroupRenderPassBeginInfo.createCopyFrom=function(e){let t=new VkDeviceGroupRenderPassBeginInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceMask=e.deviceMask,t.deviceRenderAreaCount=e.deviceRenderAreaCount,null!==e.pDeviceRenderAreas&&(t.pDeviceRenderAreas=[...Array(e.pDeviceRenderAreas.length)].map((t,r)=>e.pDeviceRenderAreas[r].constructor.createCopyFrom(e.pDeviceRenderAreas[r]))),t},VkDeviceGroupRenderPassBeginInfo.byteLength=32,VkDeviceGroupRenderPassBeginInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceMask:{byteOffset:16,byteLength:4},deviceRenderAreaCount:{byteOffset:20,byteLength:4},pDeviceRenderAreas:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDeviceGroupRenderPassBeginInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupRenderPassBeginInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupRenderPassBeginInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupRenderPassBeginInfoKHR.pNext' isn't allowed to be filled")}},deviceMask:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupRenderPassBeginInfoKHR.deviceMask"),this.memoryView.setUint32(16,e,!0)}},deviceRenderAreaCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupRenderPassBeginInfoKHR.deviceRenderAreaCount"),this.memoryView.setUint32(20,e,!0)}},pDeviceRenderAreas:{get(){if(null===this._pDeviceRenderAreas&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.deviceRenderAreaCount,VkRect2D);return this._pDeviceRenderAreas=e,this.pDeviceRenderAreas}return this._pDeviceRenderAreas},set(e){if(null!==e&&e.constructor===Array)this._pDeviceRenderAreas=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupRenderPassBeginInfoKHR.pDeviceRenderAreas': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pDeviceRenderAreas=null}}}}),VkDeviceGroupRenderPassBeginInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDeviceRenderAreas=null,this._pDeviceRenderAreasNative=null,this.sType=1000060003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask),void 0!==e.deviceRenderAreaCount&&(this.deviceRenderAreaCount=e.deviceRenderAreaCount),void 0!==e.pDeviceRenderAreas&&(this.pDeviceRenderAreas=e.pDeviceRenderAreas))},VkDeviceGroupRenderPassBeginInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pDeviceRenderAreas){let e=this._pDeviceRenderAreas;if(e.length!==this.deviceRenderAreaCount)throw new RangeError("Invalid array length, expected length of 'deviceRenderAreaCount' for 'VkDeviceGroupRenderPassBeginInfoKHR.pDeviceRenderAreas'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDeviceRenderAreasNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pDeviceRenderAreasNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDeviceGroupRenderPassBeginInfoKHR.prototype.reflect=function(e){},VkDeviceGroupRenderPassBeginInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupRenderPassBeginInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceMask=e.deviceMask,t.deviceRenderAreaCount=e.deviceRenderAreaCount,null!==e.pDeviceRenderAreas&&(t.pDeviceRenderAreas=[...Array(e.pDeviceRenderAreas.length)].map((t,r)=>e.pDeviceRenderAreas[r].constructor.createCopyFrom(e.pDeviceRenderAreas[r]))),t},VkDeviceGroupRenderPassBeginInfoKHR.byteLength=32,VkDeviceGroupRenderPassBeginInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceMask:{byteOffset:16,byteLength:4},deviceRenderAreaCount:{byteOffset:20,byteLength:4},pDeviceRenderAreas:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDeviceGroupCommandBufferBeginInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupCommandBufferBeginInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupCommandBufferBeginInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupCommandBufferBeginInfo.pNext' isn't allowed to be filled")}},deviceMask:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupCommandBufferBeginInfo.deviceMask"),this.memoryView.setUint32(16,e,!0)}}}),VkDeviceGroupCommandBufferBeginInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000060004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))},VkDeviceGroupCommandBufferBeginInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupCommandBufferBeginInfo.prototype.reflect=function(e){},VkDeviceGroupCommandBufferBeginInfo.createCopyFrom=function(e){let t=new VkDeviceGroupCommandBufferBeginInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceMask=e.deviceMask,t},VkDeviceGroupCommandBufferBeginInfo.byteLength=24,VkDeviceGroupCommandBufferBeginInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceMask:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDeviceGroupCommandBufferBeginInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupCommandBufferBeginInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupCommandBufferBeginInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupCommandBufferBeginInfoKHR.pNext' isn't allowed to be filled")}},deviceMask:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupCommandBufferBeginInfoKHR.deviceMask"),this.memoryView.setUint32(16,e,!0)}}}),VkDeviceGroupCommandBufferBeginInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000060004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))},VkDeviceGroupCommandBufferBeginInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupCommandBufferBeginInfoKHR.prototype.reflect=function(e){},VkDeviceGroupCommandBufferBeginInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupCommandBufferBeginInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceMask=e.deviceMask,t},VkDeviceGroupCommandBufferBeginInfoKHR.byteLength=24,VkDeviceGroupCommandBufferBeginInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceMask:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDeviceGroupSubmitInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupSubmitInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupSubmitInfo.pNext' isn't allowed to be filled")}},waitSemaphoreCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfo.waitSemaphoreCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphoreDeviceIndices:{get(){return this._pWaitSemaphoreDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pWaitSemaphoreDeviceIndices=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupSubmitInfo.pWaitSemaphoreDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pWaitSemaphoreDeviceIndices=null,this.memoryView.setBigInt64(24,BI0,!0)}}},commandBufferCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfo.commandBufferCount"),this.memoryView.setUint32(32,e,!0)}},pCommandBufferDeviceMasks:{get(){return this._pCommandBufferDeviceMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pCommandBufferDeviceMasks=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupSubmitInfo.pCommandBufferDeviceMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pCommandBufferDeviceMasks=null,this.memoryView.setBigInt64(40,BI0,!0)}}},signalSemaphoreCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfo.signalSemaphoreCount"),this.memoryView.setUint32(48,e,!0)}},pSignalSemaphoreDeviceIndices:{get(){return this._pSignalSemaphoreDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pSignalSemaphoreDeviceIndices=e,this.memoryView.setBigInt64(56,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupSubmitInfo.pSignalSemaphoreDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pSignalSemaphoreDeviceIndices=null,this.memoryView.setBigInt64(56,BI0,!0)}}}}),VkDeviceGroupSubmitInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pWaitSemaphoreDeviceIndices=null,this._pCommandBufferDeviceMasks=null,this._pSignalSemaphoreDeviceIndices=null,this.sType=1000060005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphoreDeviceIndices&&(this.pWaitSemaphoreDeviceIndices=e.pWaitSemaphoreDeviceIndices),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount),void 0!==e.pCommandBufferDeviceMasks&&(this.pCommandBufferDeviceMasks=e.pCommandBufferDeviceMasks),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphoreDeviceIndices&&(this.pSignalSemaphoreDeviceIndices=e.pSignalSemaphoreDeviceIndices))},VkDeviceGroupSubmitInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupSubmitInfo.prototype.reflect=function(e){},VkDeviceGroupSubmitInfo.createCopyFrom=function(e){let t=new VkDeviceGroupSubmitInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreCount=e.waitSemaphoreCount,null!==e.pWaitSemaphoreDeviceIndices&&(t.pWaitSemaphoreDeviceIndices=new Uint32Array(e.pWaitSemaphoreDeviceIndices)),t.commandBufferCount=e.commandBufferCount,null!==e.pCommandBufferDeviceMasks&&(t.pCommandBufferDeviceMasks=new Uint32Array(e.pCommandBufferDeviceMasks)),t.signalSemaphoreCount=e.signalSemaphoreCount,null!==e.pSignalSemaphoreDeviceIndices&&(t.pSignalSemaphoreDeviceIndices=new Uint32Array(e.pSignalSemaphoreDeviceIndices)),t},VkDeviceGroupSubmitInfo.byteLength=64,VkDeviceGroupSubmitInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreCount:{byteOffset:16,byteLength:4},pWaitSemaphoreDeviceIndices:{byteOffset:24,byteLength:8},commandBufferCount:{byteOffset:32,byteLength:4},pCommandBufferDeviceMasks:{byteOffset:40,byteLength:8},signalSemaphoreCount:{byteOffset:48,byteLength:4},pSignalSemaphoreDeviceIndices:{byteOffset:56,byteLength:8}},Object.defineProperties(VkDeviceGroupSubmitInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupSubmitInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupSubmitInfoKHR.pNext' isn't allowed to be filled")}},waitSemaphoreCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfoKHR.waitSemaphoreCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphoreDeviceIndices:{get(){return this._pWaitSemaphoreDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pWaitSemaphoreDeviceIndices=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupSubmitInfoKHR.pWaitSemaphoreDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pWaitSemaphoreDeviceIndices=null,this.memoryView.setBigInt64(24,BI0,!0)}}},commandBufferCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfoKHR.commandBufferCount"),this.memoryView.setUint32(32,e,!0)}},pCommandBufferDeviceMasks:{get(){return this._pCommandBufferDeviceMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pCommandBufferDeviceMasks=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupSubmitInfoKHR.pCommandBufferDeviceMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pCommandBufferDeviceMasks=null,this.memoryView.setBigInt64(40,BI0,!0)}}},signalSemaphoreCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSubmitInfoKHR.signalSemaphoreCount"),this.memoryView.setUint32(48,e,!0)}},pSignalSemaphoreDeviceIndices:{get(){return this._pSignalSemaphoreDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pSignalSemaphoreDeviceIndices=e,this.memoryView.setBigInt64(56,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupSubmitInfoKHR.pSignalSemaphoreDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pSignalSemaphoreDeviceIndices=null,this.memoryView.setBigInt64(56,BI0,!0)}}}}),VkDeviceGroupSubmitInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this._pWaitSemaphoreDeviceIndices=null,this._pCommandBufferDeviceMasks=null,this._pSignalSemaphoreDeviceIndices=null,this.sType=1000060005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreCount&&(this.waitSemaphoreCount=e.waitSemaphoreCount),void 0!==e.pWaitSemaphoreDeviceIndices&&(this.pWaitSemaphoreDeviceIndices=e.pWaitSemaphoreDeviceIndices),void 0!==e.commandBufferCount&&(this.commandBufferCount=e.commandBufferCount),void 0!==e.pCommandBufferDeviceMasks&&(this.pCommandBufferDeviceMasks=e.pCommandBufferDeviceMasks),void 0!==e.signalSemaphoreCount&&(this.signalSemaphoreCount=e.signalSemaphoreCount),void 0!==e.pSignalSemaphoreDeviceIndices&&(this.pSignalSemaphoreDeviceIndices=e.pSignalSemaphoreDeviceIndices))},VkDeviceGroupSubmitInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupSubmitInfoKHR.prototype.reflect=function(e){},VkDeviceGroupSubmitInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupSubmitInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreCount=e.waitSemaphoreCount,null!==e.pWaitSemaphoreDeviceIndices&&(t.pWaitSemaphoreDeviceIndices=new Uint32Array(e.pWaitSemaphoreDeviceIndices)),t.commandBufferCount=e.commandBufferCount,null!==e.pCommandBufferDeviceMasks&&(t.pCommandBufferDeviceMasks=new Uint32Array(e.pCommandBufferDeviceMasks)),t.signalSemaphoreCount=e.signalSemaphoreCount,null!==e.pSignalSemaphoreDeviceIndices&&(t.pSignalSemaphoreDeviceIndices=new Uint32Array(e.pSignalSemaphoreDeviceIndices)),t},VkDeviceGroupSubmitInfoKHR.byteLength=64,VkDeviceGroupSubmitInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreCount:{byteOffset:16,byteLength:4},pWaitSemaphoreDeviceIndices:{byteOffset:24,byteLength:8},commandBufferCount:{byteOffset:32,byteLength:4},pCommandBufferDeviceMasks:{byteOffset:40,byteLength:8},signalSemaphoreCount:{byteOffset:48,byteLength:4},pSignalSemaphoreDeviceIndices:{byteOffset:56,byteLength:8}},Object.defineProperties(VkDeviceGroupBindSparseInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupBindSparseInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupBindSparseInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupBindSparseInfo.pNext' isn't allowed to be filled")}},resourceDeviceIndex:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupBindSparseInfo.resourceDeviceIndex"),this.memoryView.setUint32(16,e,!0)}},memoryDeviceIndex:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupBindSparseInfo.memoryDeviceIndex"),this.memoryView.setUint32(20,e,!0)}}}),VkDeviceGroupBindSparseInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000060006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.resourceDeviceIndex&&(this.resourceDeviceIndex=e.resourceDeviceIndex),void 0!==e.memoryDeviceIndex&&(this.memoryDeviceIndex=e.memoryDeviceIndex))},VkDeviceGroupBindSparseInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupBindSparseInfo.prototype.reflect=function(e){},VkDeviceGroupBindSparseInfo.createCopyFrom=function(e){let t=new VkDeviceGroupBindSparseInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.resourceDeviceIndex=e.resourceDeviceIndex,t.memoryDeviceIndex=e.memoryDeviceIndex,t},VkDeviceGroupBindSparseInfo.byteLength=24,VkDeviceGroupBindSparseInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},resourceDeviceIndex:{byteOffset:16,byteLength:4},memoryDeviceIndex:{byteOffset:20,byteLength:4}},Object.defineProperties(VkDeviceGroupBindSparseInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupBindSparseInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupBindSparseInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupBindSparseInfoKHR.pNext' isn't allowed to be filled")}},resourceDeviceIndex:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupBindSparseInfoKHR.resourceDeviceIndex"),this.memoryView.setUint32(16,e,!0)}},memoryDeviceIndex:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupBindSparseInfoKHR.memoryDeviceIndex"),this.memoryView.setUint32(20,e,!0)}}}),VkDeviceGroupBindSparseInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000060006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.resourceDeviceIndex&&(this.resourceDeviceIndex=e.resourceDeviceIndex),void 0!==e.memoryDeviceIndex&&(this.memoryDeviceIndex=e.memoryDeviceIndex))},VkDeviceGroupBindSparseInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupBindSparseInfoKHR.prototype.reflect=function(e){},VkDeviceGroupBindSparseInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupBindSparseInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.resourceDeviceIndex=e.resourceDeviceIndex,t.memoryDeviceIndex=e.memoryDeviceIndex,t},VkDeviceGroupBindSparseInfoKHR.byteLength=24,VkDeviceGroupBindSparseInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},resourceDeviceIndex:{byteOffset:16,byteLength:4},memoryDeviceIndex:{byteOffset:20,byteLength:4}},Object.defineProperties(VkDeviceGroupPresentCapabilitiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupPresentCapabilitiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupPresentCapabilitiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupPresentCapabilitiesKHR.pNext' isn't allowed to be filled")}},presentMask:{get(){return[this.memoryView.getUint32(16,!0),this.memoryView.getUint32(20,!0),this.memoryView.getUint32(24,!0),this.memoryView.getUint32(28,!0),this.memoryView.getUint32(32,!0),this.memoryView.getUint32(36,!0),this.memoryView.getUint32(40,!0),this.memoryView.getUint32(44,!0),this.memoryView.getUint32(48,!0),this.memoryView.getUint32(52,!0),this.memoryView.getUint32(56,!0),this.memoryView.getUint32(60,!0),this.memoryView.getUint32(64,!0),this.memoryView.getUint32(68,!0),this.memoryView.getUint32(72,!0),this.memoryView.getUint32(76,!0),this.memoryView.getUint32(80,!0),this.memoryView.getUint32(84,!0),this.memoryView.getUint32(88,!0),this.memoryView.getUint32(92,!0),this.memoryView.getUint32(96,!0),this.memoryView.getUint32(100,!0),this.memoryView.getUint32(104,!0),this.memoryView.getUint32(108,!0),this.memoryView.getUint32(112,!0),this.memoryView.getUint32(116,!0),this.memoryView.getUint32(120,!0),this.memoryView.getUint32(124,!0),this.memoryView.getUint32(128,!0),this.memoryView.getUint32(132,!0),this.memoryView.getUint32(136,!0),this.memoryView.getUint32(140,!0)]}},modes:{get(){return this.memoryView.getInt32(144,!0)}}}),VkDeviceGroupPresentCapabilitiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,152)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x98"],0),this._pNext=null,null!==this._presentMask?this._presentMask.fill(0):this._presentMask=[...Array(32)].fill(0),this.sType=1000060007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDeviceGroupPresentCapabilitiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupPresentCapabilitiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(152)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,152),0)},VkDeviceGroupPresentCapabilitiesKHR.createCopyFrom=function(e){let t=new VkDeviceGroupPresentCapabilitiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.presentMask&&(t.presentMask=[...Array(e.presentMask.length)].map((t,r)=>e.presentMask[r])),t.modes=e.modes,t},VkDeviceGroupPresentCapabilitiesKHR.byteLength=152,VkDeviceGroupPresentCapabilitiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},presentMask:{byteOffset:16,byteLength:128},modes:{byteOffset:144,byteLength:4}},Object.defineProperties(VkImageSwapchainCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageSwapchainCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageSwapchainCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageSwapchainCreateInfoKHR.pNext' isn't allowed to be filled")}},swapchain:{get(){return this._swapchain},set(e){if(null!==e&&e.constructor===VkSwapchainKHR)this._swapchain=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageSwapchainCreateInfoKHR.swapchain': Expected 'VkSwapchainKHR' but got '"+typeToString(e)+"'");this._swapchain=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkImageSwapchainCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._swapchain=null,this.sType=1000060008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchain&&(this.swapchain=e.swapchain))},VkImageSwapchainCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageSwapchainCreateInfoKHR.prototype.reflect=function(e){},VkImageSwapchainCreateInfoKHR.createCopyFrom=function(e){let t=new VkImageSwapchainCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.swapchain&&(t.swapchain=e.swapchain.constructor.createCopyFrom(e.swapchain)),t},VkImageSwapchainCreateInfoKHR.byteLength=24,VkImageSwapchainCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},swapchain:{byteOffset:16,byteLength:8}},Object.defineProperties(VkBindImageMemorySwapchainInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImageMemorySwapchainInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImageMemorySwapchainInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindImageMemorySwapchainInfoKHR.pNext' isn't allowed to be filled")}},swapchain:{get(){return this._swapchain},set(e){if(null!==e&&e.constructor===VkSwapchainKHR)this._swapchain=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindImageMemorySwapchainInfoKHR.swapchain': Expected 'VkSwapchainKHR' but got '"+typeToString(e)+"'");this._swapchain=null,this.memoryView.setBigInt64(16,BI0,!0)}}},imageIndex:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImageMemorySwapchainInfoKHR.imageIndex"),this.memoryView.setUint32(24,e,!0)}}}),VkBindImageMemorySwapchainInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._swapchain=null,this.sType=1000060009,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchain&&(this.swapchain=e.swapchain),void 0!==e.imageIndex&&(this.imageIndex=e.imageIndex))},VkBindImageMemorySwapchainInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindImageMemorySwapchainInfoKHR.prototype.reflect=function(e){},VkBindImageMemorySwapchainInfoKHR.createCopyFrom=function(e){let t=new VkBindImageMemorySwapchainInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.swapchain&&(t.swapchain=e.swapchain.constructor.createCopyFrom(e.swapchain)),t.imageIndex=e.imageIndex,t},VkBindImageMemorySwapchainInfoKHR.byteLength=32,VkBindImageMemorySwapchainInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},swapchain:{byteOffset:16,byteLength:8},imageIndex:{byteOffset:24,byteLength:4}},Object.defineProperties(VkAcquireNextImageInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAcquireNextImageInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkAcquireNextImageInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkAcquireNextImageInfoKHR.pNext' isn't allowed to be filled")}},swapchain:{get(){return this._swapchain},set(e){if(null!==e&&e.constructor===VkSwapchainKHR)this._swapchain=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkAcquireNextImageInfoKHR.swapchain': Expected 'VkSwapchainKHR' but got '"+typeToString(e)+"'");this._swapchain=null,this.memoryView.setBigInt64(16,BI0,!0)}}},timeout:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkAcquireNextImageInfoKHR.timeout"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},semaphore:{get(){return this._semaphore},set(e){if(null!==e&&e.constructor===VkSemaphore)this._semaphore=e,this.memoryView.setBigInt64(32,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkAcquireNextImageInfoKHR.semaphore': Expected 'VkSemaphore' but got '"+typeToString(e)+"'");this._semaphore=null,this.memoryView.setBigInt64(32,BI0,!0)}}},fence:{get(){return this._fence},set(e){if(null!==e&&e.constructor===VkFence)this._fence=e,this.memoryView.setBigInt64(40,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkAcquireNextImageInfoKHR.fence': Expected 'VkFence' but got '"+typeToString(e)+"'");this._fence=null,this.memoryView.setBigInt64(40,BI0,!0)}}},deviceMask:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAcquireNextImageInfoKHR.deviceMask"),this.memoryView.setUint32(48,e,!0)}}}),VkAcquireNextImageInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._swapchain=null,this._semaphore=null,this._fence=null,this.sType=1000060010,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchain&&(this.swapchain=e.swapchain),void 0!==e.timeout&&(this.timeout=e.timeout),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.fence&&(this.fence=e.fence),void 0!==e.deviceMask&&(this.deviceMask=e.deviceMask))},VkAcquireNextImageInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkAcquireNextImageInfoKHR.prototype.reflect=function(e){},VkAcquireNextImageInfoKHR.createCopyFrom=function(e){let t=new VkAcquireNextImageInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.swapchain&&(t.swapchain=e.swapchain.constructor.createCopyFrom(e.swapchain)),t.timeout=e.timeout,null!==e.semaphore&&(t.semaphore=e.semaphore.constructor.createCopyFrom(e.semaphore)),null!==e.fence&&(t.fence=e.fence.constructor.createCopyFrom(e.fence)),t.deviceMask=e.deviceMask,t},VkAcquireNextImageInfoKHR.byteLength=56,VkAcquireNextImageInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},swapchain:{byteOffset:16,byteLength:8},timeout:{byteOffset:24,byteLength:8},semaphore:{byteOffset:32,byteLength:8},fence:{byteOffset:40,byteLength:8},deviceMask:{byteOffset:48,byteLength:4}},Object.defineProperties(VkDeviceGroupPresentInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupPresentInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupPresentInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupPresentInfoKHR.pNext' isn't allowed to be filled")}},swapchainCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupPresentInfoKHR.swapchainCount"),this.memoryView.setUint32(16,e,!0)}},pDeviceMasks:{get(){return this._pDeviceMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDeviceMasks=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupPresentInfoKHR.pDeviceMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDeviceMasks=null,this.memoryView.setBigInt64(24,BI0,!0)}}},mode:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupPresentInfoKHR.mode"),this.memoryView.setInt32(32,e,!0)}}}),VkDeviceGroupPresentInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pDeviceMasks=null,this.sType=1000060011,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pDeviceMasks&&(this.pDeviceMasks=e.pDeviceMasks),void 0!==e.mode&&(this.mode=e.mode))},VkDeviceGroupPresentInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupPresentInfoKHR.prototype.reflect=function(e){},VkDeviceGroupPresentInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupPresentInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.swapchainCount=e.swapchainCount,null!==e.pDeviceMasks&&(t.pDeviceMasks=new Uint32Array(e.pDeviceMasks)),t.mode=e.mode,t},VkDeviceGroupPresentInfoKHR.byteLength=40,VkDeviceGroupPresentInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},swapchainCount:{byteOffset:16,byteLength:4},pDeviceMasks:{byteOffset:24,byteLength:8},mode:{byteOffset:32,byteLength:4}},Object.defineProperties(VkDeviceGroupDeviceCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupDeviceCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupDeviceCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupDeviceCreateInfo.pNext' isn't allowed to be filled")}},physicalDeviceCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupDeviceCreateInfo.physicalDeviceCount"),this.memoryView.setUint32(16,e,!0)}},pPhysicalDevices:{get(){if(null===this._pPhysicalDevices&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.physicalDeviceCount,VkPhysicalDevice);return this._pPhysicalDevices=e,this.pPhysicalDevices}return this._pPhysicalDevices},set(e){if(null!==e&&e.constructor===Array)this._pPhysicalDevices=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupDeviceCreateInfo.pPhysicalDevices': Expected 'Array VkPhysicalDevice' but got '"+typeToString(e)+"'");this._pPhysicalDevices=null}}}}),VkDeviceGroupDeviceCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pPhysicalDevices=null,this._pPhysicalDevicesNative=null,this.sType=1000070001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.physicalDeviceCount&&(this.physicalDeviceCount=e.physicalDeviceCount),void 0!==e.pPhysicalDevices&&(this.pPhysicalDevices=e.pPhysicalDevices))},VkDeviceGroupDeviceCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pPhysicalDevices){let e=this._pPhysicalDevices;if(e.length!==this.physicalDeviceCount)throw new RangeError("Invalid array length, expected length of 'physicalDeviceCount' for 'VkDeviceGroupDeviceCreateInfo.pPhysicalDevices'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPhysicalDevicesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pPhysicalDevicesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDeviceGroupDeviceCreateInfo.prototype.reflect=function(e){},VkDeviceGroupDeviceCreateInfo.createCopyFrom=function(e){let t=new VkDeviceGroupDeviceCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.physicalDeviceCount=e.physicalDeviceCount,null!==e.pPhysicalDevices&&(t.pPhysicalDevices=[...Array(e.pPhysicalDevices.length)].map((t,r)=>e.pPhysicalDevices[r].constructor.createCopyFrom(e.pPhysicalDevices[r]))),t},VkDeviceGroupDeviceCreateInfo.byteLength=32,VkDeviceGroupDeviceCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},physicalDeviceCount:{byteOffset:16,byteLength:4},pPhysicalDevices:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDeviceGroupDeviceCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupDeviceCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupDeviceCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupDeviceCreateInfoKHR.pNext' isn't allowed to be filled")}},physicalDeviceCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupDeviceCreateInfoKHR.physicalDeviceCount"),this.memoryView.setUint32(16,e,!0)}},pPhysicalDevices:{get(){if(null===this._pPhysicalDevices&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.physicalDeviceCount,VkPhysicalDevice);return this._pPhysicalDevices=e,this.pPhysicalDevices}return this._pPhysicalDevices},set(e){if(null!==e&&e.constructor===Array)this._pPhysicalDevices=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDeviceGroupDeviceCreateInfoKHR.pPhysicalDevices': Expected 'Array VkPhysicalDevice' but got '"+typeToString(e)+"'");this._pPhysicalDevices=null}}}}),VkDeviceGroupDeviceCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pPhysicalDevices=null,this._pPhysicalDevicesNative=null,this.sType=1000070001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.physicalDeviceCount&&(this.physicalDeviceCount=e.physicalDeviceCount),void 0!==e.pPhysicalDevices&&(this.pPhysicalDevices=e.pPhysicalDevices))},VkDeviceGroupDeviceCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pPhysicalDevices){let e=this._pPhysicalDevices;if(e.length!==this.physicalDeviceCount)throw new RangeError("Invalid array length, expected length of 'physicalDeviceCount' for 'VkDeviceGroupDeviceCreateInfoKHR.pPhysicalDevices'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPhysicalDevicesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pPhysicalDevicesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDeviceGroupDeviceCreateInfoKHR.prototype.reflect=function(e){},VkDeviceGroupDeviceCreateInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupDeviceCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.physicalDeviceCount=e.physicalDeviceCount,null!==e.pPhysicalDevices&&(t.pPhysicalDevices=[...Array(e.pPhysicalDevices.length)].map((t,r)=>e.pPhysicalDevices[r].constructor.createCopyFrom(e.pPhysicalDevices[r]))),t},VkDeviceGroupDeviceCreateInfoKHR.byteLength=32,VkDeviceGroupDeviceCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},physicalDeviceCount:{byteOffset:16,byteLength:4},pPhysicalDevices:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDeviceGroupSwapchainCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceGroupSwapchainCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceGroupSwapchainCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceGroupSwapchainCreateInfoKHR.pNext' isn't allowed to be filled")}},modes:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceGroupSwapchainCreateInfoKHR.modes"),this.memoryView.setInt32(16,e,!0)}}}),VkDeviceGroupSwapchainCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000060012,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.modes&&(this.modes=e.modes))},VkDeviceGroupSwapchainCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceGroupSwapchainCreateInfoKHR.prototype.reflect=function(e){},VkDeviceGroupSwapchainCreateInfoKHR.createCopyFrom=function(e){let t=new VkDeviceGroupSwapchainCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.modes=e.modes,t},VkDeviceGroupSwapchainCreateInfoKHR.byteLength=24,VkDeviceGroupSwapchainCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},modes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDescriptorUpdateTemplateEntry.prototype,{dstBinding:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntry.dstBinding"),this.memoryView.setUint32(0,e,!0)}},dstArrayElement:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntry.dstArrayElement"),this.memoryView.setUint32(4,e,!0)}},descriptorCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntry.descriptorCount"),this.memoryView.setUint32(8,e,!0)}},descriptorType:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntry.descriptorType"),!$VAL_R_VkDescriptorType(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateEntry.descriptorType': '"+e+"' is not a value of 'VkDescriptorType'");this.memoryView.setInt32(12,e,!0)}},offset:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDescriptorUpdateTemplateEntry.offset"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},stride:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDescriptorUpdateTemplateEntry.stride"),this.memoryView.setBigInt64(24,BigInt(e),!0)}}}),VkDescriptorUpdateTemplateEntry.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),"object"==typeof e&&(void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.stride&&(this.stride=e.stride))},VkDescriptorUpdateTemplateEntry.prototype.flush=function(){return!0},VkDescriptorUpdateTemplateEntry.prototype.reflect=function(e){},VkDescriptorUpdateTemplateEntry.createCopyFrom=function(e){let t=new VkDescriptorUpdateTemplateEntry;return t.dstBinding=e.dstBinding,t.dstArrayElement=e.dstArrayElement,t.descriptorCount=e.descriptorCount,t.descriptorType=e.descriptorType,t.offset=e.offset,t.stride=e.stride,t},VkDescriptorUpdateTemplateEntry.byteLength=32,VkDescriptorUpdateTemplateEntry.memoryLayout={dstBinding:{byteOffset:0,byteLength:4},dstArrayElement:{byteOffset:4,byteLength:4},descriptorCount:{byteOffset:8,byteLength:4},descriptorType:{byteOffset:12,byteLength:4},offset:{byteOffset:16,byteLength:8},stride:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorUpdateTemplateEntryKHR.prototype,{dstBinding:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntryKHR.dstBinding"),this.memoryView.setUint32(0,e,!0)}},dstArrayElement:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntryKHR.dstArrayElement"),this.memoryView.setUint32(4,e,!0)}},descriptorCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntryKHR.descriptorCount"),this.memoryView.setUint32(8,e,!0)}},descriptorType:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateEntryKHR.descriptorType"),!$VAL_R_VkDescriptorType(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateEntryKHR.descriptorType': '"+e+"' is not a value of 'VkDescriptorType'");this.memoryView.setInt32(12,e,!0)}},offset:{get(){return this.memoryView.getBigInt64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDescriptorUpdateTemplateEntryKHR.offset"),this.memoryView.setBigInt64(16,BigInt(e),!0)}},stride:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDescriptorUpdateTemplateEntryKHR.stride"),this.memoryView.setBigInt64(24,BigInt(e),!0)}}}),VkDescriptorUpdateTemplateEntryKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),"object"==typeof e&&(void 0!==e.dstBinding&&(this.dstBinding=e.dstBinding),void 0!==e.dstArrayElement&&(this.dstArrayElement=e.dstArrayElement),void 0!==e.descriptorCount&&(this.descriptorCount=e.descriptorCount),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.stride&&(this.stride=e.stride))},VkDescriptorUpdateTemplateEntryKHR.prototype.flush=function(){return!0},VkDescriptorUpdateTemplateEntryKHR.prototype.reflect=function(e){},VkDescriptorUpdateTemplateEntryKHR.createCopyFrom=function(e){let t=new VkDescriptorUpdateTemplateEntryKHR;return t.dstBinding=e.dstBinding,t.dstArrayElement=e.dstArrayElement,t.descriptorCount=e.descriptorCount,t.descriptorType=e.descriptorType,t.offset=e.offset,t.stride=e.stride,t},VkDescriptorUpdateTemplateEntryKHR.byteLength=32,VkDescriptorUpdateTemplateEntryKHR.memoryLayout={dstBinding:{byteOffset:0,byteLength:4},dstArrayElement:{byteOffset:4,byteLength:4},descriptorCount:{byteOffset:8,byteLength:4},descriptorType:{byteOffset:12,byteLength:4},offset:{byteOffset:16,byteLength:8},stride:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorUpdateTemplateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDescriptorUpdateTemplateCreateInfo.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfo.flags"),this.memoryView.setInt32(16,e,!0)}},descriptorUpdateEntryCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfo.descriptorUpdateEntryCount"),this.memoryView.setUint32(20,e,!0)}},pDescriptorUpdateEntries:{get(){if(null===this._pDescriptorUpdateEntries&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.descriptorUpdateEntryCount,VkDescriptorUpdateTemplateEntry);return this._pDescriptorUpdateEntries=e,this.pDescriptorUpdateEntries}return this._pDescriptorUpdateEntries},set(e){if(null!==e&&e.constructor===Array)this._pDescriptorUpdateEntries=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorUpdateTemplateCreateInfo.pDescriptorUpdateEntries': Expected 'Array VkDescriptorUpdateTemplateEntry' but got '"+typeToString(e)+"'");this._pDescriptorUpdateEntries=null}}},templateType:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfo.templateType"),!$VAL_R_VkDescriptorUpdateTemplateType(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateCreateInfo.templateType': '"+e+"' is not a value of 'VkDescriptorUpdateTemplateType'");this.memoryView.setInt32(32,e,!0)}},descriptorSetLayout:{get(){return this._descriptorSetLayout},set(e){if(null!==e&&e.constructor===VkDescriptorSetLayout)this._descriptorSetLayout=e,this.memoryView.setBigInt64(40,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorUpdateTemplateCreateInfo.descriptorSetLayout': Expected 'VkDescriptorSetLayout' but got '"+typeToString(e)+"'");this._descriptorSetLayout=null,this.memoryView.setBigInt64(40,BI0,!0)}}},pipelineBindPoint:{get(){return this.memoryView.getInt32(48,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfo.pipelineBindPoint"),!$VAL_R_VkPipelineBindPoint(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateCreateInfo.pipelineBindPoint': '"+e+"' is not a value of 'VkPipelineBindPoint'");this.memoryView.setInt32(48,e,!0)}},pipelineLayout:{get(){return this._pipelineLayout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._pipelineLayout=e,this.memoryView.setBigInt64(56,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorUpdateTemplateCreateInfo.pipelineLayout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._pipelineLayout=null,this.memoryView.setBigInt64(56,BI0,!0)}}},set:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfo.set"),this.memoryView.setUint32(64,e,!0)}}}),VkDescriptorUpdateTemplateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._pDescriptorUpdateEntries=null,this._pDescriptorUpdateEntriesNative=null,this._descriptorSetLayout=null,this._pipelineLayout=null,this.sType=1000085e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.descriptorUpdateEntryCount&&(this.descriptorUpdateEntryCount=e.descriptorUpdateEntryCount),void 0!==e.pDescriptorUpdateEntries&&(this.pDescriptorUpdateEntries=e.pDescriptorUpdateEntries),void 0!==e.templateType&&(this.templateType=e.templateType),void 0!==e.descriptorSetLayout&&(this.descriptorSetLayout=e.descriptorSetLayout),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.set&&(this.set=e.set))},VkDescriptorUpdateTemplateCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pDescriptorUpdateEntries){let e=this._pDescriptorUpdateEntries;if(e.length!==this.descriptorUpdateEntryCount)throw new RangeError("Invalid array length, expected length of 'descriptorUpdateEntryCount' for 'VkDescriptorUpdateTemplateCreateInfo.pDescriptorUpdateEntries'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDescriptorUpdateEntriesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pDescriptorUpdateEntriesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDescriptorUpdateTemplateCreateInfo.prototype.reflect=function(e){},VkDescriptorUpdateTemplateCreateInfo.createCopyFrom=function(e){let t=new VkDescriptorUpdateTemplateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.descriptorUpdateEntryCount=e.descriptorUpdateEntryCount,null!==e.pDescriptorUpdateEntries&&(t.pDescriptorUpdateEntries=[...Array(e.pDescriptorUpdateEntries.length)].map((t,r)=>e.pDescriptorUpdateEntries[r].constructor.createCopyFrom(e.pDescriptorUpdateEntries[r]))),t.templateType=e.templateType,null!==e.descriptorSetLayout&&(t.descriptorSetLayout=e.descriptorSetLayout.constructor.createCopyFrom(e.descriptorSetLayout)),t.pipelineBindPoint=e.pipelineBindPoint,null!==e.pipelineLayout&&(t.pipelineLayout=e.pipelineLayout.constructor.createCopyFrom(e.pipelineLayout)),t.set=e.set,t},VkDescriptorUpdateTemplateCreateInfo.byteLength=72,VkDescriptorUpdateTemplateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},descriptorUpdateEntryCount:{byteOffset:20,byteLength:4},pDescriptorUpdateEntries:{byteOffset:24,byteLength:8},templateType:{byteOffset:32,byteLength:4},descriptorSetLayout:{byteOffset:40,byteLength:8},pipelineBindPoint:{byteOffset:48,byteLength:4},pipelineLayout:{byteOffset:56,byteLength:8},set:{byteOffset:64,byteLength:4}},Object.defineProperties(VkDescriptorUpdateTemplateCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDescriptorUpdateTemplateCreateInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},descriptorUpdateEntryCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfoKHR.descriptorUpdateEntryCount"),this.memoryView.setUint32(20,e,!0)}},pDescriptorUpdateEntries:{get(){if(null===this._pDescriptorUpdateEntries&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.descriptorUpdateEntryCount,VkDescriptorUpdateTemplateEntry);return this._pDescriptorUpdateEntries=e,this.pDescriptorUpdateEntries}return this._pDescriptorUpdateEntries},set(e){if(null!==e&&e.constructor===Array)this._pDescriptorUpdateEntries=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorUpdateTemplateCreateInfoKHR.pDescriptorUpdateEntries': Expected 'Array VkDescriptorUpdateTemplateEntry' but got '"+typeToString(e)+"'");this._pDescriptorUpdateEntries=null}}},templateType:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfoKHR.templateType"),!$VAL_R_VkDescriptorUpdateTemplateType(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateCreateInfoKHR.templateType': '"+e+"' is not a value of 'VkDescriptorUpdateTemplateType'");this.memoryView.setInt32(32,e,!0)}},descriptorSetLayout:{get(){return this._descriptorSetLayout},set(e){if(null!==e&&e.constructor===VkDescriptorSetLayout)this._descriptorSetLayout=e,this.memoryView.setBigInt64(40,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorUpdateTemplateCreateInfoKHR.descriptorSetLayout': Expected 'VkDescriptorSetLayout' but got '"+typeToString(e)+"'");this._descriptorSetLayout=null,this.memoryView.setBigInt64(40,BI0,!0)}}},pipelineBindPoint:{get(){return this.memoryView.getInt32(48,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfoKHR.pipelineBindPoint"),!$VAL_R_VkPipelineBindPoint(e))throw new RangeError("Invalid value for 'VkDescriptorUpdateTemplateCreateInfoKHR.pipelineBindPoint': '"+e+"' is not a value of 'VkPipelineBindPoint'");this.memoryView.setInt32(48,e,!0)}},pipelineLayout:{get(){return this._pipelineLayout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._pipelineLayout=e,this.memoryView.setBigInt64(56,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorUpdateTemplateCreateInfoKHR.pipelineLayout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._pipelineLayout=null,this.memoryView.setBigInt64(56,BI0,!0)}}},set:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorUpdateTemplateCreateInfoKHR.set"),this.memoryView.setUint32(64,e,!0)}}}),VkDescriptorUpdateTemplateCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this._pDescriptorUpdateEntries=null,this._pDescriptorUpdateEntriesNative=null,this._descriptorSetLayout=null,this._pipelineLayout=null,this.sType=1000085e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.descriptorUpdateEntryCount&&(this.descriptorUpdateEntryCount=e.descriptorUpdateEntryCount),void 0!==e.pDescriptorUpdateEntries&&(this.pDescriptorUpdateEntries=e.pDescriptorUpdateEntries),void 0!==e.templateType&&(this.templateType=e.templateType),void 0!==e.descriptorSetLayout&&(this.descriptorSetLayout=e.descriptorSetLayout),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.pipelineLayout&&(this.pipelineLayout=e.pipelineLayout),void 0!==e.set&&(this.set=e.set))},VkDescriptorUpdateTemplateCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pDescriptorUpdateEntries){let e=this._pDescriptorUpdateEntries;if(e.length!==this.descriptorUpdateEntryCount)throw new RangeError("Invalid array length, expected length of 'descriptorUpdateEntryCount' for 'VkDescriptorUpdateTemplateCreateInfoKHR.pDescriptorUpdateEntries'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDescriptorUpdateEntriesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pDescriptorUpdateEntriesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkDescriptorUpdateTemplateCreateInfoKHR.prototype.reflect=function(e){},VkDescriptorUpdateTemplateCreateInfoKHR.createCopyFrom=function(e){let t=new VkDescriptorUpdateTemplateCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.descriptorUpdateEntryCount=e.descriptorUpdateEntryCount,null!==e.pDescriptorUpdateEntries&&(t.pDescriptorUpdateEntries=[...Array(e.pDescriptorUpdateEntries.length)].map((t,r)=>e.pDescriptorUpdateEntries[r].constructor.createCopyFrom(e.pDescriptorUpdateEntries[r]))),t.templateType=e.templateType,null!==e.descriptorSetLayout&&(t.descriptorSetLayout=e.descriptorSetLayout.constructor.createCopyFrom(e.descriptorSetLayout)),t.pipelineBindPoint=e.pipelineBindPoint,null!==e.pipelineLayout&&(t.pipelineLayout=e.pipelineLayout.constructor.createCopyFrom(e.pipelineLayout)),t.set=e.set,t},VkDescriptorUpdateTemplateCreateInfoKHR.byteLength=72,VkDescriptorUpdateTemplateCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},descriptorUpdateEntryCount:{byteOffset:20,byteLength:4},pDescriptorUpdateEntries:{byteOffset:24,byteLength:8},templateType:{byteOffset:32,byteLength:4},descriptorSetLayout:{byteOffset:40,byteLength:8},pipelineBindPoint:{byteOffset:48,byteLength:4},pipelineLayout:{byteOffset:56,byteLength:8},set:{byteOffset:64,byteLength:4}},Object.defineProperties(VkXYColorEXT.prototype,{x:{get(){return this.memoryView.getFloat32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkXYColorEXT.x"),this.memoryView.setFloat32(0,e,!0)}},y:{get(){return this.memoryView.getFloat32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkXYColorEXT.y"),this.memoryView.setFloat32(4,e,!0)}}}),VkXYColorEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y))},VkXYColorEXT.prototype.flush=function(){return!0},VkXYColorEXT.prototype.reflect=function(e){},VkXYColorEXT.createCopyFrom=function(e){let t=new VkXYColorEXT;return t.x=e.x,t.y=e.y,t},VkXYColorEXT.byteLength=8,VkXYColorEXT.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4}},Object.defineProperties(VkHdrMetadataEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkHdrMetadataEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkHdrMetadataEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkHdrMetadataEXT.pNext' isn't allowed to be filled")}},displayPrimaryRed:{get(){return this._displayPrimaryRed},set(e){if(null!==e&&e.constructor===VkXYColorEXT)e.flush(),this._displayPrimaryRed=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkHdrMetadataEXT.displayPrimaryRed': Expected 'VkXYColorEXT' but got '"+typeToString(e)+"'");this._displayPrimaryRed=null}}},displayPrimaryGreen:{get(){return this._displayPrimaryGreen},set(e){if(null!==e&&e.constructor===VkXYColorEXT)e.flush(),this._displayPrimaryGreen=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkHdrMetadataEXT.displayPrimaryGreen': Expected 'VkXYColorEXT' but got '"+typeToString(e)+"'");this._displayPrimaryGreen=null}}},displayPrimaryBlue:{get(){return this._displayPrimaryBlue},set(e){if(null!==e&&e.constructor===VkXYColorEXT)e.flush(),this._displayPrimaryBlue=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkHdrMetadataEXT.displayPrimaryBlue': Expected 'VkXYColorEXT' but got '"+typeToString(e)+"'");this._displayPrimaryBlue=null}}},whitePoint:{get(){return this._whitePoint},set(e){if(null!==e&&e.constructor===VkXYColorEXT)e.flush(),this._whitePoint=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkHdrMetadataEXT.whitePoint': Expected 'VkXYColorEXT' but got '"+typeToString(e)+"'");this._whitePoint=null}}},maxLuminance:{get(){return this.memoryView.getFloat32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkHdrMetadataEXT.maxLuminance"),this.memoryView.setFloat32(48,e,!0)}},minLuminance:{get(){return this.memoryView.getFloat32(52,!0)},set(e){ASSERT_IS_NUMBER(e,"VkHdrMetadataEXT.minLuminance"),this.memoryView.setFloat32(52,e,!0)}},maxContentLightLevel:{get(){return this.memoryView.getFloat32(56,!0)},set(e){ASSERT_IS_NUMBER(e,"VkHdrMetadataEXT.maxContentLightLevel"),this.memoryView.setFloat32(56,e,!0)}},maxFrameAverageLightLevel:{get(){return this.memoryView.getFloat32(60,!0)},set(e){ASSERT_IS_NUMBER(e,"VkHdrMetadataEXT.maxFrameAverageLightLevel"),this.memoryView.setFloat32(60,e,!0)}}}),VkHdrMetadataEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._displayPrimaryRed&&(this.memoryBuffer!==this._displayPrimaryRed.memoryBuffer?this._displayPrimaryRed=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._displayPrimaryRed.reset()),null!==this._displayPrimaryGreen&&(this.memoryBuffer!==this._displayPrimaryGreen.memoryBuffer?this._displayPrimaryGreen=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._displayPrimaryGreen.reset()),null!==this._displayPrimaryBlue&&(this.memoryBuffer!==this._displayPrimaryBlue.memoryBuffer?this._displayPrimaryBlue=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+32}):this._displayPrimaryBlue.reset()),null!==this._whitePoint&&(this.memoryBuffer!==this._whitePoint.memoryBuffer?this._whitePoint=new VkXYColorEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+40}):this._whitePoint.reset()),this.sType=1000105e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.displayPrimaryRed&&(this.displayPrimaryRed=e.displayPrimaryRed),void 0!==e.displayPrimaryGreen&&(this.displayPrimaryGreen=e.displayPrimaryGreen),void 0!==e.displayPrimaryBlue&&(this.displayPrimaryBlue=e.displayPrimaryBlue),void 0!==e.whitePoint&&(this.whitePoint=e.whitePoint),void 0!==e.maxLuminance&&(this.maxLuminance=e.maxLuminance),void 0!==e.minLuminance&&(this.minLuminance=e.minLuminance),void 0!==e.maxContentLightLevel&&(this.maxContentLightLevel=e.maxContentLightLevel),void 0!==e.maxFrameAverageLightLevel&&(this.maxFrameAverageLightLevel=e.maxFrameAverageLightLevel))},VkHdrMetadataEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._displayPrimaryRed){let e=this._displayPrimaryRed;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkHdrMetadataEXT.displayPrimaryRed' isn't used as shared-memory")}}if(null!==this._displayPrimaryGreen){let e=this._displayPrimaryGreen;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,24),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkHdrMetadataEXT.displayPrimaryGreen' isn't used as shared-memory")}}if(null!==this._displayPrimaryBlue){let e=this._displayPrimaryBlue;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,32),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkHdrMetadataEXT.displayPrimaryBlue' isn't used as shared-memory")}}if(null!==this._whitePoint){let e=this._whitePoint;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,40),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkHdrMetadataEXT.whitePoint' isn't used as shared-memory")}}return!0},VkHdrMetadataEXT.prototype.reflect=function(e){},VkHdrMetadataEXT.createCopyFrom=function(e){let t=new VkHdrMetadataEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.displayPrimaryRed&&(t.displayPrimaryRed=e.displayPrimaryRed.constructor.createCopyFrom(e.displayPrimaryRed)),null!==e.displayPrimaryGreen&&(t.displayPrimaryGreen=e.displayPrimaryGreen.constructor.createCopyFrom(e.displayPrimaryGreen)),null!==e.displayPrimaryBlue&&(t.displayPrimaryBlue=e.displayPrimaryBlue.constructor.createCopyFrom(e.displayPrimaryBlue)),null!==e.whitePoint&&(t.whitePoint=e.whitePoint.constructor.createCopyFrom(e.whitePoint)),t.maxLuminance=e.maxLuminance,t.minLuminance=e.minLuminance,t.maxContentLightLevel=e.maxContentLightLevel,t.maxFrameAverageLightLevel=e.maxFrameAverageLightLevel,t},VkHdrMetadataEXT.byteLength=64,VkHdrMetadataEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},displayPrimaryRed:{byteOffset:16,byteLength:8},displayPrimaryGreen:{byteOffset:24,byteLength:8},displayPrimaryBlue:{byteOffset:32,byteLength:8},whitePoint:{byteOffset:40,byteLength:8},maxLuminance:{byteOffset:48,byteLength:4},minLuminance:{byteOffset:52,byteLength:4},maxContentLightLevel:{byteOffset:56,byteLength:4},maxFrameAverageLightLevel:{byteOffset:60,byteLength:4}},Object.defineProperties(VkDisplayNativeHdrSurfaceCapabilitiesAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayNativeHdrSurfaceCapabilitiesAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayNativeHdrSurfaceCapabilitiesAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayNativeHdrSurfaceCapabilitiesAMD.pNext' isn't allowed to be filled")}},localDimmingSupport:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkDisplayNativeHdrSurfaceCapabilitiesAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000213e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDisplayNativeHdrSurfaceCapabilitiesAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayNativeHdrSurfaceCapabilitiesAMD.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkDisplayNativeHdrSurfaceCapabilitiesAMD.createCopyFrom=function(e){let t=new VkDisplayNativeHdrSurfaceCapabilitiesAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.localDimmingSupport=e.localDimmingSupport,t},VkDisplayNativeHdrSurfaceCapabilitiesAMD.byteLength=24,VkDisplayNativeHdrSurfaceCapabilitiesAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},localDimmingSupport:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSwapchainDisplayNativeHdrCreateInfoAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSwapchainDisplayNativeHdrCreateInfoAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSwapchainDisplayNativeHdrCreateInfoAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSwapchainDisplayNativeHdrCreateInfoAMD.pNext' isn't allowed to be filled")}},localDimmingEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkSwapchainDisplayNativeHdrCreateInfoAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000213001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.localDimmingEnable&&(this.localDimmingEnable=e.localDimmingEnable))},VkSwapchainDisplayNativeHdrCreateInfoAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSwapchainDisplayNativeHdrCreateInfoAMD.prototype.reflect=function(e){},VkSwapchainDisplayNativeHdrCreateInfoAMD.createCopyFrom=function(e){let t=new VkSwapchainDisplayNativeHdrCreateInfoAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.localDimmingEnable=e.localDimmingEnable,t},VkSwapchainDisplayNativeHdrCreateInfoAMD.byteLength=24,VkSwapchainDisplayNativeHdrCreateInfoAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},localDimmingEnable:{byteOffset:16,byteLength:4}},Object.defineProperties(VkRefreshCycleDurationGOOGLE.prototype,{refreshDuration:{get(){return this.memoryView.getBigUint64(0,!0)}}}),VkRefreshCycleDurationGOOGLE.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0)},VkRefreshCycleDurationGOOGLE.prototype.flush=function(){return!0},VkRefreshCycleDurationGOOGLE.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,8),0)},VkRefreshCycleDurationGOOGLE.createCopyFrom=function(e){let t=new VkRefreshCycleDurationGOOGLE;return t.refreshDuration=e.refreshDuration,t},VkRefreshCycleDurationGOOGLE.byteLength=8,VkRefreshCycleDurationGOOGLE.memoryLayout={refreshDuration:{byteOffset:0,byteLength:8}},Object.defineProperties(VkPastPresentationTimingGOOGLE.prototype,{presentID:{get(){return this.memoryView.getUint32(0,!0)}},desiredPresentTime:{get(){return this.memoryView.getBigUint64(8,!0)}},actualPresentTime:{get(){return this.memoryView.getBigUint64(16,!0)}},earliestPresentTime:{get(){return this.memoryView.getBigUint64(24,!0)}},presentMargin:{get(){return this.memoryView.getBigUint64(32,!0)}}}),VkPastPresentationTimingGOOGLE.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0)},VkPastPresentationTimingGOOGLE.prototype.flush=function(){return!0},VkPastPresentationTimingGOOGLE.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkPastPresentationTimingGOOGLE.createCopyFrom=function(e){let t=new VkPastPresentationTimingGOOGLE;return t.presentID=e.presentID,t.desiredPresentTime=e.desiredPresentTime,t.actualPresentTime=e.actualPresentTime,t.earliestPresentTime=e.earliestPresentTime,t.presentMargin=e.presentMargin,t},VkPastPresentationTimingGOOGLE.byteLength=40,VkPastPresentationTimingGOOGLE.memoryLayout={presentID:{byteOffset:0,byteLength:4},desiredPresentTime:{byteOffset:8,byteLength:8},actualPresentTime:{byteOffset:16,byteLength:8},earliestPresentTime:{byteOffset:24,byteLength:8},presentMargin:{byteOffset:32,byteLength:8}},Object.defineProperties(VkPresentTimesInfoGOOGLE.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPresentTimesInfoGOOGLE.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPresentTimesInfoGOOGLE.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPresentTimesInfoGOOGLE.pNext' isn't allowed to be filled")}},swapchainCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPresentTimesInfoGOOGLE.swapchainCount"),this.memoryView.setUint32(16,e,!0)}},pTimes:{get(){if(null===this._pTimes&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.swapchainCount,VkPresentTimeGOOGLE);return this._pTimes=e,this.pTimes}return this._pTimes},set(e){if(null!==e&&e.constructor===Array)this._pTimes=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPresentTimesInfoGOOGLE.pTimes': Expected 'Array VkPresentTimeGOOGLE' but got '"+typeToString(e)+"'");this._pTimes=null}}}}),VkPresentTimesInfoGOOGLE.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pTimes=null,this._pTimesNative=null,this.sType=1000092e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.swapchainCount&&(this.swapchainCount=e.swapchainCount),void 0!==e.pTimes&&(this.pTimes=e.pTimes))},VkPresentTimesInfoGOOGLE.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pTimes){let e=this._pTimes;if(e.length!==this.swapchainCount)throw new RangeError("Invalid array length, expected length of 'swapchainCount' for 'VkPresentTimesInfoGOOGLE.pTimes'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pTimesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pTimesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPresentTimesInfoGOOGLE.prototype.reflect=function(e){},VkPresentTimesInfoGOOGLE.createCopyFrom=function(e){let t=new VkPresentTimesInfoGOOGLE;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.swapchainCount=e.swapchainCount,null!==e.pTimes&&(t.pTimes=[...Array(e.pTimes.length)].map((t,r)=>e.pTimes[r].constructor.createCopyFrom(e.pTimes[r]))),t},VkPresentTimesInfoGOOGLE.byteLength=32,VkPresentTimesInfoGOOGLE.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},swapchainCount:{byteOffset:16,byteLength:4},pTimes:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPresentTimeGOOGLE.prototype,{presentID:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPresentTimeGOOGLE.presentID"),this.memoryView.setUint32(0,e,!0)}},desiredPresentTime:{get(){return this.memoryView.getBigUint64(8,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPresentTimeGOOGLE.desiredPresentTime"),this.memoryView.setBigUint64(8,BigInt(e),!0)}}}),VkPresentTimeGOOGLE.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.presentID&&(this.presentID=e.presentID),void 0!==e.desiredPresentTime&&(this.desiredPresentTime=e.desiredPresentTime))},VkPresentTimeGOOGLE.prototype.flush=function(){return!0},VkPresentTimeGOOGLE.prototype.reflect=function(e){},VkPresentTimeGOOGLE.createCopyFrom=function(e){let t=new VkPresentTimeGOOGLE;return t.presentID=e.presentID,t.desiredPresentTime=e.desiredPresentTime,t},VkPresentTimeGOOGLE.byteLength=16,VkPresentTimeGOOGLE.memoryLayout={presentID:{byteOffset:0,byteLength:4},desiredPresentTime:{byteOffset:8,byteLength:8}},Object.defineProperties(VkViewportWScalingNV.prototype,{xcoeff:{get(){return this.memoryView.getFloat32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewportWScalingNV.xcoeff"),this.memoryView.setFloat32(0,e,!0)}},ycoeff:{get(){return this.memoryView.getFloat32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkViewportWScalingNV.ycoeff"),this.memoryView.setFloat32(4,e,!0)}}}),VkViewportWScalingNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.xcoeff&&(this.xcoeff=e.xcoeff),void 0!==e.ycoeff&&(this.ycoeff=e.ycoeff))},VkViewportWScalingNV.prototype.flush=function(){return!0},VkViewportWScalingNV.prototype.reflect=function(e){},VkViewportWScalingNV.createCopyFrom=function(e){let t=new VkViewportWScalingNV;return t.xcoeff=e.xcoeff,t.ycoeff=e.ycoeff,t},VkViewportWScalingNV.byteLength=8,VkViewportWScalingNV.memoryLayout={xcoeff:{byteOffset:0,byteLength:4},ycoeff:{byteOffset:4,byteLength:4}},Object.defineProperties(VkPipelineViewportWScalingStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportWScalingStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineViewportWScalingStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineViewportWScalingStateCreateInfoNV.pNext' isn't allowed to be filled")}},viewportWScalingEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},viewportCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportWScalingStateCreateInfoNV.viewportCount"),this.memoryView.setUint32(20,e,!0)}},pViewportWScalings:{get(){if(null===this._pViewportWScalings&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.viewportCount,VkViewportWScalingNV);return this._pViewportWScalings=e,this.pViewportWScalings}return this._pViewportWScalings},set(e){if(null!==e&&e.constructor===Array)this._pViewportWScalings=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportWScalingStateCreateInfoNV.pViewportWScalings': Expected 'Array VkViewportWScalingNV' but got '"+typeToString(e)+"'");this._pViewportWScalings=null}}}}),VkPipelineViewportWScalingStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pViewportWScalings=null,this._pViewportWScalingsNative=null,this.sType=1000087e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.viewportWScalingEnable&&(this.viewportWScalingEnable=e.viewportWScalingEnable),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pViewportWScalings&&(this.pViewportWScalings=e.pViewportWScalings))},VkPipelineViewportWScalingStateCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pViewportWScalings){let e=this._pViewportWScalings;if(e.length!==this.viewportCount)throw new RangeError("Invalid array length, expected length of 'viewportCount' for 'VkPipelineViewportWScalingStateCreateInfoNV.pViewportWScalings'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pViewportWScalingsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pViewportWScalingsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPipelineViewportWScalingStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineViewportWScalingStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineViewportWScalingStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.viewportWScalingEnable=e.viewportWScalingEnable,t.viewportCount=e.viewportCount,null!==e.pViewportWScalings&&(t.pViewportWScalings=[...Array(e.pViewportWScalings.length)].map((t,r)=>e.pViewportWScalings[r].constructor.createCopyFrom(e.pViewportWScalings[r]))),t},VkPipelineViewportWScalingStateCreateInfoNV.byteLength=32,VkPipelineViewportWScalingStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},viewportWScalingEnable:{byteOffset:16,byteLength:4},viewportCount:{byteOffset:20,byteLength:4},pViewportWScalings:{byteOffset:24,byteLength:8}},Object.defineProperties(VkViewportSwizzleNV.prototype,{x:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkViewportSwizzleNV.x"),!$VAL_R_VkViewportCoordinateSwizzleNV(e))throw new RangeError("Invalid value for 'VkViewportSwizzleNV.x': '"+e+"' is not a value of 'VkViewportCoordinateSwizzleNV'");this.memoryView.setInt32(0,e,!0)}},y:{get(){return this.memoryView.getInt32(4,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkViewportSwizzleNV.y"),!$VAL_R_VkViewportCoordinateSwizzleNV(e))throw new RangeError("Invalid value for 'VkViewportSwizzleNV.y': '"+e+"' is not a value of 'VkViewportCoordinateSwizzleNV'");this.memoryView.setInt32(4,e,!0)}},z:{get(){return this.memoryView.getInt32(8,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkViewportSwizzleNV.z"),!$VAL_R_VkViewportCoordinateSwizzleNV(e))throw new RangeError("Invalid value for 'VkViewportSwizzleNV.z': '"+e+"' is not a value of 'VkViewportCoordinateSwizzleNV'");this.memoryView.setInt32(8,e,!0)}},w:{get(){return this.memoryView.getInt32(12,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkViewportSwizzleNV.w"),!$VAL_R_VkViewportCoordinateSwizzleNV(e))throw new RangeError("Invalid value for 'VkViewportSwizzleNV.w': '"+e+"' is not a value of 'VkViewportCoordinateSwizzleNV'");this.memoryView.setInt32(12,e,!0)}}}),VkViewportSwizzleNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y),void 0!==e.z&&(this.z=e.z),void 0!==e.w&&(this.w=e.w))},VkViewportSwizzleNV.prototype.flush=function(){return!0},VkViewportSwizzleNV.prototype.reflect=function(e){},VkViewportSwizzleNV.createCopyFrom=function(e){let t=new VkViewportSwizzleNV;return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t},VkViewportSwizzleNV.byteLength=16,VkViewportSwizzleNV.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4},z:{byteOffset:8,byteLength:4},w:{byteOffset:12,byteLength:4}},Object.defineProperties(VkPipelineViewportSwizzleStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportSwizzleStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineViewportSwizzleStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineViewportSwizzleStateCreateInfoNV.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportSwizzleStateCreateInfoNV.flags"),this.memoryView.setInt32(16,e,!0)}},viewportCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportSwizzleStateCreateInfoNV.viewportCount"),this.memoryView.setUint32(20,e,!0)}},pViewportSwizzles:{get(){if(null===this._pViewportSwizzles&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.viewportCount,VkViewportSwizzleNV);return this._pViewportSwizzles=e,this.pViewportSwizzles}return this._pViewportSwizzles},set(e){if(null!==e&&e.constructor===Array)this._pViewportSwizzles=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportSwizzleStateCreateInfoNV.pViewportSwizzles': Expected 'Array VkViewportSwizzleNV' but got '"+typeToString(e)+"'");this._pViewportSwizzles=null}}}}),VkPipelineViewportSwizzleStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pViewportSwizzles=null,this._pViewportSwizzlesNative=null,this.sType=1000098e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pViewportSwizzles&&(this.pViewportSwizzles=e.pViewportSwizzles))},VkPipelineViewportSwizzleStateCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pViewportSwizzles){let e=this._pViewportSwizzles;if(e.length!==this.viewportCount)throw new RangeError("Invalid array length, expected length of 'viewportCount' for 'VkPipelineViewportSwizzleStateCreateInfoNV.pViewportSwizzles'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pViewportSwizzlesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pViewportSwizzlesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPipelineViewportSwizzleStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineViewportSwizzleStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineViewportSwizzleStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.viewportCount=e.viewportCount,null!==e.pViewportSwizzles&&(t.pViewportSwizzles=[...Array(e.pViewportSwizzles.length)].map((t,r)=>e.pViewportSwizzles[r].constructor.createCopyFrom(e.pViewportSwizzles[r]))),t},VkPipelineViewportSwizzleStateCreateInfoNV.byteLength=32,VkPipelineViewportSwizzleStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},viewportCount:{byteOffset:20,byteLength:4},pViewportSwizzles:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceDiscardRectanglePropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDiscardRectanglePropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDiscardRectanglePropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDiscardRectanglePropertiesEXT.pNext' isn't allowed to be filled")}},maxDiscardRectangles:{get(){return this.memoryView.getUint32(16,!0)}}}),VkPhysicalDeviceDiscardRectanglePropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000099e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceDiscardRectanglePropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDiscardRectanglePropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceDiscardRectanglePropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceDiscardRectanglePropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxDiscardRectangles=e.maxDiscardRectangles,t},VkPhysicalDeviceDiscardRectanglePropertiesEXT.byteLength=24,VkPhysicalDeviceDiscardRectanglePropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxDiscardRectangles:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineDiscardRectangleStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineDiscardRectangleStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineDiscardRectangleStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineDiscardRectangleStateCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDiscardRectangleStateCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},discardRectangleMode:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineDiscardRectangleStateCreateInfoEXT.discardRectangleMode"),!$VAL_R_VkDiscardRectangleModeEXT(e))throw new RangeError("Invalid value for 'VkPipelineDiscardRectangleStateCreateInfoEXT.discardRectangleMode': '"+e+"' is not a value of 'VkDiscardRectangleModeEXT'");this.memoryView.setInt32(20,e,!0)}},discardRectangleCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineDiscardRectangleStateCreateInfoEXT.discardRectangleCount"),this.memoryView.setUint32(24,e,!0)}},pDiscardRectangles:{get(){if(null===this._pDiscardRectangles&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.discardRectangleCount,VkRect2D);return this._pDiscardRectangles=e,this.pDiscardRectangles}return this._pDiscardRectangles},set(e){if(null!==e&&e.constructor===Array)this._pDiscardRectangles=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineDiscardRectangleStateCreateInfoEXT.pDiscardRectangles': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pDiscardRectangles=null}}}}),VkPipelineDiscardRectangleStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pDiscardRectangles=null,this._pDiscardRectanglesNative=null,this.sType=1000099001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.discardRectangleMode&&(this.discardRectangleMode=e.discardRectangleMode),void 0!==e.discardRectangleCount&&(this.discardRectangleCount=e.discardRectangleCount),void 0!==e.pDiscardRectangles&&(this.pDiscardRectangles=e.pDiscardRectangles))},VkPipelineDiscardRectangleStateCreateInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pDiscardRectangles){let e=this._pDiscardRectangles;if(e.length!==this.discardRectangleCount)throw new RangeError("Invalid array length, expected length of 'discardRectangleCount' for 'VkPipelineDiscardRectangleStateCreateInfoEXT.pDiscardRectangles'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDiscardRectanglesNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pDiscardRectanglesNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkPipelineDiscardRectangleStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineDiscardRectangleStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineDiscardRectangleStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.discardRectangleMode=e.discardRectangleMode,t.discardRectangleCount=e.discardRectangleCount,null!==e.pDiscardRectangles&&(t.pDiscardRectangles=[...Array(e.pDiscardRectangles.length)].map((t,r)=>e.pDiscardRectangles[r].constructor.createCopyFrom(e.pDiscardRectangles[r]))),t},VkPipelineDiscardRectangleStateCreateInfoEXT.byteLength=40,VkPipelineDiscardRectangleStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},discardRectangleMode:{byteOffset:20,byteLength:4},discardRectangleCount:{byteOffset:24,byteLength:4},pDiscardRectangles:{byteOffset:32,byteLength:8}},Object.defineProperties(VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.pNext' isn't allowed to be filled")}},perViewPositionAllComponents:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000097e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.createCopyFrom=function(e){let t=new VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.perViewPositionAllComponents=e.perViewPositionAllComponents,t},VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.byteLength=24,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},perViewPositionAllComponents:{byteOffset:16,byteLength:4}},Object.defineProperties(VkInputAttachmentAspectReference.prototype,{subpass:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInputAttachmentAspectReference.subpass"),this.memoryView.setUint32(0,e,!0)}},inputAttachmentIndex:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInputAttachmentAspectReference.inputAttachmentIndex"),this.memoryView.setUint32(4,e,!0)}},aspectMask:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInputAttachmentAspectReference.aspectMask"),this.memoryView.setInt32(8,e,!0)}}}),VkInputAttachmentAspectReference.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.inputAttachmentIndex&&(this.inputAttachmentIndex=e.inputAttachmentIndex),void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask))},VkInputAttachmentAspectReference.prototype.flush=function(){return!0},VkInputAttachmentAspectReference.prototype.reflect=function(e){},VkInputAttachmentAspectReference.createCopyFrom=function(e){let t=new VkInputAttachmentAspectReference;return t.subpass=e.subpass,t.inputAttachmentIndex=e.inputAttachmentIndex,t.aspectMask=e.aspectMask,t},VkInputAttachmentAspectReference.byteLength=12,VkInputAttachmentAspectReference.memoryLayout={subpass:{byteOffset:0,byteLength:4},inputAttachmentIndex:{byteOffset:4,byteLength:4},aspectMask:{byteOffset:8,byteLength:4}},Object.defineProperties(VkInputAttachmentAspectReferenceKHR.prototype,{subpass:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInputAttachmentAspectReferenceKHR.subpass"),this.memoryView.setUint32(0,e,!0)}},inputAttachmentIndex:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInputAttachmentAspectReferenceKHR.inputAttachmentIndex"),this.memoryView.setUint32(4,e,!0)}},aspectMask:{get(){return this.memoryView.getInt32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkInputAttachmentAspectReferenceKHR.aspectMask"),this.memoryView.setInt32(8,e,!0)}}}),VkInputAttachmentAspectReferenceKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.subpass&&(this.subpass=e.subpass),void 0!==e.inputAttachmentIndex&&(this.inputAttachmentIndex=e.inputAttachmentIndex),void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask))},VkInputAttachmentAspectReferenceKHR.prototype.flush=function(){return!0},VkInputAttachmentAspectReferenceKHR.prototype.reflect=function(e){},VkInputAttachmentAspectReferenceKHR.createCopyFrom=function(e){let t=new VkInputAttachmentAspectReferenceKHR;return t.subpass=e.subpass,t.inputAttachmentIndex=e.inputAttachmentIndex,t.aspectMask=e.aspectMask,t},VkInputAttachmentAspectReferenceKHR.byteLength=12,VkInputAttachmentAspectReferenceKHR.memoryLayout={subpass:{byteOffset:0,byteLength:4},inputAttachmentIndex:{byteOffset:4,byteLength:4},aspectMask:{byteOffset:8,byteLength:4}},Object.defineProperties(VkRenderPassInputAttachmentAspectCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassInputAttachmentAspectCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassInputAttachmentAspectCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassInputAttachmentAspectCreateInfo.pNext' isn't allowed to be filled")}},aspectReferenceCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassInputAttachmentAspectCreateInfo.aspectReferenceCount"),this.memoryView.setUint32(16,e,!0)}},pAspectReferences:{get(){if(null===this._pAspectReferences&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.aspectReferenceCount,VkInputAttachmentAspectReference);return this._pAspectReferences=e,this.pAspectReferences}return this._pAspectReferences},set(e){if(null!==e&&e.constructor===Array)this._pAspectReferences=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassInputAttachmentAspectCreateInfo.pAspectReferences': Expected 'Array VkInputAttachmentAspectReference' but got '"+typeToString(e)+"'");this._pAspectReferences=null}}}}),VkRenderPassInputAttachmentAspectCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pAspectReferences=null,this._pAspectReferencesNative=null,this.sType=1000117001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.aspectReferenceCount&&(this.aspectReferenceCount=e.aspectReferenceCount),void 0!==e.pAspectReferences&&(this.pAspectReferences=e.pAspectReferences))},VkRenderPassInputAttachmentAspectCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAspectReferences){let e=this._pAspectReferences;if(e.length!==this.aspectReferenceCount)throw new RangeError("Invalid array length, expected length of 'aspectReferenceCount' for 'VkRenderPassInputAttachmentAspectCreateInfo.pAspectReferences'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAspectReferencesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAspectReferencesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkRenderPassInputAttachmentAspectCreateInfo.prototype.reflect=function(e){},VkRenderPassInputAttachmentAspectCreateInfo.createCopyFrom=function(e){let t=new VkRenderPassInputAttachmentAspectCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.aspectReferenceCount=e.aspectReferenceCount,null!==e.pAspectReferences&&(t.pAspectReferences=[...Array(e.pAspectReferences.length)].map((t,r)=>e.pAspectReferences[r].constructor.createCopyFrom(e.pAspectReferences[r]))),t},VkRenderPassInputAttachmentAspectCreateInfo.byteLength=32,VkRenderPassInputAttachmentAspectCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},aspectReferenceCount:{byteOffset:16,byteLength:4},pAspectReferences:{byteOffset:24,byteLength:8}},Object.defineProperties(VkRenderPassInputAttachmentAspectCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassInputAttachmentAspectCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassInputAttachmentAspectCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassInputAttachmentAspectCreateInfoKHR.pNext' isn't allowed to be filled")}},aspectReferenceCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassInputAttachmentAspectCreateInfoKHR.aspectReferenceCount"),this.memoryView.setUint32(16,e,!0)}},pAspectReferences:{get(){if(null===this._pAspectReferences&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.aspectReferenceCount,VkInputAttachmentAspectReference);return this._pAspectReferences=e,this.pAspectReferences}return this._pAspectReferences},set(e){if(null!==e&&e.constructor===Array)this._pAspectReferences=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassInputAttachmentAspectCreateInfoKHR.pAspectReferences': Expected 'Array VkInputAttachmentAspectReference' but got '"+typeToString(e)+"'");this._pAspectReferences=null}}}}),VkRenderPassInputAttachmentAspectCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pAspectReferences=null,this._pAspectReferencesNative=null,this.sType=1000117001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.aspectReferenceCount&&(this.aspectReferenceCount=e.aspectReferenceCount),void 0!==e.pAspectReferences&&(this.pAspectReferences=e.pAspectReferences))},VkRenderPassInputAttachmentAspectCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAspectReferences){let e=this._pAspectReferences;if(e.length!==this.aspectReferenceCount)throw new RangeError("Invalid array length, expected length of 'aspectReferenceCount' for 'VkRenderPassInputAttachmentAspectCreateInfoKHR.pAspectReferences'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAspectReferencesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAspectReferencesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkRenderPassInputAttachmentAspectCreateInfoKHR.prototype.reflect=function(e){},VkRenderPassInputAttachmentAspectCreateInfoKHR.createCopyFrom=function(e){let t=new VkRenderPassInputAttachmentAspectCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.aspectReferenceCount=e.aspectReferenceCount,null!==e.pAspectReferences&&(t.pAspectReferences=[...Array(e.pAspectReferences.length)].map((t,r)=>e.pAspectReferences[r].constructor.createCopyFrom(e.pAspectReferences[r]))),t},VkRenderPassInputAttachmentAspectCreateInfoKHR.byteLength=32,VkRenderPassInputAttachmentAspectCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},aspectReferenceCount:{byteOffset:16,byteLength:4},pAspectReferences:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceSurfaceInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSurfaceInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSurfaceInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkPhysicalDeviceSurfaceInfo2KHR.pNext'");switch(t){case 1000255e3:case 1000255001:break;default:throw new TypeError("Invalid type for 'VkPhysicalDeviceSurfaceInfo2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceSurfaceInfo2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},surface:{get(){return this._surface},set(e){if(null!==e&&e.constructor===VkSurfaceKHR)this._surface=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceSurfaceInfo2KHR.surface': Expected 'VkSurfaceKHR' but got '"+typeToString(e)+"'");this._surface=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkPhysicalDeviceSurfaceInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._surface=null,this.sType=1000119e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.surface&&(this.surface=e.surface))},VkPhysicalDeviceSurfaceInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSurfaceInfo2KHR.prototype.reflect=function(e){},VkPhysicalDeviceSurfaceInfo2KHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceSurfaceInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.surface&&(t.surface=e.surface.constructor.createCopyFrom(e.surface)),t},VkPhysicalDeviceSurfaceInfo2KHR.byteLength=24,VkPhysicalDeviceSurfaceInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},surface:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSurfaceCapabilities2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceCapabilities2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceCapabilities2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSurfaceCapabilities2KHR.pNext'");switch(t){case 1000213e3:case 1000111e3:case 1000239e3:case 1000255002:break;default:throw new TypeError("Invalid type for 'VkSurfaceCapabilities2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSurfaceCapabilities2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},surfaceCapabilities:{get(){return this._surfaceCapabilities}}}),VkSurfaceCapabilities2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,null!==this._surfaceCapabilities&&(this.memoryBuffer!==this._surfaceCapabilities.memoryBuffer?this._surfaceCapabilities=new VkSurfaceCapabilitiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._surfaceCapabilities.reset()),this.sType=1000119001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSurfaceCapabilities2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceCapabilities2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(72)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,72),0)},VkSurfaceCapabilities2KHR.createCopyFrom=function(e){let t=new VkSurfaceCapabilities2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.surfaceCapabilities&&(t.surfaceCapabilities=e.surfaceCapabilities.constructor.createCopyFrom(e.surfaceCapabilities)),t},VkSurfaceCapabilities2KHR.byteLength=72,VkSurfaceCapabilities2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},surfaceCapabilities:{byteOffset:16,byteLength:52}},Object.defineProperties(VkSurfaceFormat2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceFormat2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceFormat2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSurfaceFormat2KHR.pNext' isn't allowed to be filled")}},surfaceFormat:{get(){return this._surfaceFormat}}}),VkSurfaceFormat2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,null!==this._surfaceFormat&&(this.memoryBuffer!==this._surfaceFormat.memoryBuffer?this._surfaceFormat=new VkSurfaceFormatKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._surfaceFormat.reset()),this.sType=1000119002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSurfaceFormat2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceFormat2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkSurfaceFormat2KHR.createCopyFrom=function(e){let t=new VkSurfaceFormat2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.surfaceFormat&&(t.surfaceFormat=e.surfaceFormat.constructor.createCopyFrom(e.surfaceFormat)),t},VkSurfaceFormat2KHR.byteLength=24,VkSurfaceFormat2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},surfaceFormat:{byteOffset:16,byteLength:8}},Object.defineProperties(VkDisplayProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayProperties2KHR.pNext' isn't allowed to be filled")}},displayProperties:{get(){return this._displayProperties}}}),VkDisplayProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._displayProperties&&(this.memoryBuffer!==this._displayProperties.memoryBuffer?this._displayProperties=new VkDisplayPropertiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._displayProperties.reset()),this.sType=1000121e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDisplayProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkDisplayProperties2KHR.createCopyFrom=function(e){let t=new VkDisplayProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.displayProperties&&(t.displayProperties=e.displayProperties.constructor.createCopyFrom(e.displayProperties)),t},VkDisplayProperties2KHR.byteLength=64,VkDisplayProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},displayProperties:{byteOffset:16,byteLength:48}},Object.defineProperties(VkDisplayPlaneProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayPlaneProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayPlaneProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayPlaneProperties2KHR.pNext' isn't allowed to be filled")}},displayPlaneProperties:{get(){return this._displayPlaneProperties}}}),VkDisplayPlaneProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._displayPlaneProperties&&(this.memoryBuffer!==this._displayPlaneProperties.memoryBuffer?this._displayPlaneProperties=new VkDisplayPlanePropertiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._displayPlaneProperties.reset()),this.sType=1000121001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDisplayPlaneProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayPlaneProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkDisplayPlaneProperties2KHR.createCopyFrom=function(e){let t=new VkDisplayPlaneProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.displayPlaneProperties&&(t.displayPlaneProperties=e.displayPlaneProperties.constructor.createCopyFrom(e.displayPlaneProperties)),t},VkDisplayPlaneProperties2KHR.byteLength=32,VkDisplayPlaneProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},displayPlaneProperties:{byteOffset:16,byteLength:16}},Object.defineProperties(VkDisplayModeProperties2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayModeProperties2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayModeProperties2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayModeProperties2KHR.pNext' isn't allowed to be filled")}},displayModeProperties:{get(){return this._displayModeProperties}}}),VkDisplayModeProperties2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._displayModeProperties&&(this.memoryBuffer!==this._displayModeProperties.memoryBuffer?this._displayModeProperties=new VkDisplayModePropertiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._displayModeProperties.reset()),this.sType=1000121002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDisplayModeProperties2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayModeProperties2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkDisplayModeProperties2KHR.createCopyFrom=function(e){let t=new VkDisplayModeProperties2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.displayModeProperties&&(t.displayModeProperties=e.displayModeProperties.constructor.createCopyFrom(e.displayModeProperties)),t},VkDisplayModeProperties2KHR.byteLength=40,VkDisplayModeProperties2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},displayModeProperties:{byteOffset:16,byteLength:24}},Object.defineProperties(VkDisplayPlaneInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayPlaneInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayPlaneInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayPlaneInfo2KHR.pNext' isn't allowed to be filled")}},mode:{get(){return this._mode},set(e){if(null!==e&&e.constructor===VkDisplayModeKHR)this._mode=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDisplayPlaneInfo2KHR.mode': Expected 'VkDisplayModeKHR' but got '"+typeToString(e)+"'");this._mode=null,this.memoryView.setBigInt64(16,BI0,!0)}}},planeIndex:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDisplayPlaneInfo2KHR.planeIndex"),this.memoryView.setUint32(24,e,!0)}}}),VkDisplayPlaneInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._mode=null,this.sType=1000121003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.planeIndex&&(this.planeIndex=e.planeIndex))},VkDisplayPlaneInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayPlaneInfo2KHR.prototype.reflect=function(e){},VkDisplayPlaneInfo2KHR.createCopyFrom=function(e){let t=new VkDisplayPlaneInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.mode&&(t.mode=e.mode.constructor.createCopyFrom(e.mode)),t.planeIndex=e.planeIndex,t},VkDisplayPlaneInfo2KHR.byteLength=32,VkDisplayPlaneInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},mode:{byteOffset:16,byteLength:8},planeIndex:{byteOffset:24,byteLength:4}},Object.defineProperties(VkDisplayPlaneCapabilities2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDisplayPlaneCapabilities2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDisplayPlaneCapabilities2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDisplayPlaneCapabilities2KHR.pNext' isn't allowed to be filled")}},capabilities:{get(){return this._capabilities}}}),VkDisplayPlaneCapabilities2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,88)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x58"],0),this._pNext=null,null!==this._capabilities&&(this.memoryBuffer!==this._capabilities.memoryBuffer?this._capabilities=new VkDisplayPlaneCapabilitiesKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._capabilities.reset()),this.sType=1000121004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDisplayPlaneCapabilities2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDisplayPlaneCapabilities2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(88)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,88),0)},VkDisplayPlaneCapabilities2KHR.createCopyFrom=function(e){let t=new VkDisplayPlaneCapabilities2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.capabilities&&(t.capabilities=e.capabilities.constructor.createCopyFrom(e.capabilities)),t},VkDisplayPlaneCapabilities2KHR.byteLength=88,VkDisplayPlaneCapabilities2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},capabilities:{byteOffset:16,byteLength:68}},Object.defineProperties(VkSharedPresentSurfaceCapabilitiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSharedPresentSurfaceCapabilitiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSharedPresentSurfaceCapabilitiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSharedPresentSurfaceCapabilitiesKHR.pNext' isn't allowed to be filled")}},sharedPresentSupportedUsageFlags:{get(){return this.memoryView.getInt32(16,!0)}}}),VkSharedPresentSurfaceCapabilitiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000111e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSharedPresentSurfaceCapabilitiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSharedPresentSurfaceCapabilitiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkSharedPresentSurfaceCapabilitiesKHR.createCopyFrom=function(e){let t=new VkSharedPresentSurfaceCapabilitiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.sharedPresentSupportedUsageFlags=e.sharedPresentSupportedUsageFlags,t},VkSharedPresentSurfaceCapabilitiesKHR.byteLength=24,VkSharedPresentSurfaceCapabilitiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},sharedPresentSupportedUsageFlags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDevice16BitStorageFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevice16BitStorageFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevice16BitStorageFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevice16BitStorageFeatures.pNext' isn't allowed to be filled")}},storageBuffer16BitAccess:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},uniformAndStorageBuffer16BitAccess:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},storagePushConstant16:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},storageInputOutput16:{get(){return 0!==this.memoryView.getUint32(28,!0)},set(e){this.memoryView.setUint32(28,0|e,!0)}}}),VkPhysicalDevice16BitStorageFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000083e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.storageBuffer16BitAccess&&(this.storageBuffer16BitAccess=e.storageBuffer16BitAccess),void 0!==e.uniformAndStorageBuffer16BitAccess&&(this.uniformAndStorageBuffer16BitAccess=e.uniformAndStorageBuffer16BitAccess),void 0!==e.storagePushConstant16&&(this.storagePushConstant16=e.storagePushConstant16),void 0!==e.storageInputOutput16&&(this.storageInputOutput16=e.storageInputOutput16))},VkPhysicalDevice16BitStorageFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevice16BitStorageFeatures.prototype.reflect=function(e){},VkPhysicalDevice16BitStorageFeatures.createCopyFrom=function(e){let t=new VkPhysicalDevice16BitStorageFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.storageBuffer16BitAccess=e.storageBuffer16BitAccess,t.uniformAndStorageBuffer16BitAccess=e.uniformAndStorageBuffer16BitAccess,t.storagePushConstant16=e.storagePushConstant16,t.storageInputOutput16=e.storageInputOutput16,t},VkPhysicalDevice16BitStorageFeatures.byteLength=32,VkPhysicalDevice16BitStorageFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},storageBuffer16BitAccess:{byteOffset:16,byteLength:4},uniformAndStorageBuffer16BitAccess:{byteOffset:20,byteLength:4},storagePushConstant16:{byteOffset:24,byteLength:4},storageInputOutput16:{byteOffset:28,byteLength:4}},Object.defineProperties(VkPhysicalDevice16BitStorageFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevice16BitStorageFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevice16BitStorageFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevice16BitStorageFeaturesKHR.pNext' isn't allowed to be filled")}},storageBuffer16BitAccess:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},uniformAndStorageBuffer16BitAccess:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},storagePushConstant16:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},storageInputOutput16:{get(){return 0!==this.memoryView.getUint32(28,!0)},set(e){this.memoryView.setUint32(28,0|e,!0)}}}),VkPhysicalDevice16BitStorageFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000083e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.storageBuffer16BitAccess&&(this.storageBuffer16BitAccess=e.storageBuffer16BitAccess),void 0!==e.uniformAndStorageBuffer16BitAccess&&(this.uniformAndStorageBuffer16BitAccess=e.uniformAndStorageBuffer16BitAccess),void 0!==e.storagePushConstant16&&(this.storagePushConstant16=e.storagePushConstant16),void 0!==e.storageInputOutput16&&(this.storageInputOutput16=e.storageInputOutput16))},VkPhysicalDevice16BitStorageFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevice16BitStorageFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDevice16BitStorageFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDevice16BitStorageFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.storageBuffer16BitAccess=e.storageBuffer16BitAccess,t.uniformAndStorageBuffer16BitAccess=e.uniformAndStorageBuffer16BitAccess,t.storagePushConstant16=e.storagePushConstant16,t.storageInputOutput16=e.storageInputOutput16,t},VkPhysicalDevice16BitStorageFeaturesKHR.byteLength=32,VkPhysicalDevice16BitStorageFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},storageBuffer16BitAccess:{byteOffset:16,byteLength:4},uniformAndStorageBuffer16BitAccess:{byteOffset:20,byteLength:4},storagePushConstant16:{byteOffset:24,byteLength:4},storageInputOutput16:{byteOffset:28,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSubgroupProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSubgroupProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSubgroupProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSubgroupProperties.pNext' isn't allowed to be filled")}},subgroupSize:{get(){return this.memoryView.getUint32(16,!0)}},supportedStages:{get(){return this.memoryView.getInt32(20,!0)}},supportedOperations:{get(){return this.memoryView.getInt32(24,!0)}},quadOperationsInAllStages:{get(){return 0!==this.memoryView.getUint32(28,!0)}}}),VkPhysicalDeviceSubgroupProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000094e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceSubgroupProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSubgroupProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceSubgroupProperties.createCopyFrom=function(e){let t=new VkPhysicalDeviceSubgroupProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.subgroupSize=e.subgroupSize,t.supportedStages=e.supportedStages,t.supportedOperations=e.supportedOperations,t.quadOperationsInAllStages=e.quadOperationsInAllStages,t},VkPhysicalDeviceSubgroupProperties.byteLength=32,VkPhysicalDeviceSubgroupProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},subgroupSize:{byteOffset:16,byteLength:4},supportedStages:{byteOffset:20,byteLength:4},supportedOperations:{byteOffset:24,byteLength:4},quadOperationsInAllStages:{byteOffset:28,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.pNext' isn't allowed to be filled")}},shaderSubgroupExtendedTypes:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000175e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderSubgroupExtendedTypes&&(this.shaderSubgroupExtendedTypes=e.shaderSubgroupExtendedTypes))},VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderSubgroupExtendedTypes=e.shaderSubgroupExtendedTypes,t},VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.byteLength=24,VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderSubgroupExtendedTypes:{byteOffset:16,byteLength:4}},Object.defineProperties(VkBufferMemoryRequirementsInfo2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferMemoryRequirementsInfo2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferMemoryRequirementsInfo2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBufferMemoryRequirementsInfo2.pNext' isn't allowed to be filled")}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferMemoryRequirementsInfo2.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkBufferMemoryRequirementsInfo2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._buffer=null,this.sType=1000146e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer))},VkBufferMemoryRequirementsInfo2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferMemoryRequirementsInfo2.prototype.reflect=function(e){},VkBufferMemoryRequirementsInfo2.createCopyFrom=function(e){let t=new VkBufferMemoryRequirementsInfo2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkBufferMemoryRequirementsInfo2.byteLength=24,VkBufferMemoryRequirementsInfo2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},buffer:{byteOffset:16,byteLength:8}},Object.defineProperties(VkBufferMemoryRequirementsInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferMemoryRequirementsInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferMemoryRequirementsInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBufferMemoryRequirementsInfo2KHR.pNext' isn't allowed to be filled")}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferMemoryRequirementsInfo2KHR.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkBufferMemoryRequirementsInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._buffer=null,this.sType=1000146e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer))},VkBufferMemoryRequirementsInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferMemoryRequirementsInfo2KHR.prototype.reflect=function(e){},VkBufferMemoryRequirementsInfo2KHR.createCopyFrom=function(e){let t=new VkBufferMemoryRequirementsInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkBufferMemoryRequirementsInfo2KHR.byteLength=24,VkBufferMemoryRequirementsInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},buffer:{byteOffset:16,byteLength:8}},Object.defineProperties(VkImageMemoryRequirementsInfo2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageMemoryRequirementsInfo2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageMemoryRequirementsInfo2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2.pNext'");switch(t){case 1000156003:break;default:throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkImageMemoryRequirementsInfo2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._image=null,this.sType=1000146001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))},VkImageMemoryRequirementsInfo2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageMemoryRequirementsInfo2.prototype.reflect=function(e){},VkImageMemoryRequirementsInfo2.createCopyFrom=function(e){let t=new VkImageMemoryRequirementsInfo2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t},VkImageMemoryRequirementsInfo2.byteLength=24,VkImageMemoryRequirementsInfo2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8}},Object.defineProperties(VkImageMemoryRequirementsInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageMemoryRequirementsInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageMemoryRequirementsInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2KHR.pNext'");switch(t){case 1000156003:break;default:throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageMemoryRequirementsInfo2KHR.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkImageMemoryRequirementsInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._image=null,this.sType=1000146001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))},VkImageMemoryRequirementsInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageMemoryRequirementsInfo2KHR.prototype.reflect=function(e){},VkImageMemoryRequirementsInfo2KHR.createCopyFrom=function(e){let t=new VkImageMemoryRequirementsInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t},VkImageMemoryRequirementsInfo2KHR.byteLength=24,VkImageMemoryRequirementsInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8}},Object.defineProperties(VkImageSparseMemoryRequirementsInfo2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageSparseMemoryRequirementsInfo2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageSparseMemoryRequirementsInfo2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageSparseMemoryRequirementsInfo2.pNext' isn't allowed to be filled")}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageSparseMemoryRequirementsInfo2.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkImageSparseMemoryRequirementsInfo2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._image=null,this.sType=1000146002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))},VkImageSparseMemoryRequirementsInfo2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageSparseMemoryRequirementsInfo2.prototype.reflect=function(e){},VkImageSparseMemoryRequirementsInfo2.createCopyFrom=function(e){let t=new VkImageSparseMemoryRequirementsInfo2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t},VkImageSparseMemoryRequirementsInfo2.byteLength=24,VkImageSparseMemoryRequirementsInfo2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8}},Object.defineProperties(VkImageSparseMemoryRequirementsInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageSparseMemoryRequirementsInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageSparseMemoryRequirementsInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageSparseMemoryRequirementsInfo2KHR.pNext' isn't allowed to be filled")}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageSparseMemoryRequirementsInfo2KHR.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkImageSparseMemoryRequirementsInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._image=null,this.sType=1000146002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image))},VkImageSparseMemoryRequirementsInfo2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageSparseMemoryRequirementsInfo2KHR.prototype.reflect=function(e){},VkImageSparseMemoryRequirementsInfo2KHR.createCopyFrom=function(e){let t=new VkImageSparseMemoryRequirementsInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),t},VkImageSparseMemoryRequirementsInfo2KHR.byteLength=24,VkImageSparseMemoryRequirementsInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8}},Object.defineProperties(VkMemoryRequirements2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryRequirements2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryRequirements2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkMemoryRequirements2.pNext'");switch(t){case 1000127e3:break;default:throw new TypeError("Invalid type for 'VkMemoryRequirements2.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryRequirements2.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},memoryRequirements:{get(){return this._memoryRequirements}}}),VkMemoryRequirements2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._memoryRequirements&&(this.memoryBuffer!==this._memoryRequirements.memoryBuffer?this._memoryRequirements=new VkMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._memoryRequirements.reset()),this.sType=1000146003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryRequirements2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryRequirements2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkMemoryRequirements2.createCopyFrom=function(e){let t=new VkMemoryRequirements2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memoryRequirements&&(t.memoryRequirements=e.memoryRequirements.constructor.createCopyFrom(e.memoryRequirements)),t},VkMemoryRequirements2.byteLength=40,VkMemoryRequirements2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryRequirements:{byteOffset:16,byteLength:24}},Object.defineProperties(VkMemoryRequirements2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryRequirements2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryRequirements2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkMemoryRequirements2KHR.pNext'");switch(t){case 1000127e3:break;default:throw new TypeError("Invalid type for 'VkMemoryRequirements2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryRequirements2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},memoryRequirements:{get(){return this._memoryRequirements}}}),VkMemoryRequirements2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._memoryRequirements&&(this.memoryBuffer!==this._memoryRequirements.memoryBuffer?this._memoryRequirements=new VkMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._memoryRequirements.reset()),this.sType=1000146003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryRequirements2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryRequirements2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkMemoryRequirements2KHR.createCopyFrom=function(e){let t=new VkMemoryRequirements2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memoryRequirements&&(t.memoryRequirements=e.memoryRequirements.constructor.createCopyFrom(e.memoryRequirements)),t},VkMemoryRequirements2KHR.byteLength=40,VkMemoryRequirements2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryRequirements:{byteOffset:16,byteLength:24}},Object.defineProperties(VkSparseImageMemoryRequirements2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSparseImageMemoryRequirements2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSparseImageMemoryRequirements2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSparseImageMemoryRequirements2.pNext' isn't allowed to be filled")}},memoryRequirements:{get(){return this._memoryRequirements}}}),VkSparseImageMemoryRequirements2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._memoryRequirements&&(this.memoryBuffer!==this._memoryRequirements.memoryBuffer?this._memoryRequirements=new VkSparseImageMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._memoryRequirements.reset()),this.sType=1000146004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSparseImageMemoryRequirements2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSparseImageMemoryRequirements2.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkSparseImageMemoryRequirements2.createCopyFrom=function(e){let t=new VkSparseImageMemoryRequirements2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memoryRequirements&&(t.memoryRequirements=e.memoryRequirements.constructor.createCopyFrom(e.memoryRequirements)),t},VkSparseImageMemoryRequirements2.byteLength=64,VkSparseImageMemoryRequirements2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryRequirements:{byteOffset:16,byteLength:48}},Object.defineProperties(VkSparseImageMemoryRequirements2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSparseImageMemoryRequirements2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSparseImageMemoryRequirements2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSparseImageMemoryRequirements2KHR.pNext' isn't allowed to be filled")}},memoryRequirements:{get(){return this._memoryRequirements}}}),VkSparseImageMemoryRequirements2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._memoryRequirements&&(this.memoryBuffer!==this._memoryRequirements.memoryBuffer?this._memoryRequirements=new VkSparseImageMemoryRequirements({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._memoryRequirements.reset()),this.sType=1000146004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSparseImageMemoryRequirements2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSparseImageMemoryRequirements2KHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkSparseImageMemoryRequirements2KHR.createCopyFrom=function(e){let t=new VkSparseImageMemoryRequirements2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.memoryRequirements&&(t.memoryRequirements=e.memoryRequirements.constructor.createCopyFrom(e.memoryRequirements)),t},VkSparseImageMemoryRequirements2KHR.byteLength=64,VkSparseImageMemoryRequirements2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryRequirements:{byteOffset:16,byteLength:48}},Object.defineProperties(VkPhysicalDevicePointClippingProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevicePointClippingProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevicePointClippingProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevicePointClippingProperties.pNext' isn't allowed to be filled")}},pointClippingBehavior:{get(){return this.memoryView.getInt32(16,!0)}}}),VkPhysicalDevicePointClippingProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000117e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDevicePointClippingProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevicePointClippingProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDevicePointClippingProperties.createCopyFrom=function(e){let t=new VkPhysicalDevicePointClippingProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pointClippingBehavior=e.pointClippingBehavior,t},VkPhysicalDevicePointClippingProperties.byteLength=24,VkPhysicalDevicePointClippingProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pointClippingBehavior:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDevicePointClippingPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevicePointClippingPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevicePointClippingPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevicePointClippingPropertiesKHR.pNext' isn't allowed to be filled")}},pointClippingBehavior:{get(){return this.memoryView.getInt32(16,!0)}}}),VkPhysicalDevicePointClippingPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000117e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDevicePointClippingPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevicePointClippingPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDevicePointClippingPropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDevicePointClippingPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pointClippingBehavior=e.pointClippingBehavior,t},VkPhysicalDevicePointClippingPropertiesKHR.byteLength=24,VkPhysicalDevicePointClippingPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pointClippingBehavior:{byteOffset:16,byteLength:4}},Object.defineProperties(VkMemoryDedicatedRequirements.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryDedicatedRequirements.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryDedicatedRequirements.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryDedicatedRequirements.pNext' isn't allowed to be filled")}},prefersDedicatedAllocation:{get(){return 0!==this.memoryView.getUint32(16,!0)}},requiresDedicatedAllocation:{get(){return 0!==this.memoryView.getUint32(20,!0)}}}),VkMemoryDedicatedRequirements.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000127e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryDedicatedRequirements.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryDedicatedRequirements.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMemoryDedicatedRequirements.createCopyFrom=function(e){let t=new VkMemoryDedicatedRequirements;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.prefersDedicatedAllocation=e.prefersDedicatedAllocation,t.requiresDedicatedAllocation=e.requiresDedicatedAllocation,t},VkMemoryDedicatedRequirements.byteLength=24,VkMemoryDedicatedRequirements.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},prefersDedicatedAllocation:{byteOffset:16,byteLength:4},requiresDedicatedAllocation:{byteOffset:20,byteLength:4}},Object.defineProperties(VkMemoryDedicatedRequirementsKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryDedicatedRequirementsKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryDedicatedRequirementsKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryDedicatedRequirementsKHR.pNext' isn't allowed to be filled")}},prefersDedicatedAllocation:{get(){return 0!==this.memoryView.getUint32(16,!0)}},requiresDedicatedAllocation:{get(){return 0!==this.memoryView.getUint32(20,!0)}}}),VkMemoryDedicatedRequirementsKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000127e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryDedicatedRequirementsKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryDedicatedRequirementsKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMemoryDedicatedRequirementsKHR.createCopyFrom=function(e){let t=new VkMemoryDedicatedRequirementsKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.prefersDedicatedAllocation=e.prefersDedicatedAllocation,t.requiresDedicatedAllocation=e.requiresDedicatedAllocation,t},VkMemoryDedicatedRequirementsKHR.byteLength=24,VkMemoryDedicatedRequirementsKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},prefersDedicatedAllocation:{byteOffset:16,byteLength:4},requiresDedicatedAllocation:{byteOffset:20,byteLength:4}},Object.defineProperties(VkMemoryDedicatedAllocateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryDedicatedAllocateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryDedicatedAllocateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryDedicatedAllocateInfo.pNext' isn't allowed to be filled")}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryDedicatedAllocateInfo.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryDedicatedAllocateInfo.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkMemoryDedicatedAllocateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._image=null,this._buffer=null,this.sType=1000127001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.buffer&&(this.buffer=e.buffer))},VkMemoryDedicatedAllocateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryDedicatedAllocateInfo.prototype.reflect=function(e){},VkMemoryDedicatedAllocateInfo.createCopyFrom=function(e){let t=new VkMemoryDedicatedAllocateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkMemoryDedicatedAllocateInfo.byteLength=32,VkMemoryDedicatedAllocateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8},buffer:{byteOffset:24,byteLength:8}},Object.defineProperties(VkMemoryDedicatedAllocateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryDedicatedAllocateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryDedicatedAllocateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryDedicatedAllocateInfoKHR.pNext' isn't allowed to be filled")}},image:{get(){return this._image},set(e){if(null!==e&&e.constructor===VkImage)this._image=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryDedicatedAllocateInfoKHR.image': Expected 'VkImage' but got '"+typeToString(e)+"'");this._image=null,this.memoryView.setBigInt64(16,BI0,!0)}}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkMemoryDedicatedAllocateInfoKHR.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkMemoryDedicatedAllocateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._image=null,this._buffer=null,this.sType=1000127001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.image&&(this.image=e.image),void 0!==e.buffer&&(this.buffer=e.buffer))},VkMemoryDedicatedAllocateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryDedicatedAllocateInfoKHR.prototype.reflect=function(e){},VkMemoryDedicatedAllocateInfoKHR.createCopyFrom=function(e){let t=new VkMemoryDedicatedAllocateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.image&&(t.image=e.image.constructor.createCopyFrom(e.image)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkMemoryDedicatedAllocateInfoKHR.byteLength=32,VkMemoryDedicatedAllocateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},image:{byteOffset:16,byteLength:8},buffer:{byteOffset:24,byteLength:8}},Object.defineProperties(VkImageViewUsageCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewUsageCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageViewUsageCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageViewUsageCreateInfo.pNext' isn't allowed to be filled")}},usage:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageViewUsageCreateInfo.usage"),this.memoryView.setInt32(16,e,!0)}}}),VkImageViewUsageCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000117002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.usage&&(this.usage=e.usage))},VkImageViewUsageCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageViewUsageCreateInfo.prototype.reflect=function(e){},VkImageViewUsageCreateInfo.createCopyFrom=function(e){let t=new VkImageViewUsageCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.usage=e.usage,t},VkImageViewUsageCreateInfo.byteLength=24,VkImageViewUsageCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},usage:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImageViewUsageCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewUsageCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageViewUsageCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageViewUsageCreateInfoKHR.pNext' isn't allowed to be filled")}},usage:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageViewUsageCreateInfoKHR.usage"),this.memoryView.setInt32(16,e,!0)}}}),VkImageViewUsageCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000117002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.usage&&(this.usage=e.usage))},VkImageViewUsageCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageViewUsageCreateInfoKHR.prototype.reflect=function(e){},VkImageViewUsageCreateInfoKHR.createCopyFrom=function(e){let t=new VkImageViewUsageCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.usage=e.usage,t},VkImageViewUsageCreateInfoKHR.byteLength=24,VkImageViewUsageCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},usage:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineTessellationDomainOriginStateCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineTessellationDomainOriginStateCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineTessellationDomainOriginStateCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineTessellationDomainOriginStateCreateInfo.pNext' isn't allowed to be filled")}},domainOrigin:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineTessellationDomainOriginStateCreateInfo.domainOrigin"),!$VAL_R_VkTessellationDomainOrigin(e))throw new RangeError("Invalid value for 'VkPipelineTessellationDomainOriginStateCreateInfo.domainOrigin': '"+e+"' is not a value of 'VkTessellationDomainOrigin'");this.memoryView.setInt32(16,e,!0)}}}),VkPipelineTessellationDomainOriginStateCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000117003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.domainOrigin&&(this.domainOrigin=e.domainOrigin))},VkPipelineTessellationDomainOriginStateCreateInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineTessellationDomainOriginStateCreateInfo.prototype.reflect=function(e){},VkPipelineTessellationDomainOriginStateCreateInfo.createCopyFrom=function(e){let t=new VkPipelineTessellationDomainOriginStateCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.domainOrigin=e.domainOrigin,t},VkPipelineTessellationDomainOriginStateCreateInfo.byteLength=24,VkPipelineTessellationDomainOriginStateCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},domainOrigin:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineTessellationDomainOriginStateCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineTessellationDomainOriginStateCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineTessellationDomainOriginStateCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineTessellationDomainOriginStateCreateInfoKHR.pNext' isn't allowed to be filled")}},domainOrigin:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineTessellationDomainOriginStateCreateInfoKHR.domainOrigin"),!$VAL_R_VkTessellationDomainOrigin(e))throw new RangeError("Invalid value for 'VkPipelineTessellationDomainOriginStateCreateInfoKHR.domainOrigin': '"+e+"' is not a value of 'VkTessellationDomainOrigin'");this.memoryView.setInt32(16,e,!0)}}}),VkPipelineTessellationDomainOriginStateCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000117003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.domainOrigin&&(this.domainOrigin=e.domainOrigin))},VkPipelineTessellationDomainOriginStateCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineTessellationDomainOriginStateCreateInfoKHR.prototype.reflect=function(e){},VkPipelineTessellationDomainOriginStateCreateInfoKHR.createCopyFrom=function(e){let t=new VkPipelineTessellationDomainOriginStateCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.domainOrigin=e.domainOrigin,t},VkPipelineTessellationDomainOriginStateCreateInfoKHR.byteLength=24,VkPipelineTessellationDomainOriginStateCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},domainOrigin:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSamplerYcbcrConversionInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSamplerYcbcrConversionInfo.pNext' isn't allowed to be filled")}},conversion:{get(){return this._conversion},set(e){if(null!==e&&e.constructor===VkSamplerYcbcrConversion)this._conversion=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionInfo.conversion': Expected 'VkSamplerYcbcrConversion' but got '"+typeToString(e)+"'");this._conversion=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkSamplerYcbcrConversionInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._conversion=null,this.sType=1000156001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conversion&&(this.conversion=e.conversion))},VkSamplerYcbcrConversionInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSamplerYcbcrConversionInfo.prototype.reflect=function(e){},VkSamplerYcbcrConversionInfo.createCopyFrom=function(e){let t=new VkSamplerYcbcrConversionInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.conversion&&(t.conversion=e.conversion.constructor.createCopyFrom(e.conversion)),t},VkSamplerYcbcrConversionInfo.byteLength=24,VkSamplerYcbcrConversionInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},conversion:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSamplerYcbcrConversionInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSamplerYcbcrConversionInfoKHR.pNext' isn't allowed to be filled")}},conversion:{get(){return this._conversion},set(e){if(null!==e&&e.constructor===VkSamplerYcbcrConversion)this._conversion=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionInfoKHR.conversion': Expected 'VkSamplerYcbcrConversion' but got '"+typeToString(e)+"'");this._conversion=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkSamplerYcbcrConversionInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._conversion=null,this.sType=1000156001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conversion&&(this.conversion=e.conversion))},VkSamplerYcbcrConversionInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSamplerYcbcrConversionInfoKHR.prototype.reflect=function(e){},VkSamplerYcbcrConversionInfoKHR.createCopyFrom=function(e){let t=new VkSamplerYcbcrConversionInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.conversion&&(t.conversion=e.conversion.constructor.createCopyFrom(e.conversion)),t},VkSamplerYcbcrConversionInfoKHR.byteLength=24,VkSamplerYcbcrConversionInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},conversion:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSamplerYcbcrConversionCreateInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfo.pNext'");switch(t){case 1000129005:break;default:throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfo.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfo.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},format:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}},ycbcrModel:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.ycbcrModel"),!$VAL_R_VkSamplerYcbcrModelConversion(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.ycbcrModel': '"+e+"' is not a value of 'VkSamplerYcbcrModelConversion'");this.memoryView.setInt32(20,e,!0)}},ycbcrRange:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.ycbcrRange"),!$VAL_R_VkSamplerYcbcrRange(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.ycbcrRange': '"+e+"' is not a value of 'VkSamplerYcbcrRange'");this.memoryView.setInt32(24,e,!0)}},components:{get(){return this._components},set(e){if(null!==e&&e.constructor===VkComponentMapping)e.flush(),this._components=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfo.components': Expected 'VkComponentMapping' but got '"+typeToString(e)+"'");this._components=null}}},xChromaOffset:{get(){return this.memoryView.getInt32(44,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.xChromaOffset"),!$VAL_R_VkChromaLocation(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.xChromaOffset': '"+e+"' is not a value of 'VkChromaLocation'");this.memoryView.setInt32(44,e,!0)}},yChromaOffset:{get(){return this.memoryView.getInt32(48,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.yChromaOffset"),!$VAL_R_VkChromaLocation(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.yChromaOffset': '"+e+"' is not a value of 'VkChromaLocation'");this.memoryView.setInt32(48,e,!0)}},chromaFilter:{get(){return this.memoryView.getInt32(52,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfo.chromaFilter"),!$VAL_R_VkFilter(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfo.chromaFilter': '"+e+"' is not a value of 'VkFilter'");this.memoryView.setInt32(52,e,!0)}},forceExplicitReconstruction:{get(){return 0!==this.memoryView.getUint32(56,!0)},set(e){this.memoryView.setUint32(56,0|e,!0)}}}),VkSamplerYcbcrConversionCreateInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._components&&(this.memoryBuffer!==this._components.memoryBuffer?this._components=new VkComponentMapping({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}):this._components.reset()),this.sType=1000156e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.ycbcrModel&&(this.ycbcrModel=e.ycbcrModel),void 0!==e.ycbcrRange&&(this.ycbcrRange=e.ycbcrRange),void 0!==e.components&&(this.components=e.components),void 0!==e.xChromaOffset&&(this.xChromaOffset=e.xChromaOffset),void 0!==e.yChromaOffset&&(this.yChromaOffset=e.yChromaOffset),void 0!==e.chromaFilter&&(this.chromaFilter=e.chromaFilter),void 0!==e.forceExplicitReconstruction&&(this.forceExplicitReconstruction=e.forceExplicitReconstruction))},VkSamplerYcbcrConversionCreateInfo.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._components){let e=this._components;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,28),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSamplerYcbcrConversionCreateInfo.components' isn't used as shared-memory")}}return!0},VkSamplerYcbcrConversionCreateInfo.prototype.reflect=function(e){},VkSamplerYcbcrConversionCreateInfo.createCopyFrom=function(e){let t=new VkSamplerYcbcrConversionCreateInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.format=e.format,t.ycbcrModel=e.ycbcrModel,t.ycbcrRange=e.ycbcrRange,null!==e.components&&(t.components=e.components.constructor.createCopyFrom(e.components)),t.xChromaOffset=e.xChromaOffset,t.yChromaOffset=e.yChromaOffset,t.chromaFilter=e.chromaFilter,t.forceExplicitReconstruction=e.forceExplicitReconstruction,t},VkSamplerYcbcrConversionCreateInfo.byteLength=64,VkSamplerYcbcrConversionCreateInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},format:{byteOffset:16,byteLength:4},ycbcrModel:{byteOffset:20,byteLength:4},ycbcrRange:{byteOffset:24,byteLength:4},components:{byteOffset:28,byteLength:16},xChromaOffset:{byteOffset:44,byteLength:4},yChromaOffset:{byteOffset:48,byteLength:4},chromaFilter:{byteOffset:52,byteLength:4},forceExplicitReconstruction:{byteOffset:56,byteLength:4}},Object.defineProperties(VkSamplerYcbcrConversionCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfoKHR.pNext'");switch(t){case 1000129005:break;default:throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfoKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfoKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},format:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}},ycbcrModel:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.ycbcrModel"),!$VAL_R_VkSamplerYcbcrModelConversion(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.ycbcrModel': '"+e+"' is not a value of 'VkSamplerYcbcrModelConversion'");this.memoryView.setInt32(20,e,!0)}},ycbcrRange:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.ycbcrRange"),!$VAL_R_VkSamplerYcbcrRange(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.ycbcrRange': '"+e+"' is not a value of 'VkSamplerYcbcrRange'");this.memoryView.setInt32(24,e,!0)}},components:{get(){return this._components},set(e){if(null!==e&&e.constructor===VkComponentMapping)e.flush(),this._components=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSamplerYcbcrConversionCreateInfoKHR.components': Expected 'VkComponentMapping' but got '"+typeToString(e)+"'");this._components=null}}},xChromaOffset:{get(){return this.memoryView.getInt32(44,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.xChromaOffset"),!$VAL_R_VkChromaLocation(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.xChromaOffset': '"+e+"' is not a value of 'VkChromaLocation'");this.memoryView.setInt32(44,e,!0)}},yChromaOffset:{get(){return this.memoryView.getInt32(48,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.yChromaOffset"),!$VAL_R_VkChromaLocation(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.yChromaOffset': '"+e+"' is not a value of 'VkChromaLocation'");this.memoryView.setInt32(48,e,!0)}},chromaFilter:{get(){return this.memoryView.getInt32(52,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionCreateInfoKHR.chromaFilter"),!$VAL_R_VkFilter(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionCreateInfoKHR.chromaFilter': '"+e+"' is not a value of 'VkFilter'");this.memoryView.setInt32(52,e,!0)}},forceExplicitReconstruction:{get(){return 0!==this.memoryView.getUint32(56,!0)},set(e){this.memoryView.setUint32(56,0|e,!0)}}}),VkSamplerYcbcrConversionCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._components&&(this.memoryBuffer!==this._components.memoryBuffer?this._components=new VkComponentMapping({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+28}):this._components.reset()),this.sType=1000156e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.format&&(this.format=e.format),void 0!==e.ycbcrModel&&(this.ycbcrModel=e.ycbcrModel),void 0!==e.ycbcrRange&&(this.ycbcrRange=e.ycbcrRange),void 0!==e.components&&(this.components=e.components),void 0!==e.xChromaOffset&&(this.xChromaOffset=e.xChromaOffset),void 0!==e.yChromaOffset&&(this.yChromaOffset=e.yChromaOffset),void 0!==e.chromaFilter&&(this.chromaFilter=e.chromaFilter),void 0!==e.forceExplicitReconstruction&&(this.forceExplicitReconstruction=e.forceExplicitReconstruction))},VkSamplerYcbcrConversionCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._components){let e=this._components;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,28),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSamplerYcbcrConversionCreateInfoKHR.components' isn't used as shared-memory")}}return!0},VkSamplerYcbcrConversionCreateInfoKHR.prototype.reflect=function(e){},VkSamplerYcbcrConversionCreateInfoKHR.createCopyFrom=function(e){let t=new VkSamplerYcbcrConversionCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.format=e.format,t.ycbcrModel=e.ycbcrModel,t.ycbcrRange=e.ycbcrRange,null!==e.components&&(t.components=e.components.constructor.createCopyFrom(e.components)),t.xChromaOffset=e.xChromaOffset,t.yChromaOffset=e.yChromaOffset,t.chromaFilter=e.chromaFilter,t.forceExplicitReconstruction=e.forceExplicitReconstruction,t},VkSamplerYcbcrConversionCreateInfoKHR.byteLength=64,VkSamplerYcbcrConversionCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},format:{byteOffset:16,byteLength:4},ycbcrModel:{byteOffset:20,byteLength:4},ycbcrRange:{byteOffset:24,byteLength:4},components:{byteOffset:28,byteLength:16},xChromaOffset:{byteOffset:44,byteLength:4},yChromaOffset:{byteOffset:48,byteLength:4},chromaFilter:{byteOffset:52,byteLength:4},forceExplicitReconstruction:{byteOffset:56,byteLength:4}},Object.defineProperties(VkBindImagePlaneMemoryInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImagePlaneMemoryInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImagePlaneMemoryInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindImagePlaneMemoryInfo.pNext' isn't allowed to be filled")}},planeAspect:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImagePlaneMemoryInfo.planeAspect"),this.memoryView.setInt32(16,e,!0)}}}),VkBindImagePlaneMemoryInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))},VkBindImagePlaneMemoryInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindImagePlaneMemoryInfo.prototype.reflect=function(e){},VkBindImagePlaneMemoryInfo.createCopyFrom=function(e){let t=new VkBindImagePlaneMemoryInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.planeAspect=e.planeAspect,t},VkBindImagePlaneMemoryInfo.byteLength=24,VkBindImagePlaneMemoryInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},planeAspect:{byteOffset:16,byteLength:4}},Object.defineProperties(VkBindImagePlaneMemoryInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindImagePlaneMemoryInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindImagePlaneMemoryInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindImagePlaneMemoryInfoKHR.pNext' isn't allowed to be filled")}},planeAspect:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindImagePlaneMemoryInfoKHR.planeAspect"),this.memoryView.setInt32(16,e,!0)}}}),VkBindImagePlaneMemoryInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))},VkBindImagePlaneMemoryInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindImagePlaneMemoryInfoKHR.prototype.reflect=function(e){},VkBindImagePlaneMemoryInfoKHR.createCopyFrom=function(e){let t=new VkBindImagePlaneMemoryInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.planeAspect=e.planeAspect,t},VkBindImagePlaneMemoryInfoKHR.byteLength=24,VkBindImagePlaneMemoryInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},planeAspect:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImagePlaneMemoryRequirementsInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImagePlaneMemoryRequirementsInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImagePlaneMemoryRequirementsInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImagePlaneMemoryRequirementsInfo.pNext' isn't allowed to be filled")}},planeAspect:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImagePlaneMemoryRequirementsInfo.planeAspect"),this.memoryView.setInt32(16,e,!0)}}}),VkImagePlaneMemoryRequirementsInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))},VkImagePlaneMemoryRequirementsInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImagePlaneMemoryRequirementsInfo.prototype.reflect=function(e){},VkImagePlaneMemoryRequirementsInfo.createCopyFrom=function(e){let t=new VkImagePlaneMemoryRequirementsInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.planeAspect=e.planeAspect,t},VkImagePlaneMemoryRequirementsInfo.byteLength=24,VkImagePlaneMemoryRequirementsInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},planeAspect:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImagePlaneMemoryRequirementsInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImagePlaneMemoryRequirementsInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImagePlaneMemoryRequirementsInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImagePlaneMemoryRequirementsInfoKHR.pNext' isn't allowed to be filled")}},planeAspect:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImagePlaneMemoryRequirementsInfoKHR.planeAspect"),this.memoryView.setInt32(16,e,!0)}}}),VkImagePlaneMemoryRequirementsInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.planeAspect&&(this.planeAspect=e.planeAspect))},VkImagePlaneMemoryRequirementsInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImagePlaneMemoryRequirementsInfoKHR.prototype.reflect=function(e){},VkImagePlaneMemoryRequirementsInfoKHR.createCopyFrom=function(e){let t=new VkImagePlaneMemoryRequirementsInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.planeAspect=e.planeAspect,t},VkImagePlaneMemoryRequirementsInfoKHR.byteLength=24,VkImagePlaneMemoryRequirementsInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},planeAspect:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSamplerYcbcrConversionFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSamplerYcbcrConversionFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSamplerYcbcrConversionFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSamplerYcbcrConversionFeatures.pNext' isn't allowed to be filled")}},samplerYcbcrConversion:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceSamplerYcbcrConversionFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.samplerYcbcrConversion&&(this.samplerYcbcrConversion=e.samplerYcbcrConversion))},VkPhysicalDeviceSamplerYcbcrConversionFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSamplerYcbcrConversionFeatures.prototype.reflect=function(e){},VkPhysicalDeviceSamplerYcbcrConversionFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceSamplerYcbcrConversionFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.samplerYcbcrConversion=e.samplerYcbcrConversion,t},VkPhysicalDeviceSamplerYcbcrConversionFeatures.byteLength=24,VkPhysicalDeviceSamplerYcbcrConversionFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},samplerYcbcrConversion:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.pNext' isn't allowed to be filled")}},samplerYcbcrConversion:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.samplerYcbcrConversion&&(this.samplerYcbcrConversion=e.samplerYcbcrConversion))},VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.samplerYcbcrConversion=e.samplerYcbcrConversion,t},VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.byteLength=24,VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},samplerYcbcrConversion:{byteOffset:16,byteLength:4}};function VkGeometryAABBNV(e,t){if(new.target!==VkGeometryAABBNV){if("string"==typeof e){let t=getStructFromStack(e,VkGeometryAABBNV,STRUCT_CACHE_VkGeometryAABBNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkGeometryAABBNV,STRUCT_CACHE_VkGeometryAABBNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkGeometryAABBNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._aabbData=null,this.sType=1000165005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.aabbData&&(this.aabbData=e.aabbData),void 0!==e.numAABBs&&(this.numAABBs=e.numAABBs),void 0!==e.stride&&(this.stride=e.stride),void 0!==e.offset&&(this.offset=e.offset))}function VkGeometryDataNV(e,t){if(new.target!==VkGeometryDataNV){if("string"==typeof e){let t=getStructFromStack(e,VkGeometryDataNV,STRUCT_CACHE_VkGeometryDataNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkGeometryDataNV,STRUCT_CACHE_VkGeometryDataNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkGeometryDataNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,136)):(this.memoryBuffer=new ArrayBuffer(136),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,136)),this._triangles=new VkGeometryTrianglesNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._aabbs=new VkGeometryAABBNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+96}),"object"==typeof e&&(void 0!==e.triangles&&(this.triangles=e.triangles),void 0!==e.aabbs&&(this.aabbs=e.aabbs))}function VkGeometryNV(e,t){if(new.target!==VkGeometryNV){if("string"==typeof e){let t=getStructFromStack(e,VkGeometryNV,STRUCT_CACHE_VkGeometryNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkGeometryNV,STRUCT_CACHE_VkGeometryNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkGeometryNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,168)):(this.memoryBuffer=new ArrayBuffer(168),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,168)),this._pNext=null,this._geometry=new VkGeometryDataNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this.sType=1000165003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.geometryType&&(this.geometryType=e.geometryType),void 0!==e.geometry&&(this.geometry=e.geometry),void 0!==e.flags&&(this.flags=e.flags))}function VkAccelerationStructureInfoNV(e,t){if(new.target!==VkAccelerationStructureInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkAccelerationStructureInfoNV,STRUCT_CACHE_VkAccelerationStructureInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAccelerationStructureInfoNV,STRUCT_CACHE_VkAccelerationStructureInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAccelerationStructureInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pGeometries=null,this._pGeometriesNative=null,this.sType=1000165012,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.instanceCount&&(this.instanceCount=e.instanceCount),void 0!==e.geometryCount&&(this.geometryCount=e.geometryCount),void 0!==e.pGeometries&&(this.pGeometries=e.pGeometries))}function VkAccelerationStructureCreateInfoNV(e,t){if(new.target!==VkAccelerationStructureCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkAccelerationStructureCreateInfoNV,STRUCT_CACHE_VkAccelerationStructureCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAccelerationStructureCreateInfoNV,STRUCT_CACHE_VkAccelerationStructureCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAccelerationStructureCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this._info=new VkAccelerationStructureInfoNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this.sType=1000165001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.compactedSize&&(this.compactedSize=e.compactedSize),void 0!==e.info&&(this.info=e.info))}function VkBindAccelerationStructureMemoryInfoNV(e,t){if(new.target!==VkBindAccelerationStructureMemoryInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkBindAccelerationStructureMemoryInfoNV,STRUCT_CACHE_VkBindAccelerationStructureMemoryInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBindAccelerationStructureMemoryInfoNV,STRUCT_CACHE_VkBindAccelerationStructureMemoryInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBindAccelerationStructureMemoryInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,56)):(this.memoryBuffer=new ArrayBuffer(56),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,56)),this._pNext=null,this._accelerationStructure=null,this._memory=null,this._pDeviceIndices=null,this.sType=1000165006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.accelerationStructure&&(this.accelerationStructure=e.accelerationStructure),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices))}function VkWriteDescriptorSetAccelerationStructureNV(e,t){if(new.target!==VkWriteDescriptorSetAccelerationStructureNV){if("string"==typeof e){let t=getStructFromStack(e,VkWriteDescriptorSetAccelerationStructureNV,STRUCT_CACHE_VkWriteDescriptorSetAccelerationStructureNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkWriteDescriptorSetAccelerationStructureNV,STRUCT_CACHE_VkWriteDescriptorSetAccelerationStructureNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkWriteDescriptorSetAccelerationStructureNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pAccelerationStructures=null,this._pAccelerationStructuresNative=null,this.sType=1000165007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.accelerationStructureCount&&(this.accelerationStructureCount=e.accelerationStructureCount),void 0!==e.pAccelerationStructures&&(this.pAccelerationStructures=e.pAccelerationStructures))}function VkAccelerationStructureMemoryRequirementsInfoNV(e,t){if(new.target!==VkAccelerationStructureMemoryRequirementsInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkAccelerationStructureMemoryRequirementsInfoNV,STRUCT_CACHE_VkAccelerationStructureMemoryRequirementsInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkAccelerationStructureMemoryRequirementsInfoNV,STRUCT_CACHE_VkAccelerationStructureMemoryRequirementsInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkAccelerationStructureMemoryRequirementsInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._accelerationStructure=null,this.sType=1000165008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.accelerationStructure&&(this.accelerationStructure=e.accelerationStructure))}function VkPhysicalDeviceRayTracingPropertiesNV(e,t){if(new.target!==VkPhysicalDeviceRayTracingPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceRayTracingPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceRayTracingPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceRayTracingPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceRayTracingPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceRayTracingPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,64)):(this.memoryBuffer=new ArrayBuffer(64),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,64)),this._pNext=null,this.sType=1000165009,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDrmFormatModifierPropertiesListEXT(e,t){if(new.target!==VkDrmFormatModifierPropertiesListEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDrmFormatModifierPropertiesListEXT,STRUCT_CACHE_VkDrmFormatModifierPropertiesListEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDrmFormatModifierPropertiesListEXT,STRUCT_CACHE_VkDrmFormatModifierPropertiesListEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDrmFormatModifierPropertiesListEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDrmFormatModifierProperties=null,this._pDrmFormatModifierPropertiesNative=null,this.sType=1000158e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkDrmFormatModifierPropertiesEXT(e,t){if(new.target!==VkDrmFormatModifierPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkDrmFormatModifierPropertiesEXT,STRUCT_CACHE_VkDrmFormatModifierPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDrmFormatModifierPropertiesEXT,STRUCT_CACHE_VkDrmFormatModifierPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDrmFormatModifierPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16))}function VkPhysicalDeviceImageDrmFormatModifierInfoEXT(e,t){if(new.target!==VkPhysicalDeviceImageDrmFormatModifierInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceImageDrmFormatModifierInfoEXT,STRUCT_CACHE_VkPhysicalDeviceImageDrmFormatModifierInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceImageDrmFormatModifierInfoEXT,STRUCT_CACHE_VkPhysicalDeviceImageDrmFormatModifierInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceImageDrmFormatModifierInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pQueueFamilyIndices=null,this.sType=1000158002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.drmFormatModifier&&(this.drmFormatModifier=e.drmFormatModifier),void 0!==e.sharingMode&&(this.sharingMode=e.sharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices))}function VkImageDrmFormatModifierListCreateInfoEXT(e,t){if(new.target!==VkImageDrmFormatModifierListCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkImageDrmFormatModifierListCreateInfoEXT,STRUCT_CACHE_VkImageDrmFormatModifierListCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageDrmFormatModifierListCreateInfoEXT,STRUCT_CACHE_VkImageDrmFormatModifierListCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageDrmFormatModifierListCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pDrmFormatModifiers=null,this.sType=1000158003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.drmFormatModifierCount&&(this.drmFormatModifierCount=e.drmFormatModifierCount),void 0!==e.pDrmFormatModifiers&&(this.pDrmFormatModifiers=e.pDrmFormatModifiers))}function VkImageDrmFormatModifierExplicitCreateInfoEXT(e,t){if(new.target!==VkImageDrmFormatModifierExplicitCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkImageDrmFormatModifierExplicitCreateInfoEXT,STRUCT_CACHE_VkImageDrmFormatModifierExplicitCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageDrmFormatModifierExplicitCreateInfoEXT,STRUCT_CACHE_VkImageDrmFormatModifierExplicitCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageDrmFormatModifierExplicitCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pPlaneLayouts=null,this._pPlaneLayoutsNative=null,this.sType=1000158004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.drmFormatModifier&&(this.drmFormatModifier=e.drmFormatModifier),void 0!==e.drmFormatModifierPlaneCount&&(this.drmFormatModifierPlaneCount=e.drmFormatModifierPlaneCount),void 0!==e.pPlaneLayouts&&(this.pPlaneLayouts=e.pPlaneLayouts))}function VkImageDrmFormatModifierPropertiesEXT(e,t){if(new.target!==VkImageDrmFormatModifierPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkImageDrmFormatModifierPropertiesEXT,STRUCT_CACHE_VkImageDrmFormatModifierPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageDrmFormatModifierPropertiesEXT,STRUCT_CACHE_VkImageDrmFormatModifierPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageDrmFormatModifierPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000158005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkImageStencilUsageCreateInfoEXT(e,t){if(new.target!==VkImageStencilUsageCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkImageStencilUsageCreateInfoEXT,STRUCT_CACHE_VkImageStencilUsageCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageStencilUsageCreateInfoEXT,STRUCT_CACHE_VkImageStencilUsageCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageStencilUsageCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000246e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.stencilUsage&&(this.stencilUsage=e.stencilUsage))}function VkDeviceMemoryOverallocationCreateInfoAMD(e,t){if(new.target!==VkDeviceMemoryOverallocationCreateInfoAMD){if("string"==typeof e){let t=getStructFromStack(e,VkDeviceMemoryOverallocationCreateInfoAMD,STRUCT_CACHE_VkDeviceMemoryOverallocationCreateInfoAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkDeviceMemoryOverallocationCreateInfoAMD,STRUCT_CACHE_VkDeviceMemoryOverallocationCreateInfoAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkDeviceMemoryOverallocationCreateInfoAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000189e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.overallocationBehavior&&(this.overallocationBehavior=e.overallocationBehavior))}function VkPhysicalDeviceFragmentDensityMapFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceFragmentDensityMapFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFragmentDensityMapFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceFragmentDensityMapFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFragmentDensityMapFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceFragmentDensityMapFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFragmentDensityMapFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000218e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceFragmentDensityMapPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceFragmentDensityMapPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFragmentDensityMapPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceFragmentDensityMapPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFragmentDensityMapPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceFragmentDensityMapPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFragmentDensityMapPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._minFragmentDensityTexelSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this._maxFragmentDensityTexelSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}),this.sType=1000218001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkRenderPassFragmentDensityMapCreateInfoEXT(e,t){if(new.target!==VkRenderPassFragmentDensityMapCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassFragmentDensityMapCreateInfoEXT,STRUCT_CACHE_VkRenderPassFragmentDensityMapCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassFragmentDensityMapCreateInfoEXT,STRUCT_CACHE_VkRenderPassFragmentDensityMapCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassFragmentDensityMapCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._fragmentDensityMapAttachment=new VkAttachmentReference({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}),this.sType=1000218002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fragmentDensityMapAttachment&&(this.fragmentDensityMapAttachment=e.fragmentDensityMapAttachment))}function VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceScalarBlockLayoutFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceScalarBlockLayoutFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceScalarBlockLayoutFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceScalarBlockLayoutFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000221e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.scalarBlockLayout&&(this.scalarBlockLayout=e.scalarBlockLayout))}function VkSurfaceProtectedCapabilitiesKHR(e,t){if(new.target!==VkSurfaceProtectedCapabilitiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceProtectedCapabilitiesKHR,STRUCT_CACHE_VkSurfaceProtectedCapabilitiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceProtectedCapabilitiesKHR,STRUCT_CACHE_VkSurfaceProtectedCapabilitiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceProtectedCapabilitiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000239e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.supportsProtected&&(this.supportsProtected=e.supportsProtected))}function VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000253e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.uniformBufferStandardLayout&&(this.uniformBufferStandardLayout=e.uniformBufferStandardLayout))}function VkPhysicalDeviceDepthClipEnableFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceDepthClipEnableFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceDepthClipEnableFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceDepthClipEnableFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceDepthClipEnableFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceDepthClipEnableFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceDepthClipEnableFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000102e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.depthClipEnable&&(this.depthClipEnable=e.depthClipEnable))}function VkPipelineRasterizationDepthClipStateCreateInfoEXT(e,t){if(new.target!==VkPipelineRasterizationDepthClipStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRasterizationDepthClipStateCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationDepthClipStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRasterizationDepthClipStateCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationDepthClipStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRasterizationDepthClipStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000102001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.depthClipEnable&&(this.depthClipEnable=e.depthClipEnable))}function VkPhysicalDeviceMemoryBudgetPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceMemoryBudgetPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMemoryBudgetPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceMemoryBudgetPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMemoryBudgetPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceMemoryBudgetPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMemoryBudgetPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,272)):(this.memoryBuffer=new ArrayBuffer(272),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,272)),this._pNext=null,this._heapBudget=[...Array(16)].fill(0),this._heapUsage=[...Array(16)].fill(0),this.sType=1000237e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceMemoryPriorityFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceMemoryPriorityFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceMemoryPriorityFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceMemoryPriorityFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceMemoryPriorityFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceMemoryPriorityFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceMemoryPriorityFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000238e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memoryPriority&&(this.memoryPriority=e.memoryPriority))}function VkMemoryPriorityAllocateInfoEXT(e,t){if(new.target!==VkMemoryPriorityAllocateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkMemoryPriorityAllocateInfoEXT,STRUCT_CACHE_VkMemoryPriorityAllocateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkMemoryPriorityAllocateInfoEXT,STRUCT_CACHE_VkMemoryPriorityAllocateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkMemoryPriorityAllocateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000238001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.priority&&(this.priority=e.priority))}function VkPhysicalDeviceBufferDeviceAddressFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceBufferDeviceAddressFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceBufferDeviceAddressFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceBufferDeviceAddressFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceBufferDeviceAddressFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000244e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.bufferDeviceAddress&&(this.bufferDeviceAddress=e.bufferDeviceAddress),void 0!==e.bufferDeviceAddressCaptureReplay&&(this.bufferDeviceAddressCaptureReplay=e.bufferDeviceAddressCaptureReplay),void 0!==e.bufferDeviceAddressMultiDevice&&(this.bufferDeviceAddressMultiDevice=e.bufferDeviceAddressMultiDevice))}function VkPhysicalDeviceBufferAddressFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceBufferAddressFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceBufferAddressFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceBufferAddressFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceBufferAddressFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceBufferAddressFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceBufferAddressFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000244e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.bufferDeviceAddress&&(this.bufferDeviceAddress=e.bufferDeviceAddress),void 0!==e.bufferDeviceAddressCaptureReplay&&(this.bufferDeviceAddressCaptureReplay=e.bufferDeviceAddressCaptureReplay),void 0!==e.bufferDeviceAddressMultiDevice&&(this.bufferDeviceAddressMultiDevice=e.bufferDeviceAddressMultiDevice))}function VkBufferDeviceAddressInfoEXT(e,t){if(new.target!==VkBufferDeviceAddressInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkBufferDeviceAddressInfoEXT,STRUCT_CACHE_VkBufferDeviceAddressInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferDeviceAddressInfoEXT,STRUCT_CACHE_VkBufferDeviceAddressInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferDeviceAddressInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._buffer=null,this.sType=1000244001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer))}function VkBufferDeviceAddressCreateInfoEXT(e,t){if(new.target!==VkBufferDeviceAddressCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkBufferDeviceAddressCreateInfoEXT,STRUCT_CACHE_VkBufferDeviceAddressCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkBufferDeviceAddressCreateInfoEXT,STRUCT_CACHE_VkBufferDeviceAddressCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkBufferDeviceAddressCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000244002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceAddress&&(this.deviceAddress=e.deviceAddress))}function VkPhysicalDeviceImageViewImageFormatInfoEXT(e,t){if(new.target!==VkPhysicalDeviceImageViewImageFormatInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceImageViewImageFormatInfoEXT,STRUCT_CACHE_VkPhysicalDeviceImageViewImageFormatInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceImageViewImageFormatInfoEXT,STRUCT_CACHE_VkPhysicalDeviceImageViewImageFormatInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceImageViewImageFormatInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100017e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imageViewType&&(this.imageViewType=e.imageViewType))}function VkFilterCubicImageViewImageFormatPropertiesEXT(e,t){if(new.target!==VkFilterCubicImageViewImageFormatPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkFilterCubicImageViewImageFormatPropertiesEXT,STRUCT_CACHE_VkFilterCubicImageViewImageFormatPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFilterCubicImageViewImageFormatPropertiesEXT,STRUCT_CACHE_VkFilterCubicImageViewImageFormatPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFilterCubicImageViewImageFormatPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000170001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceImagelessFramebufferFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceImagelessFramebufferFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceImagelessFramebufferFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceImagelessFramebufferFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceImagelessFramebufferFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceImagelessFramebufferFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceImagelessFramebufferFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000108e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imagelessFramebuffer&&(this.imagelessFramebuffer=e.imagelessFramebuffer))}function VkFramebufferAttachmentsCreateInfoKHR(e,t){if(new.target!==VkFramebufferAttachmentsCreateInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkFramebufferAttachmentsCreateInfoKHR,STRUCT_CACHE_VkFramebufferAttachmentsCreateInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFramebufferAttachmentsCreateInfoKHR,STRUCT_CACHE_VkFramebufferAttachmentsCreateInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFramebufferAttachmentsCreateInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pAttachmentImageInfos=null,this._pAttachmentImageInfosNative=null,this.sType=1000108001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachmentImageInfoCount&&(this.attachmentImageInfoCount=e.attachmentImageInfoCount),void 0!==e.pAttachmentImageInfos&&(this.pAttachmentImageInfos=e.pAttachmentImageInfos))}function VkFramebufferAttachmentImageInfoKHR(e,t){if(new.target!==VkFramebufferAttachmentImageInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkFramebufferAttachmentImageInfoKHR,STRUCT_CACHE_VkFramebufferAttachmentImageInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFramebufferAttachmentImageInfoKHR,STRUCT_CACHE_VkFramebufferAttachmentImageInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFramebufferAttachmentImageInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this._pViewFormats=null,this.sType=1000108002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height),void 0!==e.layerCount&&(this.layerCount=e.layerCount),void 0!==e.viewFormatCount&&(this.viewFormatCount=e.viewFormatCount),void 0!==e.pViewFormats&&(this.pViewFormats=e.pViewFormats))}function VkRenderPassAttachmentBeginInfoKHR(e,t){if(new.target!==VkRenderPassAttachmentBeginInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkRenderPassAttachmentBeginInfoKHR,STRUCT_CACHE_VkRenderPassAttachmentBeginInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkRenderPassAttachmentBeginInfoKHR,STRUCT_CACHE_VkRenderPassAttachmentBeginInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkRenderPassAttachmentBeginInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this.sType=1000108003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments))}function VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000066e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.textureCompressionASTC_HDR&&(this.textureCompressionASTC_HDR=e.textureCompressionASTC_HDR))}function VkPhysicalDeviceCooperativeMatrixFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceCooperativeMatrixFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceCooperativeMatrixFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceCooperativeMatrixFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceCooperativeMatrixFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceCooperativeMatrixFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceCooperativeMatrixFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000249e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.cooperativeMatrix&&(this.cooperativeMatrix=e.cooperativeMatrix),void 0!==e.cooperativeMatrixRobustBufferAccess&&(this.cooperativeMatrixRobustBufferAccess=e.cooperativeMatrixRobustBufferAccess))}function VkPhysicalDeviceCooperativeMatrixPropertiesNV(e,t){if(new.target!==VkPhysicalDeviceCooperativeMatrixPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceCooperativeMatrixPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceCooperativeMatrixPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceCooperativeMatrixPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceCooperativeMatrixPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceCooperativeMatrixPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000249002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkCooperativeMatrixPropertiesNV(e,t){if(new.target!==VkCooperativeMatrixPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkCooperativeMatrixPropertiesNV,STRUCT_CACHE_VkCooperativeMatrixPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkCooperativeMatrixPropertiesNV,STRUCT_CACHE_VkCooperativeMatrixPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkCooperativeMatrixPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this.sType=1000249001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.MSize&&(this.MSize=e.MSize),void 0!==e.NSize&&(this.NSize=e.NSize),void 0!==e.KSize&&(this.KSize=e.KSize),void 0!==e.AType&&(this.AType=e.AType),void 0!==e.BType&&(this.BType=e.BType),void 0!==e.CType&&(this.CType=e.CType),void 0!==e.DType&&(this.DType=e.DType),void 0!==e.scope&&(this.scope=e.scope))}function VkPhysicalDeviceYcbcrImageArraysFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceYcbcrImageArraysFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceYcbcrImageArraysFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceYcbcrImageArraysFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceYcbcrImageArraysFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000252e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.ycbcrImageArrays&&(this.ycbcrImageArrays=e.ycbcrImageArrays))}function VkImageViewHandleInfoNVX(e,t){if(new.target!==VkImageViewHandleInfoNVX){if("string"==typeof e){let t=getStructFromStack(e,VkImageViewHandleInfoNVX,STRUCT_CACHE_VkImageViewHandleInfoNVX);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkImageViewHandleInfoNVX,STRUCT_CACHE_VkImageViewHandleInfoNVX);return r.reset(e),r}throw new Error("Invalid Signature for 'VkImageViewHandleInfoNVX'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._imageView=null,this._sampler=null,this.sType=100003e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imageView&&(this.imageView=e.imageView),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.sampler&&(this.sampler=e.sampler))}function VkPipelineCreationFeedbackEXT(e,t){if(new.target!==VkPipelineCreationFeedbackEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCreationFeedbackEXT,STRUCT_CACHE_VkPipelineCreationFeedbackEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCreationFeedbackEXT,STRUCT_CACHE_VkPipelineCreationFeedbackEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCreationFeedbackEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16))}function VkPipelineCreationFeedbackCreateInfoEXT(e,t){if(new.target!==VkPipelineCreationFeedbackCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCreationFeedbackCreateInfoEXT,STRUCT_CACHE_VkPipelineCreationFeedbackCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCreationFeedbackCreateInfoEXT,STRUCT_CACHE_VkPipelineCreationFeedbackCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCreationFeedbackCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this._pPipelineCreationFeedback=null,this._pPipelineStageCreationFeedbacks=null,this._pPipelineStageCreationFeedbacksNative=null,this.sType=1000192e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pPipelineCreationFeedback&&(this.pPipelineCreationFeedback=e.pPipelineCreationFeedback),void 0!==e.pipelineStageCreationFeedbackCount&&(this.pipelineStageCreationFeedbackCount=e.pipelineStageCreationFeedbackCount),void 0!==e.pPipelineStageCreationFeedbacks&&(this.pPipelineStageCreationFeedbacks=e.pPipelineStageCreationFeedbacks))}function VkSurfaceFullScreenExclusiveInfoEXT(e,t){if(new.target!==VkSurfaceFullScreenExclusiveInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceFullScreenExclusiveInfoEXT,STRUCT_CACHE_VkSurfaceFullScreenExclusiveInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceFullScreenExclusiveInfoEXT,STRUCT_CACHE_VkSurfaceFullScreenExclusiveInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceFullScreenExclusiveInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000255e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fullScreenExclusive&&(this.fullScreenExclusive=e.fullScreenExclusive))}function VkSurfaceFullScreenExclusiveWin32InfoEXT(e,t){if(new.target!==VkSurfaceFullScreenExclusiveWin32InfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceFullScreenExclusiveWin32InfoEXT,STRUCT_CACHE_VkSurfaceFullScreenExclusiveWin32InfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceFullScreenExclusiveWin32InfoEXT,STRUCT_CACHE_VkSurfaceFullScreenExclusiveWin32InfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceFullScreenExclusiveWin32InfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000255001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkSurfaceCapabilitiesFullScreenExclusiveEXT(e,t){if(new.target!==VkSurfaceCapabilitiesFullScreenExclusiveEXT){if("string"==typeof e){let t=getStructFromStack(e,VkSurfaceCapabilitiesFullScreenExclusiveEXT,STRUCT_CACHE_VkSurfaceCapabilitiesFullScreenExclusiveEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkSurfaceCapabilitiesFullScreenExclusiveEXT,STRUCT_CACHE_VkSurfaceCapabilitiesFullScreenExclusiveEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkSurfaceCapabilitiesFullScreenExclusiveEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000255002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fullScreenExclusiveSupported&&(this.fullScreenExclusiveSupported=e.fullScreenExclusiveSupported))}function VkHeadlessSurfaceCreateInfoEXT(e,t){if(new.target!==VkHeadlessSurfaceCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkHeadlessSurfaceCreateInfoEXT,STRUCT_CACHE_VkHeadlessSurfaceCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkHeadlessSurfaceCreateInfoEXT,STRUCT_CACHE_VkHeadlessSurfaceCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkHeadlessSurfaceCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000256e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))}function VkPhysicalDeviceCoverageReductionModeFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceCoverageReductionModeFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceCoverageReductionModeFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceCoverageReductionModeFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceCoverageReductionModeFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceCoverageReductionModeFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceCoverageReductionModeFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100025e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.coverageReductionMode&&(this.coverageReductionMode=e.coverageReductionMode))}function VkPipelineCoverageReductionStateCreateInfoNV(e,t){if(new.target!==VkPipelineCoverageReductionStateCreateInfoNV){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCoverageReductionStateCreateInfoNV,STRUCT_CACHE_VkPipelineCoverageReductionStateCreateInfoNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCoverageReductionStateCreateInfoNV,STRUCT_CACHE_VkPipelineCoverageReductionStateCreateInfoNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCoverageReductionStateCreateInfoNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000250001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.coverageReductionMode&&(this.coverageReductionMode=e.coverageReductionMode))}function VkFramebufferMixedSamplesCombinationNV(e,t){if(new.target!==VkFramebufferMixedSamplesCombinationNV){if("string"==typeof e){let t=getStructFromStack(e,VkFramebufferMixedSamplesCombinationNV,STRUCT_CACHE_VkFramebufferMixedSamplesCombinationNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkFramebufferMixedSamplesCombinationNV,STRUCT_CACHE_VkFramebufferMixedSamplesCombinationNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkFramebufferMixedSamplesCombinationNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000250002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL(e,t){if(new.target!==VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL,STRUCT_CACHE_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL,STRUCT_CACHE_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000209e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderIntegerFunctions2&&(this.shaderIntegerFunctions2=e.shaderIntegerFunctions2))}function VkPerformanceValueINTEL(e,t){if(new.target!==VkPerformanceValueINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPerformanceValueINTEL,STRUCT_CACHE_VkPerformanceValueINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPerformanceValueINTEL,STRUCT_CACHE_VkPerformanceValueINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPerformanceValueINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._data=new VkPerformanceValueDataINTEL({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}),"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.data&&(this.data=e.data))}function VkInitializePerformanceApiInfoINTEL(e,t){if(new.target!==VkInitializePerformanceApiInfoINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkInitializePerformanceApiInfoINTEL,STRUCT_CACHE_VkInitializePerformanceApiInfoINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkInitializePerformanceApiInfoINTEL,STRUCT_CACHE_VkInitializePerformanceApiInfoINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkInitializePerformanceApiInfoINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._pUserData=null,this.sType=1000210001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pUserData&&(this.pUserData=e.pUserData))}function VkQueryPoolCreateInfoINTEL(e,t){if(new.target!==VkQueryPoolCreateInfoINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkQueryPoolCreateInfoINTEL,STRUCT_CACHE_VkQueryPoolCreateInfoINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkQueryPoolCreateInfoINTEL,STRUCT_CACHE_VkQueryPoolCreateInfoINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkQueryPoolCreateInfoINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=100021e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.performanceCountersSampling&&(this.performanceCountersSampling=e.performanceCountersSampling))}function VkPerformanceMarkerInfoINTEL(e,t){if(new.target!==VkPerformanceMarkerInfoINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPerformanceMarkerInfoINTEL,STRUCT_CACHE_VkPerformanceMarkerInfoINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPerformanceMarkerInfoINTEL,STRUCT_CACHE_VkPerformanceMarkerInfoINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPerformanceMarkerInfoINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000210002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.marker&&(this.marker=e.marker))}function VkPerformanceStreamMarkerInfoINTEL(e,t){if(new.target!==VkPerformanceStreamMarkerInfoINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPerformanceStreamMarkerInfoINTEL,STRUCT_CACHE_VkPerformanceStreamMarkerInfoINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPerformanceStreamMarkerInfoINTEL,STRUCT_CACHE_VkPerformanceStreamMarkerInfoINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPerformanceStreamMarkerInfoINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000210003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.marker&&(this.marker=e.marker))}function VkPerformanceOverrideInfoINTEL(e,t){if(new.target!==VkPerformanceOverrideInfoINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPerformanceOverrideInfoINTEL,STRUCT_CACHE_VkPerformanceOverrideInfoINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPerformanceOverrideInfoINTEL,STRUCT_CACHE_VkPerformanceOverrideInfoINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPerformanceOverrideInfoINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000210004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.parameter&&(this.parameter=e.parameter))}function VkPerformanceConfigurationAcquireInfoINTEL(e,t){if(new.target!==VkPerformanceConfigurationAcquireInfoINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPerformanceConfigurationAcquireInfoINTEL,STRUCT_CACHE_VkPerformanceConfigurationAcquireInfoINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPerformanceConfigurationAcquireInfoINTEL,STRUCT_CACHE_VkPerformanceConfigurationAcquireInfoINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPerformanceConfigurationAcquireInfoINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000210005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type))}function VkPhysicalDeviceShaderClockFeaturesKHR(e,t){if(new.target!==VkPhysicalDeviceShaderClockFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderClockFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderClockFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderClockFeaturesKHR,STRUCT_CACHE_VkPhysicalDeviceShaderClockFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderClockFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000181e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderSubgroupClock&&(this.shaderSubgroupClock=e.shaderSubgroupClock),void 0!==e.shaderDeviceClock&&(this.shaderDeviceClock=e.shaderDeviceClock))}function VkPhysicalDeviceIndexTypeUint8FeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceIndexTypeUint8FeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceIndexTypeUint8FeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceIndexTypeUint8FeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceIndexTypeUint8FeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceIndexTypeUint8FeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceIndexTypeUint8FeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000265e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.indexTypeUint8&&(this.indexTypeUint8=e.indexTypeUint8))}function VkPhysicalDeviceShaderSMBuiltinsPropertiesNV(e,t){if(new.target!==VkPhysicalDeviceShaderSMBuiltinsPropertiesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderSMBuiltinsPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderSMBuiltinsPropertiesNV,STRUCT_CACHE_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderSMBuiltinsPropertiesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000154001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceShaderSMBuiltinsFeaturesNV(e,t){if(new.target!==VkPhysicalDeviceShaderSMBuiltinsFeaturesNV){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderSMBuiltinsFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderSMBuiltinsFeaturesNV,STRUCT_CACHE_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderSMBuiltinsFeaturesNV'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000154e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderSMBuiltins&&(this.shaderSMBuiltins=e.shaderSMBuiltins))}function VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000251e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fragmentShaderSampleInterlock&&(this.fragmentShaderSampleInterlock=e.fragmentShaderSampleInterlock),void 0!==e.fragmentShaderPixelInterlock&&(this.fragmentShaderPixelInterlock=e.fragmentShaderPixelInterlock),void 0!==e.fragmentShaderShadingRateInterlock&&(this.fragmentShaderShadingRateInterlock=e.fragmentShaderShadingRateInterlock))}function VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR(e,t){if(new.target!==VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR,STRUCT_CACHE_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR,STRUCT_CACHE_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000269e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipelineExecutableInfo&&(this.pipelineExecutableInfo=e.pipelineExecutableInfo))}function VkPipelineInfoKHR(e,t){if(new.target!==VkPipelineInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineInfoKHR,STRUCT_CACHE_VkPipelineInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineInfoKHR,STRUCT_CACHE_VkPipelineInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this._pipeline=null,this.sType=1000269001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipeline&&(this.pipeline=e.pipeline))}function VkPipelineExecutablePropertiesKHR(e,t){if(new.target!==VkPipelineExecutablePropertiesKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineExecutablePropertiesKHR,STRUCT_CACHE_VkPipelineExecutablePropertiesKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineExecutablePropertiesKHR,STRUCT_CACHE_VkPipelineExecutablePropertiesKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineExecutablePropertiesKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,536)):(this.memoryBuffer=new ArrayBuffer(536),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,536)),this._pNext=null,this.sType=1000269002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineExecutableInfoKHR(e,t){if(new.target!==VkPipelineExecutableInfoKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineExecutableInfoKHR,STRUCT_CACHE_VkPipelineExecutableInfoKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineExecutableInfoKHR,STRUCT_CACHE_VkPipelineExecutableInfoKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineExecutableInfoKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this._pipeline=null,this.sType=1000269003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipeline&&(this.pipeline=e.pipeline),void 0!==e.executableIndex&&(this.executableIndex=e.executableIndex))}function VkPipelineExecutableStatisticKHR(e,t){if(new.target!==VkPipelineExecutableStatisticKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineExecutableStatisticKHR,STRUCT_CACHE_VkPipelineExecutableStatisticKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineExecutableStatisticKHR,STRUCT_CACHE_VkPipelineExecutableStatisticKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineExecutableStatisticKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,544)):(this.memoryBuffer=new ArrayBuffer(544),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,544)),this._pNext=null,this._value=new VkPipelineExecutableStatisticValueKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+536}),this.sType=1000269004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineExecutableInternalRepresentationKHR(e,t){if(new.target!==VkPipelineExecutableInternalRepresentationKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineExecutableInternalRepresentationKHR,STRUCT_CACHE_VkPipelineExecutableInternalRepresentationKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineExecutableInternalRepresentationKHR,STRUCT_CACHE_VkPipelineExecutableInternalRepresentationKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineExecutableInternalRepresentationKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,552)):(this.memoryBuffer=new ArrayBuffer(552),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,552)),this._pNext=null,this._pData=null,this.sType=1000269005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.name&&(this.name=e.name),void 0!==e.description&&(this.description=e.description),void 0!==e.isText&&(this.isText=e.isText),void 0!==e.dataSize&&(this.dataSize=e.dataSize),void 0!==e.pData&&(this.pData=e.pData))}function VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000276e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderDemoteToHelperInvocation&&(this.shaderDemoteToHelperInvocation=e.shaderDemoteToHelperInvocation))}function VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000281e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.texelBufferAlignment&&(this.texelBufferAlignment=e.texelBufferAlignment))}function VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,48)):(this.memoryBuffer=new ArrayBuffer(48),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,48)),this._pNext=null,this.sType=1000281001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceSubgroupSizeControlFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceSubgroupSizeControlFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSubgroupSizeControlFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceSubgroupSizeControlFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSubgroupSizeControlFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceSubgroupSizeControlFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSubgroupSizeControlFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000225002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.subgroupSizeControl&&(this.subgroupSizeControl=e.subgroupSizeControl),void 0!==e.computeFullSubgroups&&(this.computeFullSubgroups=e.computeFullSubgroups))}function VkPhysicalDeviceSubgroupSizeControlPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceSubgroupSizeControlPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceSubgroupSizeControlPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceSubgroupSizeControlPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceSubgroupSizeControlPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceSubgroupSizeControlPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceSubgroupSizeControlPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000225e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT(e,t){if(new.target!==VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT,STRUCT_CACHE_VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT,STRUCT_CACHE_VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000225001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPhysicalDeviceLineRasterizationFeaturesEXT(e,t){if(new.target!==VkPhysicalDeviceLineRasterizationFeaturesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceLineRasterizationFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceLineRasterizationFeaturesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceLineRasterizationFeaturesEXT,STRUCT_CACHE_VkPhysicalDeviceLineRasterizationFeaturesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceLineRasterizationFeaturesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,40)):(this.memoryBuffer=new ArrayBuffer(40),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,40)),this._pNext=null,this.sType=1000259e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.rectangularLines&&(this.rectangularLines=e.rectangularLines),void 0!==e.bresenhamLines&&(this.bresenhamLines=e.bresenhamLines),void 0!==e.smoothLines&&(this.smoothLines=e.smoothLines),void 0!==e.stippledRectangularLines&&(this.stippledRectangularLines=e.stippledRectangularLines),void 0!==e.stippledBresenhamLines&&(this.stippledBresenhamLines=e.stippledBresenhamLines),void 0!==e.stippledSmoothLines&&(this.stippledSmoothLines=e.stippledSmoothLines))}function VkPhysicalDeviceLineRasterizationPropertiesEXT(e,t){if(new.target!==VkPhysicalDeviceLineRasterizationPropertiesEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceLineRasterizationPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceLineRasterizationPropertiesEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceLineRasterizationPropertiesEXT,STRUCT_CACHE_VkPhysicalDeviceLineRasterizationPropertiesEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceLineRasterizationPropertiesEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000259002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))}function VkPipelineRasterizationLineStateCreateInfoEXT(e,t){if(new.target!==VkPipelineRasterizationLineStateCreateInfoEXT){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineRasterizationLineStateCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationLineStateCreateInfoEXT);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineRasterizationLineStateCreateInfoEXT,STRUCT_CACHE_VkPipelineRasterizationLineStateCreateInfoEXT);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineRasterizationLineStateCreateInfoEXT'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,32)):(this.memoryBuffer=new ArrayBuffer(32),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,32)),this._pNext=null,this.sType=1000259001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.lineRasterizationMode&&(this.lineRasterizationMode=e.lineRasterizationMode),void 0!==e.stippledLineEnable&&(this.stippledLineEnable=e.stippledLineEnable),void 0!==e.lineStippleFactor&&(this.lineStippleFactor=e.lineStippleFactor),void 0!==e.lineStipplePattern&&(this.lineStipplePattern=e.lineStipplePattern))}function VkPipelineCompilerControlCreateInfoAMD(e,t){if(new.target!==VkPipelineCompilerControlCreateInfoAMD){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineCompilerControlCreateInfoAMD,STRUCT_CACHE_VkPipelineCompilerControlCreateInfoAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineCompilerControlCreateInfoAMD,STRUCT_CACHE_VkPipelineCompilerControlCreateInfoAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineCompilerControlCreateInfoAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000183e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.compilerControlFlags&&(this.compilerControlFlags=e.compilerControlFlags))}function VkPhysicalDeviceCoherentMemoryFeaturesAMD(e,t){if(new.target!==VkPhysicalDeviceCoherentMemoryFeaturesAMD){if("string"==typeof e){let t=getStructFromStack(e,VkPhysicalDeviceCoherentMemoryFeaturesAMD,STRUCT_CACHE_VkPhysicalDeviceCoherentMemoryFeaturesAMD);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPhysicalDeviceCoherentMemoryFeaturesAMD,STRUCT_CACHE_VkPhysicalDeviceCoherentMemoryFeaturesAMD);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPhysicalDeviceCoherentMemoryFeaturesAMD'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,24)):(this.memoryBuffer=new ArrayBuffer(24),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,24)),this._pNext=null,this.sType=1000229e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceCoherentMemory&&(this.deviceCoherentMemory=e.deviceCoherentMemory))}function VkClearColorValue(e,t){if(new.target!==VkClearColorValue){if("string"==typeof e){let t=getStructFromStack(e,VkClearColorValue,STRUCT_CACHE_VkClearColorValue);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkClearColorValue,STRUCT_CACHE_VkClearColorValue);return r.reset(e),r}throw new Error("Invalid Signature for 'VkClearColorValue'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._float32=null,this._int32=null,this._uint32=null,"object"==typeof e&&(void 0!==e.float32&&(this.float32=e.float32),void 0!==e.int32&&(this.int32=e.int32),void 0!==e.uint32&&(this.uint32=e.uint32))}function VkClearValue(e,t){if(new.target!==VkClearValue){if("string"==typeof e){let t=getStructFromStack(e,VkClearValue,STRUCT_CACHE_VkClearValue);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkClearValue,STRUCT_CACHE_VkClearValue);return r.reset(e),r}throw new Error("Invalid Signature for 'VkClearValue'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,16)):(this.memoryBuffer=new ArrayBuffer(16),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,16)),this._color=new VkClearColorValue({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),this._depthStencil=new VkClearDepthStencilValue({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}),"object"==typeof e&&(void 0!==e.color&&(this.color=e.color),void 0!==e.depthStencil&&(this.depthStencil=e.depthStencil))}function VkPerformanceValueDataINTEL(e,t){if(new.target!==VkPerformanceValueDataINTEL){if("string"==typeof e){let t=getStructFromStack(e,VkPerformanceValueDataINTEL,STRUCT_CACHE_VkPerformanceValueDataINTEL);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPerformanceValueDataINTEL,STRUCT_CACHE_VkPerformanceValueDataINTEL);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPerformanceValueDataINTEL'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8)),this._valueString=null,"object"==typeof e&&(void 0!==e.value32&&(this.value32=e.value32),void 0!==e.value64&&(this.value64=e.value64),void 0!==e.valueFloat&&(this.valueFloat=e.valueFloat),void 0!==e.valueBool&&(this.valueBool=e.valueBool),void 0!==e.valueString&&(this.valueString=e.valueString))}function VkPipelineExecutableStatisticValueKHR(e,t){if(new.target!==VkPipelineExecutableStatisticValueKHR){if("string"==typeof e){let t=getStructFromStack(e,VkPipelineExecutableStatisticValueKHR,STRUCT_CACHE_VkPipelineExecutableStatisticValueKHR);return t.reset(),t}if("object"==typeof e&&void 0!==t){let r=getStructFromStack(t,VkPipelineExecutableStatisticValueKHR,STRUCT_CACHE_VkPipelineExecutableStatisticValueKHR);return r.reset(e),r}throw new Error("Invalid Signature for 'VkPipelineExecutableStatisticValueKHR'")}this.memoryBuffer=null,this.memoryAddress=BI0,this.$memoryOffset=0,this.resetMemoryView=null,"object"==typeof e&&void 0!==e.$memoryOffset?(this.memoryBuffer=e.$memoryBuffer,this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer)+BigInt(e.$memoryOffset),this.$memoryOffset=0|e.$memoryOffset,this.memoryView=new DataView(this.memoryBuffer,e.$memoryOffset,8)):(this.memoryBuffer=new ArrayBuffer(8),this.memoryAddress=getAddressFromArrayBuffer(this.memoryBuffer),this.memoryView=new DataView(this.memoryBuffer,0,8))}Object.defineProperties(VkSamplerYcbcrConversionImageFormatProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionImageFormatProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionImageFormatProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSamplerYcbcrConversionImageFormatProperties.pNext' isn't allowed to be filled")}},combinedImageSamplerDescriptorCount:{get(){return this.memoryView.getUint32(16,!0)}}}),VkSamplerYcbcrConversionImageFormatProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSamplerYcbcrConversionImageFormatProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSamplerYcbcrConversionImageFormatProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkSamplerYcbcrConversionImageFormatProperties.createCopyFrom=function(e){let t=new VkSamplerYcbcrConversionImageFormatProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.combinedImageSamplerDescriptorCount=e.combinedImageSamplerDescriptorCount,t},VkSamplerYcbcrConversionImageFormatProperties.byteLength=24,VkSamplerYcbcrConversionImageFormatProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},combinedImageSamplerDescriptorCount:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSamplerYcbcrConversionImageFormatPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerYcbcrConversionImageFormatPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerYcbcrConversionImageFormatPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSamplerYcbcrConversionImageFormatPropertiesKHR.pNext' isn't allowed to be filled")}},combinedImageSamplerDescriptorCount:{get(){return this.memoryView.getUint32(16,!0)}}}),VkSamplerYcbcrConversionImageFormatPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000156005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSamplerYcbcrConversionImageFormatPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSamplerYcbcrConversionImageFormatPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkSamplerYcbcrConversionImageFormatPropertiesKHR.createCopyFrom=function(e){let t=new VkSamplerYcbcrConversionImageFormatPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.combinedImageSamplerDescriptorCount=e.combinedImageSamplerDescriptorCount,t},VkSamplerYcbcrConversionImageFormatPropertiesKHR.byteLength=24,VkSamplerYcbcrConversionImageFormatPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},combinedImageSamplerDescriptorCount:{byteOffset:16,byteLength:4}},Object.defineProperties(VkTextureLODGatherFormatPropertiesAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkTextureLODGatherFormatPropertiesAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkTextureLODGatherFormatPropertiesAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkTextureLODGatherFormatPropertiesAMD.pNext' isn't allowed to be filled")}},supportsTextureGatherLODBiasAMD:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkTextureLODGatherFormatPropertiesAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000041e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkTextureLODGatherFormatPropertiesAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkTextureLODGatherFormatPropertiesAMD.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkTextureLODGatherFormatPropertiesAMD.createCopyFrom=function(e){let t=new VkTextureLODGatherFormatPropertiesAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.supportsTextureGatherLODBiasAMD=e.supportsTextureGatherLODBiasAMD,t},VkTextureLODGatherFormatPropertiesAMD.byteLength=24,VkTextureLODGatherFormatPropertiesAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},supportsTextureGatherLODBiasAMD:{byteOffset:16,byteLength:4}},Object.defineProperties(VkConditionalRenderingBeginInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkConditionalRenderingBeginInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkConditionalRenderingBeginInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkConditionalRenderingBeginInfoEXT.pNext' isn't allowed to be filled")}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkConditionalRenderingBeginInfoEXT.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(16,BI0,!0)}}},offset:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkConditionalRenderingBeginInfoEXT.offset"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},flags:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkConditionalRenderingBeginInfoEXT.flags"),this.memoryView.setInt32(32,e,!0)}}}),VkConditionalRenderingBeginInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._buffer=null,this.sType=1000081002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.flags&&(this.flags=e.flags))},VkConditionalRenderingBeginInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkConditionalRenderingBeginInfoEXT.prototype.reflect=function(e){},VkConditionalRenderingBeginInfoEXT.createCopyFrom=function(e){let t=new VkConditionalRenderingBeginInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t.offset=e.offset,t.flags=e.flags,t},VkConditionalRenderingBeginInfoEXT.byteLength=40,VkConditionalRenderingBeginInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},buffer:{byteOffset:16,byteLength:8},offset:{byteOffset:24,byteLength:8},flags:{byteOffset:32,byteLength:4}},Object.defineProperties(VkProtectedSubmitInfo.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkProtectedSubmitInfo.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkProtectedSubmitInfo.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkProtectedSubmitInfo.pNext' isn't allowed to be filled")}},protectedSubmit:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkProtectedSubmitInfo.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000145e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.protectedSubmit&&(this.protectedSubmit=e.protectedSubmit))},VkProtectedSubmitInfo.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkProtectedSubmitInfo.prototype.reflect=function(e){},VkProtectedSubmitInfo.createCopyFrom=function(e){let t=new VkProtectedSubmitInfo;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.protectedSubmit=e.protectedSubmit,t},VkProtectedSubmitInfo.byteLength=24,VkProtectedSubmitInfo.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},protectedSubmit:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceProtectedMemoryFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceProtectedMemoryFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceProtectedMemoryFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceProtectedMemoryFeatures.pNext' isn't allowed to be filled")}},protectedMemory:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceProtectedMemoryFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000145001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.protectedMemory&&(this.protectedMemory=e.protectedMemory))},VkPhysicalDeviceProtectedMemoryFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceProtectedMemoryFeatures.prototype.reflect=function(e){},VkPhysicalDeviceProtectedMemoryFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceProtectedMemoryFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.protectedMemory=e.protectedMemory,t},VkPhysicalDeviceProtectedMemoryFeatures.byteLength=24,VkPhysicalDeviceProtectedMemoryFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},protectedMemory:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceProtectedMemoryProperties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceProtectedMemoryProperties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceProtectedMemoryProperties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceProtectedMemoryProperties.pNext' isn't allowed to be filled")}},protectedNoFault:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkPhysicalDeviceProtectedMemoryProperties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000145002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceProtectedMemoryProperties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceProtectedMemoryProperties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceProtectedMemoryProperties.createCopyFrom=function(e){let t=new VkPhysicalDeviceProtectedMemoryProperties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.protectedNoFault=e.protectedNoFault,t},VkPhysicalDeviceProtectedMemoryProperties.byteLength=24,VkPhysicalDeviceProtectedMemoryProperties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},protectedNoFault:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDeviceQueueInfo2.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceQueueInfo2.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceQueueInfo2.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceQueueInfo2.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceQueueInfo2.flags"),this.memoryView.setInt32(16,e,!0)}},queueFamilyIndex:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceQueueInfo2.queueFamilyIndex"),this.memoryView.setUint32(20,e,!0)}},queueIndex:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDeviceQueueInfo2.queueIndex"),this.memoryView.setUint32(24,e,!0)}}}),VkDeviceQueueInfo2.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000145003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.queueFamilyIndex&&(this.queueFamilyIndex=e.queueFamilyIndex),void 0!==e.queueIndex&&(this.queueIndex=e.queueIndex))},VkDeviceQueueInfo2.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceQueueInfo2.prototype.reflect=function(e){},VkDeviceQueueInfo2.createCopyFrom=function(e){let t=new VkDeviceQueueInfo2;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.queueFamilyIndex=e.queueFamilyIndex,t.queueIndex=e.queueIndex,t},VkDeviceQueueInfo2.byteLength=32,VkDeviceQueueInfo2.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},queueFamilyIndex:{byteOffset:20,byteLength:4},queueIndex:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPipelineCoverageToColorStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCoverageToColorStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineCoverageToColorStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineCoverageToColorStateCreateInfoNV.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCoverageToColorStateCreateInfoNV.flags"),this.memoryView.setInt32(16,e,!0)}},coverageToColorEnable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},coverageToColorLocation:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCoverageToColorStateCreateInfoNV.coverageToColorLocation"),this.memoryView.setUint32(24,e,!0)}}}),VkPipelineCoverageToColorStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000149e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.coverageToColorEnable&&(this.coverageToColorEnable=e.coverageToColorEnable),void 0!==e.coverageToColorLocation&&(this.coverageToColorLocation=e.coverageToColorLocation))},VkPipelineCoverageToColorStateCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineCoverageToColorStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineCoverageToColorStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineCoverageToColorStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.coverageToColorEnable=e.coverageToColorEnable,t.coverageToColorLocation=e.coverageToColorLocation,t},VkPipelineCoverageToColorStateCreateInfoNV.byteLength=32,VkPipelineCoverageToColorStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},coverageToColorEnable:{byteOffset:20,byteLength:4},coverageToColorLocation:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.pNext' isn't allowed to be filled")}},filterMinmaxSingleComponentFormats:{get(){return 0!==this.memoryView.getUint32(16,!0)}},filterMinmaxImageComponentMapping:{get(){return 0!==this.memoryView.getUint32(20,!0)}}}),VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100013e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.filterMinmaxSingleComponentFormats=e.filterMinmaxSingleComponentFormats,t.filterMinmaxImageComponentMapping=e.filterMinmaxImageComponentMapping,t},VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.byteLength=24,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},filterMinmaxSingleComponentFormats:{byteOffset:16,byteLength:4},filterMinmaxImageComponentMapping:{byteOffset:20,byteLength:4}},Object.defineProperties(VkSampleLocationEXT.prototype,{x:{get(){return this.memoryView.getFloat32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSampleLocationEXT.x"),this.memoryView.setFloat32(0,e,!0)}},y:{get(){return this.memoryView.getFloat32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSampleLocationEXT.y"),this.memoryView.setFloat32(4,e,!0)}}}),VkSampleLocationEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.x&&(this.x=e.x),void 0!==e.y&&(this.y=e.y))},VkSampleLocationEXT.prototype.flush=function(){return!0},VkSampleLocationEXT.prototype.reflect=function(e){},VkSampleLocationEXT.createCopyFrom=function(e){let t=new VkSampleLocationEXT;return t.x=e.x,t.y=e.y,t},VkSampleLocationEXT.byteLength=8,VkSampleLocationEXT.memoryLayout={x:{byteOffset:0,byteLength:4},y:{byteOffset:4,byteLength:4}},Object.defineProperties(VkSampleLocationsInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSampleLocationsInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSampleLocationsInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSampleLocationsInfoEXT.pNext' isn't allowed to be filled")}},sampleLocationsPerPixel:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSampleLocationsInfoEXT.sampleLocationsPerPixel"),this.memoryView.setInt32(16,e,!0)}},sampleLocationGridSize:{get(){return this._sampleLocationGridSize},set(e){if(null!==e&&e.constructor===VkExtent2D)e.flush(),this._sampleLocationGridSize=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSampleLocationsInfoEXT.sampleLocationGridSize': Expected 'VkExtent2D' but got '"+typeToString(e)+"'");this._sampleLocationGridSize=null}}},sampleLocationsCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSampleLocationsInfoEXT.sampleLocationsCount"),this.memoryView.setUint32(28,e,!0)}},pSampleLocations:{get(){if(null===this._pSampleLocations&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.sampleLocationsCount,VkSampleLocationEXT);return this._pSampleLocations=e,this.pSampleLocations}return this._pSampleLocations},set(e){if(null!==e&&e.constructor===Array)this._pSampleLocations=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSampleLocationsInfoEXT.pSampleLocations': Expected 'Array VkSampleLocationEXT' but got '"+typeToString(e)+"'");this._pSampleLocations=null}}}}),VkSampleLocationsInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._sampleLocationGridSize&&(this.memoryBuffer!==this._sampleLocationGridSize.memoryBuffer?this._sampleLocationGridSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}):this._sampleLocationGridSize.reset()),this._pSampleLocations=null,this._pSampleLocationsNative=null,this.sType=1000143e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.sampleLocationsPerPixel&&(this.sampleLocationsPerPixel=e.sampleLocationsPerPixel),void 0!==e.sampleLocationGridSize&&(this.sampleLocationGridSize=e.sampleLocationGridSize),void 0!==e.sampleLocationsCount&&(this.sampleLocationsCount=e.sampleLocationsCount),void 0!==e.pSampleLocations&&(this.pSampleLocations=e.pSampleLocations))},VkSampleLocationsInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._sampleLocationGridSize){let e=this._sampleLocationGridSize;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,20),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSampleLocationsInfoEXT.sampleLocationGridSize' isn't used as shared-memory")}}if(null!==this._pSampleLocations){let e=this._pSampleLocations;if(e.length!==this.sampleLocationsCount)throw new RangeError("Invalid array length, expected length of 'sampleLocationsCount' for 'VkSampleLocationsInfoEXT.pSampleLocations'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSampleLocationsNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pSampleLocationsNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkSampleLocationsInfoEXT.prototype.reflect=function(e){},VkSampleLocationsInfoEXT.createCopyFrom=function(e){let t=new VkSampleLocationsInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.sampleLocationsPerPixel=e.sampleLocationsPerPixel,null!==e.sampleLocationGridSize&&(t.sampleLocationGridSize=e.sampleLocationGridSize.constructor.createCopyFrom(e.sampleLocationGridSize)),t.sampleLocationsCount=e.sampleLocationsCount,null!==e.pSampleLocations&&(t.pSampleLocations=[...Array(e.pSampleLocations.length)].map((t,r)=>e.pSampleLocations[r].constructor.createCopyFrom(e.pSampleLocations[r]))),t},VkSampleLocationsInfoEXT.byteLength=40,VkSampleLocationsInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},sampleLocationsPerPixel:{byteOffset:16,byteLength:4},sampleLocationGridSize:{byteOffset:20,byteLength:8},sampleLocationsCount:{byteOffset:28,byteLength:4},pSampleLocations:{byteOffset:32,byteLength:8}},Object.defineProperties(VkAttachmentSampleLocationsEXT.prototype,{attachmentIndex:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentSampleLocationsEXT.attachmentIndex"),this.memoryView.setUint32(0,e,!0)}},sampleLocationsInfo:{get(){return this._sampleLocationsInfo},set(e){if(null!==e&&e.constructor===VkSampleLocationsInfoEXT)e.flush(),this._sampleLocationsInfo=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkAttachmentSampleLocationsEXT.sampleLocationsInfo': Expected 'VkSampleLocationsInfoEXT' but got '"+typeToString(e)+"'");this._sampleLocationsInfo=null}}}}),VkAttachmentSampleLocationsEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),null!==this._sampleLocationsInfo&&(this.memoryBuffer!==this._sampleLocationsInfo.memoryBuffer?this._sampleLocationsInfo=new VkSampleLocationsInfoEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._sampleLocationsInfo.reset()),"object"==typeof e&&(void 0!==e.attachmentIndex&&(this.attachmentIndex=e.attachmentIndex),void 0!==e.sampleLocationsInfo&&(this.sampleLocationsInfo=e.sampleLocationsInfo))},VkAttachmentSampleLocationsEXT.prototype.flush=function(){if(null!==this._sampleLocationsInfo){let e=this._sampleLocationsInfo;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,40);new Uint8Array(this.memoryBuffer).set(t,8),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkAttachmentSampleLocationsEXT.sampleLocationsInfo' isn't used as shared-memory")}}return!0},VkAttachmentSampleLocationsEXT.prototype.reflect=function(e){},VkAttachmentSampleLocationsEXT.createCopyFrom=function(e){let t=new VkAttachmentSampleLocationsEXT;return t.attachmentIndex=e.attachmentIndex,null!==e.sampleLocationsInfo&&(t.sampleLocationsInfo=e.sampleLocationsInfo.constructor.createCopyFrom(e.sampleLocationsInfo)),t},VkAttachmentSampleLocationsEXT.byteLength=48,VkAttachmentSampleLocationsEXT.memoryLayout={attachmentIndex:{byteOffset:0,byteLength:4},sampleLocationsInfo:{byteOffset:8,byteLength:40}},Object.defineProperties(VkSubpassSampleLocationsEXT.prototype,{subpassIndex:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassSampleLocationsEXT.subpassIndex"),this.memoryView.setUint32(0,e,!0)}},sampleLocationsInfo:{get(){return this._sampleLocationsInfo},set(e){if(null!==e&&e.constructor===VkSampleLocationsInfoEXT)e.flush(),this._sampleLocationsInfo=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassSampleLocationsEXT.sampleLocationsInfo': Expected 'VkSampleLocationsInfoEXT' but got '"+typeToString(e)+"'");this._sampleLocationsInfo=null}}}}),VkSubpassSampleLocationsEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),null!==this._sampleLocationsInfo&&(this.memoryBuffer!==this._sampleLocationsInfo.memoryBuffer?this._sampleLocationsInfo=new VkSampleLocationsInfoEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._sampleLocationsInfo.reset()),"object"==typeof e&&(void 0!==e.subpassIndex&&(this.subpassIndex=e.subpassIndex),void 0!==e.sampleLocationsInfo&&(this.sampleLocationsInfo=e.sampleLocationsInfo))},VkSubpassSampleLocationsEXT.prototype.flush=function(){if(null!==this._sampleLocationsInfo){let e=this._sampleLocationsInfo;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,40);new Uint8Array(this.memoryBuffer).set(t,8),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkSubpassSampleLocationsEXT.sampleLocationsInfo' isn't used as shared-memory")}}return!0},VkSubpassSampleLocationsEXT.prototype.reflect=function(e){},VkSubpassSampleLocationsEXT.createCopyFrom=function(e){let t=new VkSubpassSampleLocationsEXT;return t.subpassIndex=e.subpassIndex,null!==e.sampleLocationsInfo&&(t.sampleLocationsInfo=e.sampleLocationsInfo.constructor.createCopyFrom(e.sampleLocationsInfo)),t},VkSubpassSampleLocationsEXT.byteLength=48,VkSubpassSampleLocationsEXT.memoryLayout={subpassIndex:{byteOffset:0,byteLength:4},sampleLocationsInfo:{byteOffset:8,byteLength:40}},Object.defineProperties(VkRenderPassSampleLocationsBeginInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassSampleLocationsBeginInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassSampleLocationsBeginInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassSampleLocationsBeginInfoEXT.pNext' isn't allowed to be filled")}},attachmentInitialSampleLocationsCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassSampleLocationsBeginInfoEXT.attachmentInitialSampleLocationsCount"),this.memoryView.setUint32(16,e,!0)}},pAttachmentInitialSampleLocations:{get(){if(null===this._pAttachmentInitialSampleLocations&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.attachmentInitialSampleLocationsCount,VkAttachmentSampleLocationsEXT);return this._pAttachmentInitialSampleLocations=e,this.pAttachmentInitialSampleLocations}return this._pAttachmentInitialSampleLocations},set(e){if(null!==e&&e.constructor===Array)this._pAttachmentInitialSampleLocations=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassSampleLocationsBeginInfoEXT.pAttachmentInitialSampleLocations': Expected 'Array VkAttachmentSampleLocationsEXT' but got '"+typeToString(e)+"'");this._pAttachmentInitialSampleLocations=null}}},postSubpassSampleLocationsCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassSampleLocationsBeginInfoEXT.postSubpassSampleLocationsCount"),this.memoryView.setUint32(32,e,!0)}},pPostSubpassSampleLocations:{get(){if(null===this._pPostSubpassSampleLocations&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.postSubpassSampleLocationsCount,VkSubpassSampleLocationsEXT);return this._pPostSubpassSampleLocations=e,this.pPostSubpassSampleLocations}return this._pPostSubpassSampleLocations},set(e){if(null!==e&&e.constructor===Array)this._pPostSubpassSampleLocations=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassSampleLocationsBeginInfoEXT.pPostSubpassSampleLocations': Expected 'Array VkSubpassSampleLocationsEXT' but got '"+typeToString(e)+"'");this._pPostSubpassSampleLocations=null}}}}),VkRenderPassSampleLocationsBeginInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pAttachmentInitialSampleLocations=null,this._pAttachmentInitialSampleLocationsNative=null,this._pPostSubpassSampleLocations=null,this._pPostSubpassSampleLocationsNative=null,this.sType=1000143001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachmentInitialSampleLocationsCount&&(this.attachmentInitialSampleLocationsCount=e.attachmentInitialSampleLocationsCount),void 0!==e.pAttachmentInitialSampleLocations&&(this.pAttachmentInitialSampleLocations=e.pAttachmentInitialSampleLocations),void 0!==e.postSubpassSampleLocationsCount&&(this.postSubpassSampleLocationsCount=e.postSubpassSampleLocationsCount),void 0!==e.pPostSubpassSampleLocations&&(this.pPostSubpassSampleLocations=e.pPostSubpassSampleLocations))},VkRenderPassSampleLocationsBeginInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachmentInitialSampleLocations){let e=this._pAttachmentInitialSampleLocations;if(e.length!==this.attachmentInitialSampleLocationsCount)throw new RangeError("Invalid array length, expected length of 'attachmentInitialSampleLocationsCount' for 'VkRenderPassSampleLocationsBeginInfoEXT.pAttachmentInitialSampleLocations'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentInitialSampleLocationsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAttachmentInitialSampleLocationsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pPostSubpassSampleLocations){let e=this._pPostSubpassSampleLocations;if(e.length!==this.postSubpassSampleLocationsCount)throw new RangeError("Invalid array length, expected length of 'postSubpassSampleLocationsCount' for 'VkRenderPassSampleLocationsBeginInfoEXT.pPostSubpassSampleLocations'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPostSubpassSampleLocationsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pPostSubpassSampleLocationsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkRenderPassSampleLocationsBeginInfoEXT.prototype.reflect=function(e){},VkRenderPassSampleLocationsBeginInfoEXT.createCopyFrom=function(e){let t=new VkRenderPassSampleLocationsBeginInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.attachmentInitialSampleLocationsCount=e.attachmentInitialSampleLocationsCount,null!==e.pAttachmentInitialSampleLocations&&(t.pAttachmentInitialSampleLocations=[...Array(e.pAttachmentInitialSampleLocations.length)].map((t,r)=>e.pAttachmentInitialSampleLocations[r].constructor.createCopyFrom(e.pAttachmentInitialSampleLocations[r]))),t.postSubpassSampleLocationsCount=e.postSubpassSampleLocationsCount,null!==e.pPostSubpassSampleLocations&&(t.pPostSubpassSampleLocations=[...Array(e.pPostSubpassSampleLocations.length)].map((t,r)=>e.pPostSubpassSampleLocations[r].constructor.createCopyFrom(e.pPostSubpassSampleLocations[r]))),t},VkRenderPassSampleLocationsBeginInfoEXT.byteLength=48,VkRenderPassSampleLocationsBeginInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},attachmentInitialSampleLocationsCount:{byteOffset:16,byteLength:4},pAttachmentInitialSampleLocations:{byteOffset:24,byteLength:8},postSubpassSampleLocationsCount:{byteOffset:32,byteLength:4},pPostSubpassSampleLocations:{byteOffset:40,byteLength:8}},Object.defineProperties(VkPipelineSampleLocationsStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineSampleLocationsStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineSampleLocationsStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineSampleLocationsStateCreateInfoEXT.pNext' isn't allowed to be filled")}},sampleLocationsEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},sampleLocationsInfo:{get(){return this._sampleLocationsInfo},set(e){if(null!==e&&e.constructor===VkSampleLocationsInfoEXT)e.flush(),this._sampleLocationsInfo=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineSampleLocationsStateCreateInfoEXT.sampleLocationsInfo': Expected 'VkSampleLocationsInfoEXT' but got '"+typeToString(e)+"'");this._sampleLocationsInfo=null}}}}),VkPipelineSampleLocationsStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._sampleLocationsInfo&&(this.memoryBuffer!==this._sampleLocationsInfo.memoryBuffer?this._sampleLocationsInfo=new VkSampleLocationsInfoEXT({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._sampleLocationsInfo.reset()),this.sType=1000143002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.sampleLocationsEnable&&(this.sampleLocationsEnable=e.sampleLocationsEnable),void 0!==e.sampleLocationsInfo&&(this.sampleLocationsInfo=e.sampleLocationsInfo))},VkPipelineSampleLocationsStateCreateInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._sampleLocationsInfo){let e=this._sampleLocationsInfo;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,40);new Uint8Array(this.memoryBuffer).set(t,24),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkPipelineSampleLocationsStateCreateInfoEXT.sampleLocationsInfo' isn't used as shared-memory")}}return!0},VkPipelineSampleLocationsStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineSampleLocationsStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineSampleLocationsStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.sampleLocationsEnable=e.sampleLocationsEnable,null!==e.sampleLocationsInfo&&(t.sampleLocationsInfo=e.sampleLocationsInfo.constructor.createCopyFrom(e.sampleLocationsInfo)),t},VkPipelineSampleLocationsStateCreateInfoEXT.byteLength=64,VkPipelineSampleLocationsStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},sampleLocationsEnable:{byteOffset:16,byteLength:4},sampleLocationsInfo:{byteOffset:24,byteLength:40}},Object.defineProperties(VkPhysicalDeviceSampleLocationsPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSampleLocationsPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSampleLocationsPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSampleLocationsPropertiesEXT.pNext' isn't allowed to be filled")}},sampleLocationSampleCounts:{get(){return this.memoryView.getInt32(16,!0)}},maxSampleLocationGridSize:{get(){return this._maxSampleLocationGridSize}},sampleLocationCoordinateRange:{get(){return[this.memoryView.getFloat32(28,!0),this.memoryView.getFloat32(32,!0)]}},sampleLocationSubPixelBits:{get(){return this.memoryView.getUint32(36,!0)}},variableSampleLocations:{get(){return 0!==this.memoryView.getUint32(40,!0)}}}),VkPhysicalDeviceSampleLocationsPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,null!==this._maxSampleLocationGridSize&&(this.memoryBuffer!==this._maxSampleLocationGridSize.memoryBuffer?this._maxSampleLocationGridSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+20}):this._maxSampleLocationGridSize.reset()),null!==this._sampleLocationCoordinateRange?this._sampleLocationCoordinateRange.fill(0):this._sampleLocationCoordinateRange=[...Array(2)].fill(0),this.sType=1000143003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceSampleLocationsPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSampleLocationsPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkPhysicalDeviceSampleLocationsPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceSampleLocationsPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.sampleLocationSampleCounts=e.sampleLocationSampleCounts,null!==e.maxSampleLocationGridSize&&(t.maxSampleLocationGridSize=e.maxSampleLocationGridSize.constructor.createCopyFrom(e.maxSampleLocationGridSize)),null!==e.sampleLocationCoordinateRange&&(t.sampleLocationCoordinateRange=[...Array(e.sampleLocationCoordinateRange.length)].map((t,r)=>e.sampleLocationCoordinateRange[r])),t.sampleLocationSubPixelBits=e.sampleLocationSubPixelBits,t.variableSampleLocations=e.variableSampleLocations,t},VkPhysicalDeviceSampleLocationsPropertiesEXT.byteLength=48,VkPhysicalDeviceSampleLocationsPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},sampleLocationSampleCounts:{byteOffset:16,byteLength:4},maxSampleLocationGridSize:{byteOffset:20,byteLength:8},sampleLocationCoordinateRange:{byteOffset:28,byteLength:8},sampleLocationSubPixelBits:{byteOffset:36,byteLength:4},variableSampleLocations:{byteOffset:40,byteLength:4}},Object.defineProperties(VkMultisamplePropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMultisamplePropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMultisamplePropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMultisamplePropertiesEXT.pNext' isn't allowed to be filled")}},maxSampleLocationGridSize:{get(){return this._maxSampleLocationGridSize}}}),VkMultisamplePropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,null!==this._maxSampleLocationGridSize&&(this.memoryBuffer!==this._maxSampleLocationGridSize.memoryBuffer?this._maxSampleLocationGridSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._maxSampleLocationGridSize.reset()),this.sType=1000143004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMultisamplePropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMultisamplePropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMultisamplePropertiesEXT.createCopyFrom=function(e){let t=new VkMultisamplePropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.maxSampleLocationGridSize&&(t.maxSampleLocationGridSize=e.maxSampleLocationGridSize.constructor.createCopyFrom(e.maxSampleLocationGridSize)),t},VkMultisamplePropertiesEXT.byteLength=24,VkMultisamplePropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxSampleLocationGridSize:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSamplerReductionModeCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerReductionModeCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSamplerReductionModeCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSamplerReductionModeCreateInfoEXT.pNext' isn't allowed to be filled")}},reductionMode:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSamplerReductionModeCreateInfoEXT.reductionMode"),!$VAL_R_VkSamplerReductionModeEXT(e))throw new RangeError("Invalid value for 'VkSamplerReductionModeCreateInfoEXT.reductionMode': '"+e+"' is not a value of 'VkSamplerReductionModeEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkSamplerReductionModeCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000130001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.reductionMode&&(this.reductionMode=e.reductionMode))},VkSamplerReductionModeCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSamplerReductionModeCreateInfoEXT.prototype.reflect=function(e){},VkSamplerReductionModeCreateInfoEXT.createCopyFrom=function(e){let t=new VkSamplerReductionModeCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.reductionMode=e.reductionMode,t},VkSamplerReductionModeCreateInfoEXT.byteLength=24,VkSamplerReductionModeCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},reductionMode:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.pNext' isn't allowed to be filled")}},advancedBlendCoherentOperations:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000148e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.advancedBlendCoherentOperations&&(this.advancedBlendCoherentOperations=e.advancedBlendCoherentOperations))},VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.advancedBlendCoherentOperations=e.advancedBlendCoherentOperations,t},VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.byteLength=24,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},advancedBlendCoherentOperations:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.pNext' isn't allowed to be filled")}},advancedBlendMaxColorAttachments:{get(){return this.memoryView.getUint32(16,!0)}},advancedBlendIndependentBlend:{get(){return 0!==this.memoryView.getUint32(20,!0)}},advancedBlendNonPremultipliedSrcColor:{get(){return 0!==this.memoryView.getUint32(24,!0)}},advancedBlendNonPremultipliedDstColor:{get(){return 0!==this.memoryView.getUint32(28,!0)}},advancedBlendCorrelatedOverlap:{get(){return 0!==this.memoryView.getUint32(32,!0)}},advancedBlendAllOperations:{get(){return 0!==this.memoryView.getUint32(36,!0)}}}),VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000148001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.advancedBlendMaxColorAttachments=e.advancedBlendMaxColorAttachments,t.advancedBlendIndependentBlend=e.advancedBlendIndependentBlend,t.advancedBlendNonPremultipliedSrcColor=e.advancedBlendNonPremultipliedSrcColor,t.advancedBlendNonPremultipliedDstColor=e.advancedBlendNonPremultipliedDstColor,t.advancedBlendCorrelatedOverlap=e.advancedBlendCorrelatedOverlap,t.advancedBlendAllOperations=e.advancedBlendAllOperations,t},VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.byteLength=40,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},advancedBlendMaxColorAttachments:{byteOffset:16,byteLength:4},advancedBlendIndependentBlend:{byteOffset:20,byteLength:4},advancedBlendNonPremultipliedSrcColor:{byteOffset:24,byteLength:4},advancedBlendNonPremultipliedDstColor:{byteOffset:28,byteLength:4},advancedBlendCorrelatedOverlap:{byteOffset:32,byteLength:4},advancedBlendAllOperations:{byteOffset:36,byteLength:4}},Object.defineProperties(VkPipelineColorBlendAdvancedStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAdvancedStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAdvancedStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineColorBlendAdvancedStateCreateInfoEXT.pNext' isn't allowed to be filled")}},srcPremultiplied:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},dstPremultiplied:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},blendOverlap:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineColorBlendAdvancedStateCreateInfoEXT.blendOverlap"),!$VAL_R_VkBlendOverlapEXT(e))throw new RangeError("Invalid value for 'VkPipelineColorBlendAdvancedStateCreateInfoEXT.blendOverlap': '"+e+"' is not a value of 'VkBlendOverlapEXT'");this.memoryView.setInt32(24,e,!0)}}}),VkPipelineColorBlendAdvancedStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000148002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcPremultiplied&&(this.srcPremultiplied=e.srcPremultiplied),void 0!==e.dstPremultiplied&&(this.dstPremultiplied=e.dstPremultiplied),void 0!==e.blendOverlap&&(this.blendOverlap=e.blendOverlap))},VkPipelineColorBlendAdvancedStateCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineColorBlendAdvancedStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineColorBlendAdvancedStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineColorBlendAdvancedStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.srcPremultiplied=e.srcPremultiplied,t.dstPremultiplied=e.dstPremultiplied,t.blendOverlap=e.blendOverlap,t},VkPipelineColorBlendAdvancedStateCreateInfoEXT.byteLength=32,VkPipelineColorBlendAdvancedStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcPremultiplied:{byteOffset:16,byteLength:4},dstPremultiplied:{byteOffset:20,byteLength:4},blendOverlap:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceInlineUniformBlockFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceInlineUniformBlockFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceInlineUniformBlockFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceInlineUniformBlockFeaturesEXT.pNext' isn't allowed to be filled")}},inlineUniformBlock:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},descriptorBindingInlineUniformBlockUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceInlineUniformBlockFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000138e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.inlineUniformBlock&&(this.inlineUniformBlock=e.inlineUniformBlock),void 0!==e.descriptorBindingInlineUniformBlockUpdateAfterBind&&(this.descriptorBindingInlineUniformBlockUpdateAfterBind=e.descriptorBindingInlineUniformBlockUpdateAfterBind))},VkPhysicalDeviceInlineUniformBlockFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceInlineUniformBlockFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceInlineUniformBlockFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceInlineUniformBlockFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.inlineUniformBlock=e.inlineUniformBlock,t.descriptorBindingInlineUniformBlockUpdateAfterBind=e.descriptorBindingInlineUniformBlockUpdateAfterBind,t},VkPhysicalDeviceInlineUniformBlockFeaturesEXT.byteLength=24,VkPhysicalDeviceInlineUniformBlockFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},inlineUniformBlock:{byteOffset:16,byteLength:4},descriptorBindingInlineUniformBlockUpdateAfterBind:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceInlineUniformBlockPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceInlineUniformBlockPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceInlineUniformBlockPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceInlineUniformBlockPropertiesEXT.pNext' isn't allowed to be filled")}},maxInlineUniformBlockSize:{get(){return this.memoryView.getUint32(16,!0)}},maxPerStageDescriptorInlineUniformBlocks:{get(){return this.memoryView.getUint32(20,!0)}},maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks:{get(){return this.memoryView.getUint32(24,!0)}},maxDescriptorSetInlineUniformBlocks:{get(){return this.memoryView.getUint32(28,!0)}},maxDescriptorSetUpdateAfterBindInlineUniformBlocks:{get(){return this.memoryView.getUint32(32,!0)}}}),VkPhysicalDeviceInlineUniformBlockPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000138001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceInlineUniformBlockPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceInlineUniformBlockPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkPhysicalDeviceInlineUniformBlockPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceInlineUniformBlockPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxInlineUniformBlockSize=e.maxInlineUniformBlockSize,t.maxPerStageDescriptorInlineUniformBlocks=e.maxPerStageDescriptorInlineUniformBlocks,t.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks=e.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks,t.maxDescriptorSetInlineUniformBlocks=e.maxDescriptorSetInlineUniformBlocks,t.maxDescriptorSetUpdateAfterBindInlineUniformBlocks=e.maxDescriptorSetUpdateAfterBindInlineUniformBlocks,t},VkPhysicalDeviceInlineUniformBlockPropertiesEXT.byteLength=40,VkPhysicalDeviceInlineUniformBlockPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxInlineUniformBlockSize:{byteOffset:16,byteLength:4},maxPerStageDescriptorInlineUniformBlocks:{byteOffset:20,byteLength:4},maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks:{byteOffset:24,byteLength:4},maxDescriptorSetInlineUniformBlocks:{byteOffset:28,byteLength:4},maxDescriptorSetUpdateAfterBindInlineUniformBlocks:{byteOffset:32,byteLength:4}},Object.defineProperties(VkWriteDescriptorSetInlineUniformBlockEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWriteDescriptorSetInlineUniformBlockEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkWriteDescriptorSetInlineUniformBlockEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkWriteDescriptorSetInlineUniformBlockEXT.pNext' isn't allowed to be filled")}},dataSize:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWriteDescriptorSetInlineUniformBlockEXT.dataSize"),this.memoryView.setUint32(16,e,!0)}},pData:{get(){return this._pData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pData=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSetInlineUniformBlockEXT.pData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pData=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkWriteDescriptorSetInlineUniformBlockEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pData=null,this.sType=1000138002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dataSize&&(this.dataSize=e.dataSize),void 0!==e.pData&&(this.pData=e.pData))},VkWriteDescriptorSetInlineUniformBlockEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkWriteDescriptorSetInlineUniformBlockEXT.prototype.reflect=function(e){},VkWriteDescriptorSetInlineUniformBlockEXT.createCopyFrom=function(e){let t=new VkWriteDescriptorSetInlineUniformBlockEXT;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.dataSize=e.dataSize,null!==e.pData){let r=new ArrayBuffer(e.pData.byteLength);new Uint8Array(r).set(new Uint8Array(e.pData),0),t.pData=r}return t},VkWriteDescriptorSetInlineUniformBlockEXT.byteLength=32,VkWriteDescriptorSetInlineUniformBlockEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},dataSize:{byteOffset:16,byteLength:4},pData:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorPoolInlineUniformBlockCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorPoolInlineUniformBlockCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorPoolInlineUniformBlockCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDescriptorPoolInlineUniformBlockCreateInfoEXT.pNext' isn't allowed to be filled")}},maxInlineUniformBlockBindings:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorPoolInlineUniformBlockCreateInfoEXT.maxInlineUniformBlockBindings"),this.memoryView.setUint32(16,e,!0)}}}),VkDescriptorPoolInlineUniformBlockCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000138003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.maxInlineUniformBlockBindings&&(this.maxInlineUniformBlockBindings=e.maxInlineUniformBlockBindings))},VkDescriptorPoolInlineUniformBlockCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDescriptorPoolInlineUniformBlockCreateInfoEXT.prototype.reflect=function(e){},VkDescriptorPoolInlineUniformBlockCreateInfoEXT.createCopyFrom=function(e){let t=new VkDescriptorPoolInlineUniformBlockCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxInlineUniformBlockBindings=e.maxInlineUniformBlockBindings,t},VkDescriptorPoolInlineUniformBlockCreateInfoEXT.byteLength=24,VkDescriptorPoolInlineUniformBlockCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxInlineUniformBlockBindings:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineCoverageModulationStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCoverageModulationStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineCoverageModulationStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineCoverageModulationStateCreateInfoNV.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCoverageModulationStateCreateInfoNV.flags"),this.memoryView.setInt32(16,e,!0)}},coverageModulationMode:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCoverageModulationStateCreateInfoNV.coverageModulationMode"),!$VAL_R_VkCoverageModulationModeNV(e))throw new RangeError("Invalid value for 'VkPipelineCoverageModulationStateCreateInfoNV.coverageModulationMode': '"+e+"' is not a value of 'VkCoverageModulationModeNV'");this.memoryView.setInt32(20,e,!0)}},coverageModulationTableEnable:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},coverageModulationTableCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCoverageModulationStateCreateInfoNV.coverageModulationTableCount"),this.memoryView.setUint32(28,e,!0)}},pCoverageModulationTable:{get(){return this._pCoverageModulationTable},set(e){if(null!==e&&e.constructor===Float32Array)this._pCoverageModulationTable=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineCoverageModulationStateCreateInfoNV.pCoverageModulationTable': Expected 'Float32Array' but got '"+typeToString(e)+"'");this._pCoverageModulationTable=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkPipelineCoverageModulationStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pCoverageModulationTable=null,this.sType=1000152e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.coverageModulationMode&&(this.coverageModulationMode=e.coverageModulationMode),void 0!==e.coverageModulationTableEnable&&(this.coverageModulationTableEnable=e.coverageModulationTableEnable),void 0!==e.coverageModulationTableCount&&(this.coverageModulationTableCount=e.coverageModulationTableCount),void 0!==e.pCoverageModulationTable&&(this.pCoverageModulationTable=e.pCoverageModulationTable))},VkPipelineCoverageModulationStateCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineCoverageModulationStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineCoverageModulationStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineCoverageModulationStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.coverageModulationMode=e.coverageModulationMode,t.coverageModulationTableEnable=e.coverageModulationTableEnable,t.coverageModulationTableCount=e.coverageModulationTableCount,null!==e.pCoverageModulationTable&&(t.pCoverageModulationTable=new Float32Array(e.pCoverageModulationTable)),t},VkPipelineCoverageModulationStateCreateInfoNV.byteLength=40,VkPipelineCoverageModulationStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},coverageModulationMode:{byteOffset:20,byteLength:4},coverageModulationTableEnable:{byteOffset:24,byteLength:4},coverageModulationTableCount:{byteOffset:28,byteLength:4},pCoverageModulationTable:{byteOffset:32,byteLength:8}},Object.defineProperties(VkImageFormatListCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageFormatListCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageFormatListCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageFormatListCreateInfoKHR.pNext' isn't allowed to be filled")}},viewFormatCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageFormatListCreateInfoKHR.viewFormatCount"),this.memoryView.setUint32(16,e,!0)}},pViewFormats:{get(){return this._pViewFormats},set(e){if(null!==e&&e.constructor===Int32Array)this._pViewFormats=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageFormatListCreateInfoKHR.pViewFormats': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pViewFormats=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkImageFormatListCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pViewFormats=null,this.sType=1000147e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.viewFormatCount&&(this.viewFormatCount=e.viewFormatCount),void 0!==e.pViewFormats&&(this.pViewFormats=e.pViewFormats))},VkImageFormatListCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageFormatListCreateInfoKHR.prototype.reflect=function(e){},VkImageFormatListCreateInfoKHR.createCopyFrom=function(e){let t=new VkImageFormatListCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.viewFormatCount=e.viewFormatCount,null!==e.pViewFormats&&(t.pViewFormats=new Int32Array(e.pViewFormats)),t},VkImageFormatListCreateInfoKHR.byteLength=32,VkImageFormatListCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},viewFormatCount:{byteOffset:16,byteLength:4},pViewFormats:{byteOffset:24,byteLength:8}},Object.defineProperties(VkValidationCacheCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkValidationCacheCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkValidationCacheCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkValidationCacheCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkValidationCacheCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},initialDataSize:{get(){return this.memoryView.getBigInt64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkValidationCacheCreateInfoEXT.initialDataSize"),this.memoryView.setBigInt64(24,BigInt(e),!0)}},pInitialData:{get(){return this._pInitialData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pInitialData=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkValidationCacheCreateInfoEXT.pInitialData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pInitialData=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkValidationCacheCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pInitialData=null,this.sType=100016e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.initialDataSize&&(this.initialDataSize=e.initialDataSize),void 0!==e.pInitialData&&(this.pInitialData=e.pInitialData))},VkValidationCacheCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkValidationCacheCreateInfoEXT.prototype.reflect=function(e){},VkValidationCacheCreateInfoEXT.createCopyFrom=function(e){let t=new VkValidationCacheCreateInfoEXT;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.initialDataSize=e.initialDataSize,null!==e.pInitialData){let r=new ArrayBuffer(e.pInitialData.byteLength);new Uint8Array(r).set(new Uint8Array(e.pInitialData),0),t.pInitialData=r}return t},VkValidationCacheCreateInfoEXT.byteLength=40,VkValidationCacheCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},initialDataSize:{byteOffset:24,byteLength:8},pInitialData:{byteOffset:32,byteLength:8}},Object.defineProperties(VkShaderModuleValidationCacheCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkShaderModuleValidationCacheCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkShaderModuleValidationCacheCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkShaderModuleValidationCacheCreateInfoEXT.pNext' isn't allowed to be filled")}},validationCache:{get(){return this._validationCache},set(e){if(null!==e&&e.constructor===VkValidationCacheEXT)this._validationCache=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkShaderModuleValidationCacheCreateInfoEXT.validationCache': Expected 'VkValidationCacheEXT' but got '"+typeToString(e)+"'");this._validationCache=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkShaderModuleValidationCacheCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._validationCache=null,this.sType=1000160001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.validationCache&&(this.validationCache=e.validationCache))},VkShaderModuleValidationCacheCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkShaderModuleValidationCacheCreateInfoEXT.prototype.reflect=function(e){},VkShaderModuleValidationCacheCreateInfoEXT.createCopyFrom=function(e){let t=new VkShaderModuleValidationCacheCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.validationCache&&(t.validationCache=e.validationCache.constructor.createCopyFrom(e.validationCache)),t},VkShaderModuleValidationCacheCreateInfoEXT.byteLength=24,VkShaderModuleValidationCacheCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},validationCache:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPhysicalDeviceMaintenance3Properties.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMaintenance3Properties.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMaintenance3Properties.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMaintenance3Properties.pNext' isn't allowed to be filled")}},maxPerSetDescriptors:{get(){return this.memoryView.getUint32(16,!0)}},maxMemoryAllocationSize:{get(){return this.memoryView.getBigUint64(24,!0)}}}),VkPhysicalDeviceMaintenance3Properties.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000168e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMaintenance3Properties.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMaintenance3Properties.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceMaintenance3Properties.createCopyFrom=function(e){let t=new VkPhysicalDeviceMaintenance3Properties;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxPerSetDescriptors=e.maxPerSetDescriptors,t.maxMemoryAllocationSize=e.maxMemoryAllocationSize,t},VkPhysicalDeviceMaintenance3Properties.byteLength=32,VkPhysicalDeviceMaintenance3Properties.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxPerSetDescriptors:{byteOffset:16,byteLength:4},maxMemoryAllocationSize:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceMaintenance3PropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMaintenance3PropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMaintenance3PropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMaintenance3PropertiesKHR.pNext' isn't allowed to be filled")}},maxPerSetDescriptors:{get(){return this.memoryView.getUint32(16,!0)}},maxMemoryAllocationSize:{get(){return this.memoryView.getBigUint64(24,!0)}}}),VkPhysicalDeviceMaintenance3PropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000168e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMaintenance3PropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMaintenance3PropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceMaintenance3PropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceMaintenance3PropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxPerSetDescriptors=e.maxPerSetDescriptors,t.maxMemoryAllocationSize=e.maxMemoryAllocationSize,t},VkPhysicalDeviceMaintenance3PropertiesKHR.byteLength=32,VkPhysicalDeviceMaintenance3PropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxPerSetDescriptors:{byteOffset:16,byteLength:4},maxMemoryAllocationSize:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorSetLayoutSupport.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutSupport.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetLayoutSupport.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutSupport.pNext'");switch(t){case 1000161004:break;default:throw new TypeError("Invalid type for 'VkDescriptorSetLayoutSupport.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutSupport.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},supported:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkDescriptorSetLayoutSupport.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000168001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDescriptorSetLayoutSupport.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDescriptorSetLayoutSupport.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkDescriptorSetLayoutSupport.createCopyFrom=function(e){let t=new VkDescriptorSetLayoutSupport;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.supported=e.supported,t},VkDescriptorSetLayoutSupport.byteLength=24,VkDescriptorSetLayoutSupport.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},supported:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDescriptorSetLayoutSupportKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutSupportKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetLayoutSupportKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutSupportKHR.pNext'");switch(t){case 1000161004:break;default:throw new TypeError("Invalid type for 'VkDescriptorSetLayoutSupportKHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutSupportKHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},supported:{get(){return 0!==this.memoryView.getUint32(16,!0)}}}),VkDescriptorSetLayoutSupportKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000168001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDescriptorSetLayoutSupportKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDescriptorSetLayoutSupportKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkDescriptorSetLayoutSupportKHR.createCopyFrom=function(e){let t=new VkDescriptorSetLayoutSupportKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.supported=e.supported,t},VkDescriptorSetLayoutSupportKHR.byteLength=24,VkDescriptorSetLayoutSupportKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},supported:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderDrawParametersFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderDrawParametersFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderDrawParametersFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderDrawParametersFeatures.pNext' isn't allowed to be filled")}},shaderDrawParameters:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderDrawParametersFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000063e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderDrawParameters&&(this.shaderDrawParameters=e.shaderDrawParameters))},VkPhysicalDeviceShaderDrawParametersFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderDrawParametersFeatures.prototype.reflect=function(e){},VkPhysicalDeviceShaderDrawParametersFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderDrawParametersFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderDrawParameters=e.shaderDrawParameters,t},VkPhysicalDeviceShaderDrawParametersFeatures.byteLength=24,VkPhysicalDeviceShaderDrawParametersFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderDrawParameters:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderDrawParameterFeatures.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderDrawParameterFeatures.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderDrawParameterFeatures.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderDrawParameterFeatures.pNext' isn't allowed to be filled")}},shaderDrawParameters:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderDrawParameterFeatures.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000063e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderDrawParameters&&(this.shaderDrawParameters=e.shaderDrawParameters))},VkPhysicalDeviceShaderDrawParameterFeatures.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderDrawParameterFeatures.prototype.reflect=function(e){},VkPhysicalDeviceShaderDrawParameterFeatures.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderDrawParameterFeatures;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderDrawParameters=e.shaderDrawParameters,t},VkPhysicalDeviceShaderDrawParameterFeatures.byteLength=24,VkPhysicalDeviceShaderDrawParameterFeatures.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderDrawParameters:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.pNext' isn't allowed to be filled")}},shaderFloat16:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},shaderInt8:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000082e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderFloat16&&(this.shaderFloat16=e.shaderFloat16),void 0!==e.shaderInt8&&(this.shaderInt8=e.shaderInt8))},VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderFloat16Int8FeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderFloat16=e.shaderFloat16,t.shaderInt8=e.shaderInt8,t},VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.byteLength=24,VkPhysicalDeviceShaderFloat16Int8FeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderFloat16:{byteOffset:16,byteLength:4},shaderInt8:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFloat16Int8FeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFloat16Int8FeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFloat16Int8FeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceFloat16Int8FeaturesKHR.pNext' isn't allowed to be filled")}},shaderFloat16:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},shaderInt8:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceFloat16Int8FeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000082e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderFloat16&&(this.shaderFloat16=e.shaderFloat16),void 0!==e.shaderInt8&&(this.shaderInt8=e.shaderInt8))},VkPhysicalDeviceFloat16Int8FeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceFloat16Int8FeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceFloat16Int8FeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceFloat16Int8FeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderFloat16=e.shaderFloat16,t.shaderInt8=e.shaderInt8,t},VkPhysicalDeviceFloat16Int8FeaturesKHR.byteLength=24,VkPhysicalDeviceFloat16Int8FeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderFloat16:{byteOffset:16,byteLength:4},shaderInt8:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFloatControlsPropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFloatControlsPropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFloatControlsPropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceFloatControlsPropertiesKHR.pNext' isn't allowed to be filled")}},denormBehaviorIndependence:{get(){return this.memoryView.getInt32(16,!0)}},roundingModeIndependence:{get(){return this.memoryView.getInt32(20,!0)}},shaderSignedZeroInfNanPreserveFloat16:{get(){return 0!==this.memoryView.getUint32(24,!0)}},shaderSignedZeroInfNanPreserveFloat32:{get(){return 0!==this.memoryView.getUint32(28,!0)}},shaderSignedZeroInfNanPreserveFloat64:{get(){return 0!==this.memoryView.getUint32(32,!0)}},shaderDenormPreserveFloat16:{get(){return 0!==this.memoryView.getUint32(36,!0)}},shaderDenormPreserveFloat32:{get(){return 0!==this.memoryView.getUint32(40,!0)}},shaderDenormPreserveFloat64:{get(){return 0!==this.memoryView.getUint32(44,!0)}},shaderDenormFlushToZeroFloat16:{get(){return 0!==this.memoryView.getUint32(48,!0)}},shaderDenormFlushToZeroFloat32:{get(){return 0!==this.memoryView.getUint32(52,!0)}},shaderDenormFlushToZeroFloat64:{get(){return 0!==this.memoryView.getUint32(56,!0)}},shaderRoundingModeRTEFloat16:{get(){return 0!==this.memoryView.getUint32(60,!0)}},shaderRoundingModeRTEFloat32:{get(){return 0!==this.memoryView.getUint32(64,!0)}},shaderRoundingModeRTEFloat64:{get(){return 0!==this.memoryView.getUint32(68,!0)}},shaderRoundingModeRTZFloat16:{get(){return 0!==this.memoryView.getUint32(72,!0)}},shaderRoundingModeRTZFloat32:{get(){return 0!==this.memoryView.getUint32(76,!0)}},shaderRoundingModeRTZFloat64:{get(){return 0!==this.memoryView.getUint32(80,!0)}}}),VkPhysicalDeviceFloatControlsPropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,88)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x58"],0),this._pNext=null,this.sType=1000197e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceFloatControlsPropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceFloatControlsPropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(88)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,88),0)},VkPhysicalDeviceFloatControlsPropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceFloatControlsPropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.denormBehaviorIndependence=e.denormBehaviorIndependence,t.roundingModeIndependence=e.roundingModeIndependence,t.shaderSignedZeroInfNanPreserveFloat16=e.shaderSignedZeroInfNanPreserveFloat16,t.shaderSignedZeroInfNanPreserveFloat32=e.shaderSignedZeroInfNanPreserveFloat32,t.shaderSignedZeroInfNanPreserveFloat64=e.shaderSignedZeroInfNanPreserveFloat64,t.shaderDenormPreserveFloat16=e.shaderDenormPreserveFloat16,t.shaderDenormPreserveFloat32=e.shaderDenormPreserveFloat32,t.shaderDenormPreserveFloat64=e.shaderDenormPreserveFloat64,t.shaderDenormFlushToZeroFloat16=e.shaderDenormFlushToZeroFloat16,t.shaderDenormFlushToZeroFloat32=e.shaderDenormFlushToZeroFloat32,t.shaderDenormFlushToZeroFloat64=e.shaderDenormFlushToZeroFloat64,t.shaderRoundingModeRTEFloat16=e.shaderRoundingModeRTEFloat16,t.shaderRoundingModeRTEFloat32=e.shaderRoundingModeRTEFloat32,t.shaderRoundingModeRTEFloat64=e.shaderRoundingModeRTEFloat64,t.shaderRoundingModeRTZFloat16=e.shaderRoundingModeRTZFloat16,t.shaderRoundingModeRTZFloat32=e.shaderRoundingModeRTZFloat32,t.shaderRoundingModeRTZFloat64=e.shaderRoundingModeRTZFloat64,t},VkPhysicalDeviceFloatControlsPropertiesKHR.byteLength=88,VkPhysicalDeviceFloatControlsPropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},denormBehaviorIndependence:{byteOffset:16,byteLength:4},roundingModeIndependence:{byteOffset:20,byteLength:4},shaderSignedZeroInfNanPreserveFloat16:{byteOffset:24,byteLength:4},shaderSignedZeroInfNanPreserveFloat32:{byteOffset:28,byteLength:4},shaderSignedZeroInfNanPreserveFloat64:{byteOffset:32,byteLength:4},shaderDenormPreserveFloat16:{byteOffset:36,byteLength:4},shaderDenormPreserveFloat32:{byteOffset:40,byteLength:4},shaderDenormPreserveFloat64:{byteOffset:44,byteLength:4},shaderDenormFlushToZeroFloat16:{byteOffset:48,byteLength:4},shaderDenormFlushToZeroFloat32:{byteOffset:52,byteLength:4},shaderDenormFlushToZeroFloat64:{byteOffset:56,byteLength:4},shaderRoundingModeRTEFloat16:{byteOffset:60,byteLength:4},shaderRoundingModeRTEFloat32:{byteOffset:64,byteLength:4},shaderRoundingModeRTEFloat64:{byteOffset:68,byteLength:4},shaderRoundingModeRTZFloat16:{byteOffset:72,byteLength:4},shaderRoundingModeRTZFloat32:{byteOffset:76,byteLength:4},shaderRoundingModeRTZFloat64:{byteOffset:80,byteLength:4}},Object.defineProperties(VkPhysicalDeviceHostQueryResetFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceHostQueryResetFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceHostQueryResetFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceHostQueryResetFeaturesEXT.pNext' isn't allowed to be filled")}},hostQueryReset:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceHostQueryResetFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000261e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.hostQueryReset&&(this.hostQueryReset=e.hostQueryReset))},VkPhysicalDeviceHostQueryResetFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceHostQueryResetFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceHostQueryResetFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceHostQueryResetFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.hostQueryReset=e.hostQueryReset,t},VkPhysicalDeviceHostQueryResetFeaturesEXT.byteLength=24,VkPhysicalDeviceHostQueryResetFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},hostQueryReset:{byteOffset:16,byteLength:4}},Object.defineProperties(VkShaderResourceUsageAMD.prototype,{numUsedVgprs:{get(){return this.memoryView.getUint32(0,!0)}},numUsedSgprs:{get(){return this.memoryView.getUint32(4,!0)}},ldsSizePerLocalWorkGroup:{get(){return this.memoryView.getUint32(8,!0)}},ldsUsageSizeInBytes:{get(){return this.memoryView.getBigInt64(16,!0)}},scratchMemUsageInBytes:{get(){return this.memoryView.getBigInt64(24,!0)}}}),VkShaderResourceUsageAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0)},VkShaderResourceUsageAMD.prototype.flush=function(){return!0},VkShaderResourceUsageAMD.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkShaderResourceUsageAMD.createCopyFrom=function(e){let t=new VkShaderResourceUsageAMD;return t.numUsedVgprs=e.numUsedVgprs,t.numUsedSgprs=e.numUsedSgprs,t.ldsSizePerLocalWorkGroup=e.ldsSizePerLocalWorkGroup,t.ldsUsageSizeInBytes=e.ldsUsageSizeInBytes,t.scratchMemUsageInBytes=e.scratchMemUsageInBytes,t},VkShaderResourceUsageAMD.byteLength=32,VkShaderResourceUsageAMD.memoryLayout={numUsedVgprs:{byteOffset:0,byteLength:4},numUsedSgprs:{byteOffset:4,byteLength:4},ldsSizePerLocalWorkGroup:{byteOffset:8,byteLength:4},ldsUsageSizeInBytes:{byteOffset:16,byteLength:8},scratchMemUsageInBytes:{byteOffset:24,byteLength:8}},Object.defineProperties(VkShaderStatisticsInfoAMD.prototype,{shaderStageMask:{get(){return this.memoryView.getInt32(0,!0)}},resourceUsage:{get(){return this._resourceUsage}},numPhysicalVgprs:{get(){return this.memoryView.getUint32(40,!0)}},numPhysicalSgprs:{get(){return this.memoryView.getUint32(44,!0)}},numAvailableVgprs:{get(){return this.memoryView.getUint32(48,!0)}},numAvailableSgprs:{get(){return this.memoryView.getUint32(52,!0)}},computeWorkGroupSize:{get(){return[this.memoryView.getUint32(56,!0),this.memoryView.getUint32(60,!0),this.memoryView.getUint32(64,!0)]}}}),VkShaderStatisticsInfoAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),null!==this._resourceUsage&&(this.memoryBuffer!==this._resourceUsage.memoryBuffer?this._resourceUsage=new VkShaderResourceUsageAMD({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._resourceUsage.reset()),null!==this._computeWorkGroupSize?this._computeWorkGroupSize.fill(0):this._computeWorkGroupSize=[...Array(3)].fill(0)},VkShaderStatisticsInfoAMD.prototype.flush=function(){return!0},VkShaderStatisticsInfoAMD.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(72)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,72),0)},VkShaderStatisticsInfoAMD.createCopyFrom=function(e){let t=new VkShaderStatisticsInfoAMD;return t.shaderStageMask=e.shaderStageMask,null!==e.resourceUsage&&(t.resourceUsage=e.resourceUsage.constructor.createCopyFrom(e.resourceUsage)),t.numPhysicalVgprs=e.numPhysicalVgprs,t.numPhysicalSgprs=e.numPhysicalSgprs,t.numAvailableVgprs=e.numAvailableVgprs,t.numAvailableSgprs=e.numAvailableSgprs,null!==e.computeWorkGroupSize&&(t.computeWorkGroupSize=[...Array(e.computeWorkGroupSize.length)].map((t,r)=>e.computeWorkGroupSize[r])),t},VkShaderStatisticsInfoAMD.byteLength=72,VkShaderStatisticsInfoAMD.memoryLayout={shaderStageMask:{byteOffset:0,byteLength:4},resourceUsage:{byteOffset:8,byteLength:32},numPhysicalVgprs:{byteOffset:40,byteLength:4},numPhysicalSgprs:{byteOffset:44,byteLength:4},numAvailableVgprs:{byteOffset:48,byteLength:4},numAvailableSgprs:{byteOffset:52,byteLength:4},computeWorkGroupSize:{byteOffset:56,byteLength:12}},Object.defineProperties(VkDeviceQueueGlobalPriorityCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceQueueGlobalPriorityCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceQueueGlobalPriorityCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceQueueGlobalPriorityCreateInfoEXT.pNext' isn't allowed to be filled")}},globalPriority:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceQueueGlobalPriorityCreateInfoEXT.globalPriority"),!$VAL_R_VkQueueGlobalPriorityEXT(e))throw new RangeError("Invalid value for 'VkDeviceQueueGlobalPriorityCreateInfoEXT.globalPriority': '"+e+"' is not a value of 'VkQueueGlobalPriorityEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkDeviceQueueGlobalPriorityCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000174e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.globalPriority&&(this.globalPriority=e.globalPriority))},VkDeviceQueueGlobalPriorityCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceQueueGlobalPriorityCreateInfoEXT.prototype.reflect=function(e){},VkDeviceQueueGlobalPriorityCreateInfoEXT.createCopyFrom=function(e){let t=new VkDeviceQueueGlobalPriorityCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.globalPriority=e.globalPriority,t},VkDeviceQueueGlobalPriorityCreateInfoEXT.byteLength=24,VkDeviceQueueGlobalPriorityCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},globalPriority:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDebugUtilsObjectNameInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugUtilsObjectNameInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDebugUtilsObjectNameInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDebugUtilsObjectNameInfoEXT.pNext' isn't allowed to be filled")}},objectType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugUtilsObjectNameInfoEXT.objectType"),!$VAL_R_VkObjectType(e))throw new RangeError("Invalid value for 'VkDebugUtilsObjectNameInfoEXT.objectType': '"+e+"' is not a value of 'VkObjectType'");this.memoryView.setInt32(16,e,!0)}},objectHandle:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDebugUtilsObjectNameInfoEXT.objectHandle"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},pObjectName:{get(){if(null!==this._pObjectName){let e=textDecoder.decode(this._pObjectName);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(32,!0)!==BI0){let e=this.memoryView.getBigInt64(32,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._pObjectName=r,this.pObjectName}return null},set(e){null!==e&&e.constructor===String?(this._pObjectName=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(this._pObjectName),!0)):null===e?(this._pObjectName=null,this.memoryView.setBigInt64(32,BI0,!0)):ASSERT_IS_STRING(e,"VkDebugUtilsObjectNameInfoEXT.pObjectName")}}}),VkDebugUtilsObjectNameInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pObjectName=null,this.sType=1000128e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectType&&(this.objectType=e.objectType),void 0!==e.objectHandle&&(this.objectHandle=e.objectHandle),void 0!==e.pObjectName&&(this.pObjectName=e.pObjectName))},VkDebugUtilsObjectNameInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDebugUtilsObjectNameInfoEXT.prototype.reflect=function(e){},VkDebugUtilsObjectNameInfoEXT.createCopyFrom=function(e){let t=new VkDebugUtilsObjectNameInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.objectType=e.objectType,t.objectHandle=e.objectHandle,t.pObjectName=e.pObjectName,t},VkDebugUtilsObjectNameInfoEXT.byteLength=40,VkDebugUtilsObjectNameInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},objectType:{byteOffset:16,byteLength:4},objectHandle:{byteOffset:24,byteLength:8},pObjectName:{byteOffset:32,byteLength:8}},Object.defineProperties(VkDebugUtilsObjectTagInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugUtilsObjectTagInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDebugUtilsObjectTagInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDebugUtilsObjectTagInfoEXT.pNext' isn't allowed to be filled")}},objectType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugUtilsObjectTagInfoEXT.objectType"),!$VAL_R_VkObjectType(e))throw new RangeError("Invalid value for 'VkDebugUtilsObjectTagInfoEXT.objectType': '"+e+"' is not a value of 'VkObjectType'");this.memoryView.setInt32(16,e,!0)}},objectHandle:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDebugUtilsObjectTagInfoEXT.objectHandle"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},tagName:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDebugUtilsObjectTagInfoEXT.tagName"),this.memoryView.setBigUint64(32,BigInt(e),!0)}},tagSize:{get(){return this.memoryView.getBigInt64(40,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkDebugUtilsObjectTagInfoEXT.tagSize"),this.memoryView.setBigInt64(40,BigInt(e),!0)}},pTag:{get(){return this._pTag},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pTag=e,this.memoryView.setBigInt64(48,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDebugUtilsObjectTagInfoEXT.pTag': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pTag=null,this.memoryView.setBigInt64(48,BI0,!0)}}}}),VkDebugUtilsObjectTagInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._pTag=null,this.sType=1000128001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.objectType&&(this.objectType=e.objectType),void 0!==e.objectHandle&&(this.objectHandle=e.objectHandle),void 0!==e.tagName&&(this.tagName=e.tagName),void 0!==e.tagSize&&(this.tagSize=e.tagSize),void 0!==e.pTag&&(this.pTag=e.pTag))},VkDebugUtilsObjectTagInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDebugUtilsObjectTagInfoEXT.prototype.reflect=function(e){},VkDebugUtilsObjectTagInfoEXT.createCopyFrom=function(e){let t=new VkDebugUtilsObjectTagInfoEXT;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.objectType=e.objectType,t.objectHandle=e.objectHandle,t.tagName=e.tagName,t.tagSize=e.tagSize,null!==e.pTag){let r=new ArrayBuffer(e.pTag.byteLength);new Uint8Array(r).set(new Uint8Array(e.pTag),0),t.pTag=r}return t},VkDebugUtilsObjectTagInfoEXT.byteLength=56,VkDebugUtilsObjectTagInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},objectType:{byteOffset:16,byteLength:4},objectHandle:{byteOffset:24,byteLength:8},tagName:{byteOffset:32,byteLength:8},tagSize:{byteOffset:40,byteLength:8},pTag:{byteOffset:48,byteLength:8}},Object.defineProperties(VkDebugUtilsLabelEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugUtilsLabelEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDebugUtilsLabelEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDebugUtilsLabelEXT.pNext' isn't allowed to be filled")}},pLabelName:{get(){if(null!==this._pLabelName){let e=textDecoder.decode(this._pLabelName);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(16,!0)!==BI0){let e=this.memoryView.getBigInt64(16,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._pLabelName=r,this.pLabelName}return null},set(e){null!==e&&e.constructor===String?(this._pLabelName=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(16,getAddressFromArrayBuffer(this._pLabelName),!0)):null===e?(this._pLabelName=null,this.memoryView.setBigInt64(16,BI0,!0)):ASSERT_IS_STRING(e,"VkDebugUtilsLabelEXT.pLabelName")}},color:{get(){return this._color},set(e){if(null!==e&&e.constructor===Array)this._color=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkDebugUtilsLabelEXT.color': Expected 'Array float' but got '"+typeToString(e)+"'");this._color=null}}}}),VkDebugUtilsLabelEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pLabelName=null,null!==this._color?this._color.fill(0):this._color=[...Array(4)].fill(0),this.sType=1000128002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pLabelName&&(this.pLabelName=e.pLabelName),void 0!==e.color&&(this.color=e.color))},VkDebugUtilsLabelEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._color){let e=this._color;if(4!==e.length)throw new RangeError("Invalid array length, expected length of '4' for 'VkDebugUtilsLabelEXT.color'");for(let t=0;te.color[r])),t},VkDebugUtilsLabelEXT.byteLength=40,VkDebugUtilsLabelEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pLabelName:{byteOffset:16,byteLength:8},color:{byteOffset:24,byteLength:16}},Object.defineProperties(VkDebugUtilsMessengerCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDebugUtilsMessengerCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDebugUtilsMessengerCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDebugUtilsMessengerCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDebugUtilsMessengerCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},messageSeverity:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDebugUtilsMessengerCreateInfoEXT.messageSeverity"),this.memoryView.setInt32(20,e,!0)}},messageType:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDebugUtilsMessengerCreateInfoEXT.messageType"),this.memoryView.setInt32(24,e,!0)}},pfnUserCallback:{get(){return this._pfnUserCallback},set(e){if(null!==e&&e.constructor===Function){let t=function(){for(let e=0;e0){let t=new NativeObjectArray(e);this._pQueueLabelsNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pQueueLabelsNative=null,this.memoryView.setBigInt64(56,BI0,!0)}if(null!==this._pCmdBufLabels){let e=this._pCmdBufLabels;if(e.length!==this.cmdBufLabelCount)throw new RangeError("Invalid array length, expected length of 'cmdBufLabelCount' for 'VkDebugUtilsMessengerCallbackDataEXT.pCmdBufLabels'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pCmdBufLabelsNative=t,this.memoryView.setBigInt64(72,t.address,!0)}else this._pCmdBufLabelsNative=null,this.memoryView.setBigInt64(72,BI0,!0)}if(null!==this._pObjects){let e=this._pObjects;if(e.length!==this.objectCount)throw new RangeError("Invalid array length, expected length of 'objectCount' for 'VkDebugUtilsMessengerCallbackDataEXT.pObjects'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pObjectsNative=t,this.memoryView.setBigInt64(88,t.address,!0)}else this._pObjectsNative=null,this.memoryView.setBigInt64(88,BI0,!0)}return!0},VkDebugUtilsMessengerCallbackDataEXT.prototype.reflect=function(e){},VkDebugUtilsMessengerCallbackDataEXT.createCopyFrom=function(e){let t=new VkDebugUtilsMessengerCallbackDataEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.pMessageIdName=e.pMessageIdName,t.messageIdNumber=e.messageIdNumber,t.pMessage=e.pMessage,t.queueLabelCount=e.queueLabelCount,null!==e.pQueueLabels&&(t.pQueueLabels=[...Array(e.pQueueLabels.length)].map((t,r)=>e.pQueueLabels[r].constructor.createCopyFrom(e.pQueueLabels[r]))),t.cmdBufLabelCount=e.cmdBufLabelCount,null!==e.pCmdBufLabels&&(t.pCmdBufLabels=[...Array(e.pCmdBufLabels.length)].map((t,r)=>e.pCmdBufLabels[r].constructor.createCopyFrom(e.pCmdBufLabels[r]))),t.objectCount=e.objectCount,null!==e.pObjects&&(t.pObjects=[...Array(e.pObjects.length)].map((t,r)=>e.pObjects[r].constructor.createCopyFrom(e.pObjects[r]))),t},VkDebugUtilsMessengerCallbackDataEXT.byteLength=96,VkDebugUtilsMessengerCallbackDataEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},pMessageIdName:{byteOffset:24,byteLength:8},messageIdNumber:{byteOffset:32,byteLength:4},pMessage:{byteOffset:40,byteLength:8},queueLabelCount:{byteOffset:48,byteLength:4},pQueueLabels:{byteOffset:56,byteLength:8},cmdBufLabelCount:{byteOffset:64,byteLength:4},pCmdBufLabels:{byteOffset:72,byteLength:8},objectCount:{byteOffset:80,byteLength:4},pObjects:{byteOffset:88,byteLength:8}},Object.defineProperties(VkImportMemoryHostPointerInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImportMemoryHostPointerInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImportMemoryHostPointerInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImportMemoryHostPointerInfoEXT.pNext' isn't allowed to be filled")}},handleType:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImportMemoryHostPointerInfoEXT.handleType"),this.memoryView.setInt32(16,e,!0)}},pHostPointer:{get(){return this._pHostPointer},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pHostPointer=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImportMemoryHostPointerInfoEXT.pHostPointer': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pHostPointer=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkImportMemoryHostPointerInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pHostPointer=null,this.sType=1000178e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.handleType&&(this.handleType=e.handleType),void 0!==e.pHostPointer&&(this.pHostPointer=e.pHostPointer))},VkImportMemoryHostPointerInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImportMemoryHostPointerInfoEXT.prototype.reflect=function(e){},VkImportMemoryHostPointerInfoEXT.createCopyFrom=function(e){let t=new VkImportMemoryHostPointerInfoEXT;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.handleType=e.handleType,null!==e.pHostPointer){let r=new ArrayBuffer(e.pHostPointer.byteLength);new Uint8Array(r).set(new Uint8Array(e.pHostPointer),0),t.pHostPointer=r}return t},VkImportMemoryHostPointerInfoEXT.byteLength=32,VkImportMemoryHostPointerInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},handleType:{byteOffset:16,byteLength:4},pHostPointer:{byteOffset:24,byteLength:8}},Object.defineProperties(VkMemoryHostPointerPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryHostPointerPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryHostPointerPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryHostPointerPropertiesEXT.pNext' isn't allowed to be filled")}},memoryTypeBits:{get(){return this.memoryView.getUint32(16,!0)}}}),VkMemoryHostPointerPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000178001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkMemoryHostPointerPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryHostPointerPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkMemoryHostPointerPropertiesEXT.createCopyFrom=function(e){let t=new VkMemoryHostPointerPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.memoryTypeBits=e.memoryTypeBits,t},VkMemoryHostPointerPropertiesEXT.byteLength=24,VkMemoryHostPointerPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryTypeBits:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExternalMemoryHostPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExternalMemoryHostPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExternalMemoryHostPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExternalMemoryHostPropertiesEXT.pNext' isn't allowed to be filled")}},minImportedHostPointerAlignment:{get(){return this.memoryView.getBigUint64(16,!0)}}}),VkPhysicalDeviceExternalMemoryHostPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000178002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceExternalMemoryHostPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExternalMemoryHostPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceExternalMemoryHostPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceExternalMemoryHostPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.minImportedHostPointerAlignment=e.minImportedHostPointerAlignment,t},VkPhysicalDeviceExternalMemoryHostPropertiesEXT.byteLength=24,VkPhysicalDeviceExternalMemoryHostPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},minImportedHostPointerAlignment:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPhysicalDeviceConservativeRasterizationPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceConservativeRasterizationPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceConservativeRasterizationPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceConservativeRasterizationPropertiesEXT.pNext' isn't allowed to be filled")}},primitiveOverestimationSize:{get(){return this.memoryView.getFloat32(16,!0)}},maxExtraPrimitiveOverestimationSize:{get(){return this.memoryView.getFloat32(20,!0)}},extraPrimitiveOverestimationSizeGranularity:{get(){return this.memoryView.getFloat32(24,!0)}},primitiveUnderestimation:{get(){return 0!==this.memoryView.getUint32(28,!0)}},conservativePointAndLineRasterization:{get(){return 0!==this.memoryView.getUint32(32,!0)}},degenerateTrianglesRasterized:{get(){return 0!==this.memoryView.getUint32(36,!0)}},degenerateLinesRasterized:{get(){return 0!==this.memoryView.getUint32(40,!0)}},fullyCoveredFragmentShaderInputVariable:{get(){return 0!==this.memoryView.getUint32(44,!0)}},conservativeRasterizationPostDepthCoverage:{get(){return 0!==this.memoryView.getUint32(48,!0)}}}),VkPhysicalDeviceConservativeRasterizationPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this.sType=1000101e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceConservativeRasterizationPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceConservativeRasterizationPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(56)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,56),0)},VkPhysicalDeviceConservativeRasterizationPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceConservativeRasterizationPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.primitiveOverestimationSize=e.primitiveOverestimationSize,t.maxExtraPrimitiveOverestimationSize=e.maxExtraPrimitiveOverestimationSize,t.extraPrimitiveOverestimationSizeGranularity=e.extraPrimitiveOverestimationSizeGranularity,t.primitiveUnderestimation=e.primitiveUnderestimation,t.conservativePointAndLineRasterization=e.conservativePointAndLineRasterization,t.degenerateTrianglesRasterized=e.degenerateTrianglesRasterized,t.degenerateLinesRasterized=e.degenerateLinesRasterized,t.fullyCoveredFragmentShaderInputVariable=e.fullyCoveredFragmentShaderInputVariable,t.conservativeRasterizationPostDepthCoverage=e.conservativeRasterizationPostDepthCoverage,t},VkPhysicalDeviceConservativeRasterizationPropertiesEXT.byteLength=56,VkPhysicalDeviceConservativeRasterizationPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},primitiveOverestimationSize:{byteOffset:16,byteLength:4},maxExtraPrimitiveOverestimationSize:{byteOffset:20,byteLength:4},extraPrimitiveOverestimationSizeGranularity:{byteOffset:24,byteLength:4},primitiveUnderestimation:{byteOffset:28,byteLength:4},conservativePointAndLineRasterization:{byteOffset:32,byteLength:4},degenerateTrianglesRasterized:{byteOffset:36,byteLength:4},degenerateLinesRasterized:{byteOffset:40,byteLength:4},fullyCoveredFragmentShaderInputVariable:{byteOffset:44,byteLength:4},conservativeRasterizationPostDepthCoverage:{byteOffset:48,byteLength:4}},Object.defineProperties(VkCalibratedTimestampInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCalibratedTimestampInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCalibratedTimestampInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCalibratedTimestampInfoEXT.pNext' isn't allowed to be filled")}},timeDomain:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCalibratedTimestampInfoEXT.timeDomain"),!$VAL_R_VkTimeDomainEXT(e))throw new RangeError("Invalid value for 'VkCalibratedTimestampInfoEXT.timeDomain': '"+e+"' is not a value of 'VkTimeDomainEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkCalibratedTimestampInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000184e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.timeDomain&&(this.timeDomain=e.timeDomain))},VkCalibratedTimestampInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCalibratedTimestampInfoEXT.prototype.reflect=function(e){},VkCalibratedTimestampInfoEXT.createCopyFrom=function(e){let t=new VkCalibratedTimestampInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.timeDomain=e.timeDomain,t},VkCalibratedTimestampInfoEXT.byteLength=24,VkCalibratedTimestampInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},timeDomain:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderCorePropertiesAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderCorePropertiesAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderCorePropertiesAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderCorePropertiesAMD.pNext' isn't allowed to be filled")}},shaderEngineCount:{get(){return this.memoryView.getUint32(16,!0)}},shaderArraysPerEngineCount:{get(){return this.memoryView.getUint32(20,!0)}},computeUnitsPerShaderArray:{get(){return this.memoryView.getUint32(24,!0)}},simdPerComputeUnit:{get(){return this.memoryView.getUint32(28,!0)}},wavefrontsPerSimd:{get(){return this.memoryView.getUint32(32,!0)}},wavefrontSize:{get(){return this.memoryView.getUint32(36,!0)}},sgprsPerSimd:{get(){return this.memoryView.getUint32(40,!0)}},minSgprAllocation:{get(){return this.memoryView.getUint32(44,!0)}},maxSgprAllocation:{get(){return this.memoryView.getUint32(48,!0)}},sgprAllocationGranularity:{get(){return this.memoryView.getUint32(52,!0)}},vgprsPerSimd:{get(){return this.memoryView.getUint32(56,!0)}},minVgprAllocation:{get(){return this.memoryView.getUint32(60,!0)}},maxVgprAllocation:{get(){return this.memoryView.getUint32(64,!0)}},vgprAllocationGranularity:{get(){return this.memoryView.getUint32(68,!0)}}}),VkPhysicalDeviceShaderCorePropertiesAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,72)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x48"],0),this._pNext=null,this.sType=1000185e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceShaderCorePropertiesAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderCorePropertiesAMD.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(72)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,72),0)},VkPhysicalDeviceShaderCorePropertiesAMD.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderCorePropertiesAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderEngineCount=e.shaderEngineCount,t.shaderArraysPerEngineCount=e.shaderArraysPerEngineCount,t.computeUnitsPerShaderArray=e.computeUnitsPerShaderArray,t.simdPerComputeUnit=e.simdPerComputeUnit,t.wavefrontsPerSimd=e.wavefrontsPerSimd,t.wavefrontSize=e.wavefrontSize,t.sgprsPerSimd=e.sgprsPerSimd,t.minSgprAllocation=e.minSgprAllocation,t.maxSgprAllocation=e.maxSgprAllocation,t.sgprAllocationGranularity=e.sgprAllocationGranularity,t.vgprsPerSimd=e.vgprsPerSimd,t.minVgprAllocation=e.minVgprAllocation,t.maxVgprAllocation=e.maxVgprAllocation,t.vgprAllocationGranularity=e.vgprAllocationGranularity,t},VkPhysicalDeviceShaderCorePropertiesAMD.byteLength=72,VkPhysicalDeviceShaderCorePropertiesAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderEngineCount:{byteOffset:16,byteLength:4},shaderArraysPerEngineCount:{byteOffset:20,byteLength:4},computeUnitsPerShaderArray:{byteOffset:24,byteLength:4},simdPerComputeUnit:{byteOffset:28,byteLength:4},wavefrontsPerSimd:{byteOffset:32,byteLength:4},wavefrontSize:{byteOffset:36,byteLength:4},sgprsPerSimd:{byteOffset:40,byteLength:4},minSgprAllocation:{byteOffset:44,byteLength:4},maxSgprAllocation:{byteOffset:48,byteLength:4},sgprAllocationGranularity:{byteOffset:52,byteLength:4},vgprsPerSimd:{byteOffset:56,byteLength:4},minVgprAllocation:{byteOffset:60,byteLength:4},maxVgprAllocation:{byteOffset:64,byteLength:4},vgprAllocationGranularity:{byteOffset:68,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderCoreProperties2AMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderCoreProperties2AMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderCoreProperties2AMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderCoreProperties2AMD.pNext' isn't allowed to be filled")}},shaderCoreFeatures:{get(){return this.memoryView.getInt32(16,!0)}},activeComputeUnitCount:{get(){return this.memoryView.getUint32(20,!0)}}}),VkPhysicalDeviceShaderCoreProperties2AMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000227e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceShaderCoreProperties2AMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderCoreProperties2AMD.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceShaderCoreProperties2AMD.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderCoreProperties2AMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderCoreFeatures=e.shaderCoreFeatures,t.activeComputeUnitCount=e.activeComputeUnitCount,t},VkPhysicalDeviceShaderCoreProperties2AMD.byteLength=24,VkPhysicalDeviceShaderCoreProperties2AMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderCoreFeatures:{byteOffset:16,byteLength:4},activeComputeUnitCount:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPipelineRasterizationConservativeStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationConservativeStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationConservativeStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineRasterizationConservativeStateCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationConservativeStateCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},conservativeRasterizationMode:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationConservativeStateCreateInfoEXT.conservativeRasterizationMode"),!$VAL_R_VkConservativeRasterizationModeEXT(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationConservativeStateCreateInfoEXT.conservativeRasterizationMode': '"+e+"' is not a value of 'VkConservativeRasterizationModeEXT'");this.memoryView.setInt32(20,e,!0)}},extraPrimitiveOverestimationSize:{get(){return this.memoryView.getFloat32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationConservativeStateCreateInfoEXT.extraPrimitiveOverestimationSize"),this.memoryView.setFloat32(24,e,!0)}}}),VkPipelineRasterizationConservativeStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000101001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.conservativeRasterizationMode&&(this.conservativeRasterizationMode=e.conservativeRasterizationMode),void 0!==e.extraPrimitiveOverestimationSize&&(this.extraPrimitiveOverestimationSize=e.extraPrimitiveOverestimationSize))},VkPipelineRasterizationConservativeStateCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineRasterizationConservativeStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineRasterizationConservativeStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineRasterizationConservativeStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.conservativeRasterizationMode=e.conservativeRasterizationMode,t.extraPrimitiveOverestimationSize=e.extraPrimitiveOverestimationSize,t},VkPipelineRasterizationConservativeStateCreateInfoEXT.byteLength=32,VkPipelineRasterizationConservativeStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},conservativeRasterizationMode:{byteOffset:20,byteLength:4},extraPrimitiveOverestimationSize:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceDescriptorIndexingFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDescriptorIndexingFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDescriptorIndexingFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDescriptorIndexingFeaturesEXT.pNext' isn't allowed to be filled")}},shaderInputAttachmentArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},shaderUniformTexelBufferArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},shaderStorageTexelBufferArrayDynamicIndexing:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},shaderUniformBufferArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(28,!0)},set(e){this.memoryView.setUint32(28,0|e,!0)}},shaderSampledImageArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(32,!0)},set(e){this.memoryView.setUint32(32,0|e,!0)}},shaderStorageBufferArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(36,!0)},set(e){this.memoryView.setUint32(36,0|e,!0)}},shaderStorageImageArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(40,!0)},set(e){this.memoryView.setUint32(40,0|e,!0)}},shaderInputAttachmentArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(44,!0)},set(e){this.memoryView.setUint32(44,0|e,!0)}},shaderUniformTexelBufferArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(48,!0)},set(e){this.memoryView.setUint32(48,0|e,!0)}},shaderStorageTexelBufferArrayNonUniformIndexing:{get(){return 0!==this.memoryView.getUint32(52,!0)},set(e){this.memoryView.setUint32(52,0|e,!0)}},descriptorBindingUniformBufferUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(56,!0)},set(e){this.memoryView.setUint32(56,0|e,!0)}},descriptorBindingSampledImageUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(60,!0)},set(e){this.memoryView.setUint32(60,0|e,!0)}},descriptorBindingStorageImageUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(64,!0)},set(e){this.memoryView.setUint32(64,0|e,!0)}},descriptorBindingStorageBufferUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(68,!0)},set(e){this.memoryView.setUint32(68,0|e,!0)}},descriptorBindingUniformTexelBufferUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(72,!0)},set(e){this.memoryView.setUint32(72,0|e,!0)}},descriptorBindingStorageTexelBufferUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(76,!0)},set(e){this.memoryView.setUint32(76,0|e,!0)}},descriptorBindingUpdateUnusedWhilePending:{get(){return 0!==this.memoryView.getUint32(80,!0)},set(e){this.memoryView.setUint32(80,0|e,!0)}},descriptorBindingPartiallyBound:{get(){return 0!==this.memoryView.getUint32(84,!0)},set(e){this.memoryView.setUint32(84,0|e,!0)}},descriptorBindingVariableDescriptorCount:{get(){return 0!==this.memoryView.getUint32(88,!0)},set(e){this.memoryView.setUint32(88,0|e,!0)}},runtimeDescriptorArray:{get(){return 0!==this.memoryView.getUint32(92,!0)},set(e){this.memoryView.setUint32(92,0|e,!0)}}}),VkPhysicalDeviceDescriptorIndexingFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,96)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x60"],0),this._pNext=null,this.sType=1000161001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderInputAttachmentArrayDynamicIndexing&&(this.shaderInputAttachmentArrayDynamicIndexing=e.shaderInputAttachmentArrayDynamicIndexing),void 0!==e.shaderUniformTexelBufferArrayDynamicIndexing&&(this.shaderUniformTexelBufferArrayDynamicIndexing=e.shaderUniformTexelBufferArrayDynamicIndexing),void 0!==e.shaderStorageTexelBufferArrayDynamicIndexing&&(this.shaderStorageTexelBufferArrayDynamicIndexing=e.shaderStorageTexelBufferArrayDynamicIndexing),void 0!==e.shaderUniformBufferArrayNonUniformIndexing&&(this.shaderUniformBufferArrayNonUniformIndexing=e.shaderUniformBufferArrayNonUniformIndexing),void 0!==e.shaderSampledImageArrayNonUniformIndexing&&(this.shaderSampledImageArrayNonUniformIndexing=e.shaderSampledImageArrayNonUniformIndexing),void 0!==e.shaderStorageBufferArrayNonUniformIndexing&&(this.shaderStorageBufferArrayNonUniformIndexing=e.shaderStorageBufferArrayNonUniformIndexing),void 0!==e.shaderStorageImageArrayNonUniformIndexing&&(this.shaderStorageImageArrayNonUniformIndexing=e.shaderStorageImageArrayNonUniformIndexing),void 0!==e.shaderInputAttachmentArrayNonUniformIndexing&&(this.shaderInputAttachmentArrayNonUniformIndexing=e.shaderInputAttachmentArrayNonUniformIndexing),void 0!==e.shaderUniformTexelBufferArrayNonUniformIndexing&&(this.shaderUniformTexelBufferArrayNonUniformIndexing=e.shaderUniformTexelBufferArrayNonUniformIndexing),void 0!==e.shaderStorageTexelBufferArrayNonUniformIndexing&&(this.shaderStorageTexelBufferArrayNonUniformIndexing=e.shaderStorageTexelBufferArrayNonUniformIndexing),void 0!==e.descriptorBindingUniformBufferUpdateAfterBind&&(this.descriptorBindingUniformBufferUpdateAfterBind=e.descriptorBindingUniformBufferUpdateAfterBind),void 0!==e.descriptorBindingSampledImageUpdateAfterBind&&(this.descriptorBindingSampledImageUpdateAfterBind=e.descriptorBindingSampledImageUpdateAfterBind),void 0!==e.descriptorBindingStorageImageUpdateAfterBind&&(this.descriptorBindingStorageImageUpdateAfterBind=e.descriptorBindingStorageImageUpdateAfterBind),void 0!==e.descriptorBindingStorageBufferUpdateAfterBind&&(this.descriptorBindingStorageBufferUpdateAfterBind=e.descriptorBindingStorageBufferUpdateAfterBind),void 0!==e.descriptorBindingUniformTexelBufferUpdateAfterBind&&(this.descriptorBindingUniformTexelBufferUpdateAfterBind=e.descriptorBindingUniformTexelBufferUpdateAfterBind),void 0!==e.descriptorBindingStorageTexelBufferUpdateAfterBind&&(this.descriptorBindingStorageTexelBufferUpdateAfterBind=e.descriptorBindingStorageTexelBufferUpdateAfterBind),void 0!==e.descriptorBindingUpdateUnusedWhilePending&&(this.descriptorBindingUpdateUnusedWhilePending=e.descriptorBindingUpdateUnusedWhilePending),void 0!==e.descriptorBindingPartiallyBound&&(this.descriptorBindingPartiallyBound=e.descriptorBindingPartiallyBound),void 0!==e.descriptorBindingVariableDescriptorCount&&(this.descriptorBindingVariableDescriptorCount=e.descriptorBindingVariableDescriptorCount),void 0!==e.runtimeDescriptorArray&&(this.runtimeDescriptorArray=e.runtimeDescriptorArray))},VkPhysicalDeviceDescriptorIndexingFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDescriptorIndexingFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceDescriptorIndexingFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceDescriptorIndexingFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderInputAttachmentArrayDynamicIndexing=e.shaderInputAttachmentArrayDynamicIndexing,t.shaderUniformTexelBufferArrayDynamicIndexing=e.shaderUniformTexelBufferArrayDynamicIndexing,t.shaderStorageTexelBufferArrayDynamicIndexing=e.shaderStorageTexelBufferArrayDynamicIndexing,t.shaderUniformBufferArrayNonUniformIndexing=e.shaderUniformBufferArrayNonUniformIndexing,t.shaderSampledImageArrayNonUniformIndexing=e.shaderSampledImageArrayNonUniformIndexing,t.shaderStorageBufferArrayNonUniformIndexing=e.shaderStorageBufferArrayNonUniformIndexing,t.shaderStorageImageArrayNonUniformIndexing=e.shaderStorageImageArrayNonUniformIndexing,t.shaderInputAttachmentArrayNonUniformIndexing=e.shaderInputAttachmentArrayNonUniformIndexing,t.shaderUniformTexelBufferArrayNonUniformIndexing=e.shaderUniformTexelBufferArrayNonUniformIndexing,t.shaderStorageTexelBufferArrayNonUniformIndexing=e.shaderStorageTexelBufferArrayNonUniformIndexing,t.descriptorBindingUniformBufferUpdateAfterBind=e.descriptorBindingUniformBufferUpdateAfterBind,t.descriptorBindingSampledImageUpdateAfterBind=e.descriptorBindingSampledImageUpdateAfterBind,t.descriptorBindingStorageImageUpdateAfterBind=e.descriptorBindingStorageImageUpdateAfterBind,t.descriptorBindingStorageBufferUpdateAfterBind=e.descriptorBindingStorageBufferUpdateAfterBind,t.descriptorBindingUniformTexelBufferUpdateAfterBind=e.descriptorBindingUniformTexelBufferUpdateAfterBind,t.descriptorBindingStorageTexelBufferUpdateAfterBind=e.descriptorBindingStorageTexelBufferUpdateAfterBind,t.descriptorBindingUpdateUnusedWhilePending=e.descriptorBindingUpdateUnusedWhilePending,t.descriptorBindingPartiallyBound=e.descriptorBindingPartiallyBound,t.descriptorBindingVariableDescriptorCount=e.descriptorBindingVariableDescriptorCount,t.runtimeDescriptorArray=e.runtimeDescriptorArray,t},VkPhysicalDeviceDescriptorIndexingFeaturesEXT.byteLength=96,VkPhysicalDeviceDescriptorIndexingFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderInputAttachmentArrayDynamicIndexing:{byteOffset:16,byteLength:4},shaderUniformTexelBufferArrayDynamicIndexing:{byteOffset:20,byteLength:4},shaderStorageTexelBufferArrayDynamicIndexing:{byteOffset:24,byteLength:4},shaderUniformBufferArrayNonUniformIndexing:{byteOffset:28,byteLength:4},shaderSampledImageArrayNonUniformIndexing:{byteOffset:32,byteLength:4},shaderStorageBufferArrayNonUniformIndexing:{byteOffset:36,byteLength:4},shaderStorageImageArrayNonUniformIndexing:{byteOffset:40,byteLength:4},shaderInputAttachmentArrayNonUniformIndexing:{byteOffset:44,byteLength:4},shaderUniformTexelBufferArrayNonUniformIndexing:{byteOffset:48,byteLength:4},shaderStorageTexelBufferArrayNonUniformIndexing:{byteOffset:52,byteLength:4},descriptorBindingUniformBufferUpdateAfterBind:{byteOffset:56,byteLength:4},descriptorBindingSampledImageUpdateAfterBind:{byteOffset:60,byteLength:4},descriptorBindingStorageImageUpdateAfterBind:{byteOffset:64,byteLength:4},descriptorBindingStorageBufferUpdateAfterBind:{byteOffset:68,byteLength:4},descriptorBindingUniformTexelBufferUpdateAfterBind:{byteOffset:72,byteLength:4},descriptorBindingStorageTexelBufferUpdateAfterBind:{byteOffset:76,byteLength:4},descriptorBindingUpdateUnusedWhilePending:{byteOffset:80,byteLength:4},descriptorBindingPartiallyBound:{byteOffset:84,byteLength:4},descriptorBindingVariableDescriptorCount:{byteOffset:88,byteLength:4},runtimeDescriptorArray:{byteOffset:92,byteLength:4}},Object.defineProperties(VkPhysicalDeviceDescriptorIndexingPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDescriptorIndexingPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDescriptorIndexingPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDescriptorIndexingPropertiesEXT.pNext' isn't allowed to be filled")}},maxUpdateAfterBindDescriptorsInAllPools:{get(){return this.memoryView.getUint32(16,!0)}},shaderUniformBufferArrayNonUniformIndexingNative:{get(){return 0!==this.memoryView.getUint32(20,!0)}},shaderSampledImageArrayNonUniformIndexingNative:{get(){return 0!==this.memoryView.getUint32(24,!0)}},shaderStorageBufferArrayNonUniformIndexingNative:{get(){return 0!==this.memoryView.getUint32(28,!0)}},shaderStorageImageArrayNonUniformIndexingNative:{get(){return 0!==this.memoryView.getUint32(32,!0)}},shaderInputAttachmentArrayNonUniformIndexingNative:{get(){return 0!==this.memoryView.getUint32(36,!0)}},robustBufferAccessUpdateAfterBind:{get(){return 0!==this.memoryView.getUint32(40,!0)}},quadDivergentImplicitLod:{get(){return 0!==this.memoryView.getUint32(44,!0)}},maxPerStageDescriptorUpdateAfterBindSamplers:{get(){return this.memoryView.getUint32(48,!0)}},maxPerStageDescriptorUpdateAfterBindUniformBuffers:{get(){return this.memoryView.getUint32(52,!0)}},maxPerStageDescriptorUpdateAfterBindStorageBuffers:{get(){return this.memoryView.getUint32(56,!0)}},maxPerStageDescriptorUpdateAfterBindSampledImages:{get(){return this.memoryView.getUint32(60,!0)}},maxPerStageDescriptorUpdateAfterBindStorageImages:{get(){return this.memoryView.getUint32(64,!0)}},maxPerStageDescriptorUpdateAfterBindInputAttachments:{get(){return this.memoryView.getUint32(68,!0)}},maxPerStageUpdateAfterBindResources:{get(){return this.memoryView.getUint32(72,!0)}},maxDescriptorSetUpdateAfterBindSamplers:{get(){return this.memoryView.getUint32(76,!0)}},maxDescriptorSetUpdateAfterBindUniformBuffers:{get(){return this.memoryView.getUint32(80,!0)}},maxDescriptorSetUpdateAfterBindUniformBuffersDynamic:{get(){return this.memoryView.getUint32(84,!0)}},maxDescriptorSetUpdateAfterBindStorageBuffers:{get(){return this.memoryView.getUint32(88,!0)}},maxDescriptorSetUpdateAfterBindStorageBuffersDynamic:{get(){return this.memoryView.getUint32(92,!0)}},maxDescriptorSetUpdateAfterBindSampledImages:{get(){return this.memoryView.getUint32(96,!0)}},maxDescriptorSetUpdateAfterBindStorageImages:{get(){return this.memoryView.getUint32(100,!0)}},maxDescriptorSetUpdateAfterBindInputAttachments:{get(){return this.memoryView.getUint32(104,!0)}}}),VkPhysicalDeviceDescriptorIndexingPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,112)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x70"],0),this._pNext=null,this.sType=1000161002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceDescriptorIndexingPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDescriptorIndexingPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(112)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,112),0)},VkPhysicalDeviceDescriptorIndexingPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceDescriptorIndexingPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxUpdateAfterBindDescriptorsInAllPools=e.maxUpdateAfterBindDescriptorsInAllPools,t.shaderUniformBufferArrayNonUniformIndexingNative=e.shaderUniformBufferArrayNonUniformIndexingNative,t.shaderSampledImageArrayNonUniformIndexingNative=e.shaderSampledImageArrayNonUniformIndexingNative,t.shaderStorageBufferArrayNonUniformIndexingNative=e.shaderStorageBufferArrayNonUniformIndexingNative,t.shaderStorageImageArrayNonUniformIndexingNative=e.shaderStorageImageArrayNonUniformIndexingNative,t.shaderInputAttachmentArrayNonUniformIndexingNative=e.shaderInputAttachmentArrayNonUniformIndexingNative,t.robustBufferAccessUpdateAfterBind=e.robustBufferAccessUpdateAfterBind,t.quadDivergentImplicitLod=e.quadDivergentImplicitLod,t.maxPerStageDescriptorUpdateAfterBindSamplers=e.maxPerStageDescriptorUpdateAfterBindSamplers,t.maxPerStageDescriptorUpdateAfterBindUniformBuffers=e.maxPerStageDescriptorUpdateAfterBindUniformBuffers,t.maxPerStageDescriptorUpdateAfterBindStorageBuffers=e.maxPerStageDescriptorUpdateAfterBindStorageBuffers,t.maxPerStageDescriptorUpdateAfterBindSampledImages=e.maxPerStageDescriptorUpdateAfterBindSampledImages,t.maxPerStageDescriptorUpdateAfterBindStorageImages=e.maxPerStageDescriptorUpdateAfterBindStorageImages,t.maxPerStageDescriptorUpdateAfterBindInputAttachments=e.maxPerStageDescriptorUpdateAfterBindInputAttachments,t.maxPerStageUpdateAfterBindResources=e.maxPerStageUpdateAfterBindResources,t.maxDescriptorSetUpdateAfterBindSamplers=e.maxDescriptorSetUpdateAfterBindSamplers,t.maxDescriptorSetUpdateAfterBindUniformBuffers=e.maxDescriptorSetUpdateAfterBindUniformBuffers,t.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic=e.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic,t.maxDescriptorSetUpdateAfterBindStorageBuffers=e.maxDescriptorSetUpdateAfterBindStorageBuffers,t.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic=e.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic,t.maxDescriptorSetUpdateAfterBindSampledImages=e.maxDescriptorSetUpdateAfterBindSampledImages,t.maxDescriptorSetUpdateAfterBindStorageImages=e.maxDescriptorSetUpdateAfterBindStorageImages,t.maxDescriptorSetUpdateAfterBindInputAttachments=e.maxDescriptorSetUpdateAfterBindInputAttachments,t},VkPhysicalDeviceDescriptorIndexingPropertiesEXT.byteLength=112,VkPhysicalDeviceDescriptorIndexingPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxUpdateAfterBindDescriptorsInAllPools:{byteOffset:16,byteLength:4},shaderUniformBufferArrayNonUniformIndexingNative:{byteOffset:20,byteLength:4},shaderSampledImageArrayNonUniformIndexingNative:{byteOffset:24,byteLength:4},shaderStorageBufferArrayNonUniformIndexingNative:{byteOffset:28,byteLength:4},shaderStorageImageArrayNonUniformIndexingNative:{byteOffset:32,byteLength:4},shaderInputAttachmentArrayNonUniformIndexingNative:{byteOffset:36,byteLength:4},robustBufferAccessUpdateAfterBind:{byteOffset:40,byteLength:4},quadDivergentImplicitLod:{byteOffset:44,byteLength:4},maxPerStageDescriptorUpdateAfterBindSamplers:{byteOffset:48,byteLength:4},maxPerStageDescriptorUpdateAfterBindUniformBuffers:{byteOffset:52,byteLength:4},maxPerStageDescriptorUpdateAfterBindStorageBuffers:{byteOffset:56,byteLength:4},maxPerStageDescriptorUpdateAfterBindSampledImages:{byteOffset:60,byteLength:4},maxPerStageDescriptorUpdateAfterBindStorageImages:{byteOffset:64,byteLength:4},maxPerStageDescriptorUpdateAfterBindInputAttachments:{byteOffset:68,byteLength:4},maxPerStageUpdateAfterBindResources:{byteOffset:72,byteLength:4},maxDescriptorSetUpdateAfterBindSamplers:{byteOffset:76,byteLength:4},maxDescriptorSetUpdateAfterBindUniformBuffers:{byteOffset:80,byteLength:4},maxDescriptorSetUpdateAfterBindUniformBuffersDynamic:{byteOffset:84,byteLength:4},maxDescriptorSetUpdateAfterBindStorageBuffers:{byteOffset:88,byteLength:4},maxDescriptorSetUpdateAfterBindStorageBuffersDynamic:{byteOffset:92,byteLength:4},maxDescriptorSetUpdateAfterBindSampledImages:{byteOffset:96,byteLength:4},maxDescriptorSetUpdateAfterBindStorageImages:{byteOffset:100,byteLength:4},maxDescriptorSetUpdateAfterBindInputAttachments:{byteOffset:104,byteLength:4}},Object.defineProperties(VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.pNext' isn't allowed to be filled")}},bindingCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.bindingCount"),this.memoryView.setUint32(16,e,!0)}},pBindingFlags:{get(){return this._pBindingFlags},set(e){if(null!==e&&e.constructor===Int32Array)this._pBindingFlags=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.pBindingFlags': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pBindingFlags=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pBindingFlags=null,this.sType=1000161e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.bindingCount&&(this.bindingCount=e.bindingCount),void 0!==e.pBindingFlags&&(this.pBindingFlags=e.pBindingFlags))},VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.prototype.reflect=function(e){},VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.createCopyFrom=function(e){let t=new VkDescriptorSetLayoutBindingFlagsCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.bindingCount=e.bindingCount,null!==e.pBindingFlags&&(t.pBindingFlags=new Int32Array(e.pBindingFlags)),t},VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.byteLength=32,VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},bindingCount:{byteOffset:16,byteLength:4},pBindingFlags:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.pNext' isn't allowed to be filled")}},descriptorSetCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.descriptorSetCount"),this.memoryView.setUint32(16,e,!0)}},pDescriptorCounts:{get(){return this._pDescriptorCounts},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDescriptorCounts=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.pDescriptorCounts': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDescriptorCounts=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDescriptorCounts=null,this.sType=1000161003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.descriptorSetCount&&(this.descriptorSetCount=e.descriptorSetCount),void 0!==e.pDescriptorCounts&&(this.pDescriptorCounts=e.pDescriptorCounts))},VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.prototype.reflect=function(e){},VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.createCopyFrom=function(e){let t=new VkDescriptorSetVariableDescriptorCountAllocateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.descriptorSetCount=e.descriptorSetCount,null!==e.pDescriptorCounts&&(t.pDescriptorCounts=new Uint32Array(e.pDescriptorCounts)),t},VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.byteLength=32,VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},descriptorSetCount:{byteOffset:16,byteLength:4},pDescriptorCounts:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.pNext' isn't allowed to be filled")}},maxVariableDescriptorCount:{get(){return this.memoryView.getUint32(16,!0)}}}),VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000161004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.createCopyFrom=function(e){let t=new VkDescriptorSetVariableDescriptorCountLayoutSupportEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxVariableDescriptorCount=e.maxVariableDescriptorCount,t},VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.byteLength=24,VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxVariableDescriptorCount:{byteOffset:16,byteLength:4}},Object.defineProperties(VkAttachmentDescription2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkAttachmentDescription2KHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.flags"),this.memoryView.setInt32(16,e,!0)}},format:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.format"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.format': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(20,e,!0)}},samples:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.samples"),this.memoryView.setInt32(24,e,!0)}},loadOp:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.loadOp"),!$VAL_R_VkAttachmentLoadOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.loadOp': '"+e+"' is not a value of 'VkAttachmentLoadOp'");this.memoryView.setInt32(28,e,!0)}},storeOp:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.storeOp"),!$VAL_R_VkAttachmentStoreOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.storeOp': '"+e+"' is not a value of 'VkAttachmentStoreOp'");this.memoryView.setInt32(32,e,!0)}},stencilLoadOp:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.stencilLoadOp"),!$VAL_R_VkAttachmentLoadOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.stencilLoadOp': '"+e+"' is not a value of 'VkAttachmentLoadOp'");this.memoryView.setInt32(36,e,!0)}},stencilStoreOp:{get(){return this.memoryView.getInt32(40,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.stencilStoreOp"),!$VAL_R_VkAttachmentStoreOp(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.stencilStoreOp': '"+e+"' is not a value of 'VkAttachmentStoreOp'");this.memoryView.setInt32(40,e,!0)}},initialLayout:{get(){return this.memoryView.getInt32(44,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.initialLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.initialLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(44,e,!0)}},finalLayout:{get(){return this.memoryView.getInt32(48,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentDescription2KHR.finalLayout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkAttachmentDescription2KHR.finalLayout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(48,e,!0)}}}),VkAttachmentDescription2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this.sType=1000109e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.format&&(this.format=e.format),void 0!==e.samples&&(this.samples=e.samples),void 0!==e.loadOp&&(this.loadOp=e.loadOp),void 0!==e.storeOp&&(this.storeOp=e.storeOp),void 0!==e.stencilLoadOp&&(this.stencilLoadOp=e.stencilLoadOp),void 0!==e.stencilStoreOp&&(this.stencilStoreOp=e.stencilStoreOp),void 0!==e.initialLayout&&(this.initialLayout=e.initialLayout),void 0!==e.finalLayout&&(this.finalLayout=e.finalLayout))},VkAttachmentDescription2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkAttachmentDescription2KHR.prototype.reflect=function(e){},VkAttachmentDescription2KHR.createCopyFrom=function(e){let t=new VkAttachmentDescription2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.format=e.format,t.samples=e.samples,t.loadOp=e.loadOp,t.storeOp=e.storeOp,t.stencilLoadOp=e.stencilLoadOp,t.stencilStoreOp=e.stencilStoreOp,t.initialLayout=e.initialLayout,t.finalLayout=e.finalLayout,t},VkAttachmentDescription2KHR.byteLength=56,VkAttachmentDescription2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},format:{byteOffset:20,byteLength:4},samples:{byteOffset:24,byteLength:4},loadOp:{byteOffset:28,byteLength:4},storeOp:{byteOffset:32,byteLength:4},stencilLoadOp:{byteOffset:36,byteLength:4},stencilStoreOp:{byteOffset:40,byteLength:4},initialLayout:{byteOffset:44,byteLength:4},finalLayout:{byteOffset:48,byteLength:4}},Object.defineProperties(VkAttachmentReference2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentReference2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkAttachmentReference2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkAttachmentReference2KHR.pNext' isn't allowed to be filled")}},attachment:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentReference2KHR.attachment"),this.memoryView.setUint32(16,e,!0)}},layout:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAttachmentReference2KHR.layout"),!$VAL_R_VkImageLayout(e))throw new RangeError("Invalid value for 'VkAttachmentReference2KHR.layout': '"+e+"' is not a value of 'VkImageLayout'");this.memoryView.setInt32(20,e,!0)}},aspectMask:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAttachmentReference2KHR.aspectMask"),this.memoryView.setInt32(24,e,!0)}}}),VkAttachmentReference2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000109001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachment&&(this.attachment=e.attachment),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.aspectMask&&(this.aspectMask=e.aspectMask))},VkAttachmentReference2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkAttachmentReference2KHR.prototype.reflect=function(e){},VkAttachmentReference2KHR.createCopyFrom=function(e){let t=new VkAttachmentReference2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.attachment=e.attachment,t.layout=e.layout,t.aspectMask=e.aspectMask,t},VkAttachmentReference2KHR.byteLength=32,VkAttachmentReference2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},attachment:{byteOffset:16,byteLength:4},layout:{byteOffset:20,byteLength:4},aspectMask:{byteOffset:24,byteLength:4}},Object.defineProperties(VkSubpassDescription2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSubpassDescription2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pNext'");switch(t){case 1000199001:break;default:throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.flags"),this.memoryView.setInt32(16,e,!0)}},pipelineBindPoint:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.pipelineBindPoint"),!$VAL_R_VkPipelineBindPoint(e))throw new RangeError("Invalid value for 'VkSubpassDescription2KHR.pipelineBindPoint': '"+e+"' is not a value of 'VkPipelineBindPoint'");this.memoryView.setInt32(20,e,!0)}},viewMask:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.viewMask"),this.memoryView.setUint32(24,e,!0)}},inputAttachmentCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.inputAttachmentCount"),this.memoryView.setUint32(28,e,!0)}},pInputAttachments:{get(){if(null===this._pInputAttachments&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.inputAttachmentCount,VkAttachmentReference2KHR);return this._pInputAttachments=e,this.pInputAttachments}return this._pInputAttachments},set(e){if(null!==e&&e.constructor===Array)this._pInputAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pInputAttachments': Expected 'Array VkAttachmentReference2KHR' but got '"+typeToString(e)+"'");this._pInputAttachments=null}}},colorAttachmentCount:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.colorAttachmentCount"),this.memoryView.setUint32(40,e,!0)}},pColorAttachments:{get(){if(null===this._pColorAttachments&&this.memoryView.getBigInt64(48,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(48,!0),this.colorAttachmentCount,VkAttachmentReference2KHR);return this._pColorAttachments=e,this.pColorAttachments}return this._pColorAttachments},set(e){if(null!==e&&e.constructor===Array)this._pColorAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pColorAttachments': Expected 'Array VkAttachmentReference2KHR' but got '"+typeToString(e)+"'");this._pColorAttachments=null}}},pResolveAttachments:{get(){if(null===this._pResolveAttachments&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.colorAttachmentCount,VkAttachmentReference2KHR);return this._pResolveAttachments=e,this.pResolveAttachments}return this._pResolveAttachments},set(e){if(null!==e&&e.constructor===Array)this._pResolveAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pResolveAttachments': Expected 'Array VkAttachmentReference2KHR' but got '"+typeToString(e)+"'");this._pResolveAttachments=null}}},pDepthStencilAttachment:{get(){if(null===this._pDepthStencilAttachment&&this.memoryView.getBigInt64(64,!0)!==BI0){let e=this.memoryView.getBigInt64(64,!0),t=getArrayBufferFromAddress(e,BigInt(VkAttachmentReference2KHR.byteLength));return this._pDepthStencilAttachment=new VkAttachmentReference2KHR({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(64,this._pDepthStencilAttachment.memoryAddress,!0),this.pDepthStencilAttachment}return this._pDepthStencilAttachment},set(e){if(null!==e&&e.constructor===VkAttachmentReference2KHR)e.flush(),this._pDepthStencilAttachment=e,this.memoryView.setBigInt64(64,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pDepthStencilAttachment': Expected 'VkAttachmentReference2KHR' but got '"+typeToString(e)+"'");this._pDepthStencilAttachment=null,this.memoryView.setBigInt64(64,BI0,!0)}}},preserveAttachmentCount:{get(){return this.memoryView.getUint32(72,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescription2KHR.preserveAttachmentCount"),this.memoryView.setUint32(72,e,!0)}},pPreserveAttachments:{get(){return this._pPreserveAttachments},set(e){if(null!==e&&e.constructor===Uint32Array)this._pPreserveAttachments=e,this.memoryView.setBigInt64(80,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescription2KHR.pPreserveAttachments': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pPreserveAttachments=null,this.memoryView.setBigInt64(80,BI0,!0)}}}}),VkSubpassDescription2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,88)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x58"],0),this._pNext=null,this._pInputAttachments=null,this._pInputAttachmentsNative=null,this._pColorAttachments=null,this._pColorAttachmentsNative=null,this._pResolveAttachments=null,this._pResolveAttachmentsNative=null,this._pDepthStencilAttachment=null,this._pPreserveAttachments=null,this.sType=1000109002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.pipelineBindPoint&&(this.pipelineBindPoint=e.pipelineBindPoint),void 0!==e.viewMask&&(this.viewMask=e.viewMask),void 0!==e.inputAttachmentCount&&(this.inputAttachmentCount=e.inputAttachmentCount),void 0!==e.pInputAttachments&&(this.pInputAttachments=e.pInputAttachments),void 0!==e.colorAttachmentCount&&(this.colorAttachmentCount=e.colorAttachmentCount),void 0!==e.pColorAttachments&&(this.pColorAttachments=e.pColorAttachments),void 0!==e.pResolveAttachments&&(this.pResolveAttachments=e.pResolveAttachments),void 0!==e.pDepthStencilAttachment&&(this.pDepthStencilAttachment=e.pDepthStencilAttachment),void 0!==e.preserveAttachmentCount&&(this.preserveAttachmentCount=e.preserveAttachmentCount),void 0!==e.pPreserveAttachments&&(this.pPreserveAttachments=e.pPreserveAttachments))},VkSubpassDescription2KHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pInputAttachments){let e=this._pInputAttachments;if(e.length!==this.inputAttachmentCount)throw new RangeError("Invalid array length, expected length of 'inputAttachmentCount' for 'VkSubpassDescription2KHR.pInputAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pInputAttachmentsNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pInputAttachmentsNative=null,this.memoryView.setBigInt64(32,BI0,!0)}if(null!==this._pColorAttachments){let e=this._pColorAttachments;if(e.length!==this.colorAttachmentCount)throw new RangeError("Invalid array length, expected length of 'colorAttachmentCount' for 'VkSubpassDescription2KHR.pColorAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pColorAttachmentsNative=t,this.memoryView.setBigInt64(48,t.address,!0)}else this._pColorAttachmentsNative=null,this.memoryView.setBigInt64(48,BI0,!0)}if(null!==this._pResolveAttachments){let e=this._pResolveAttachments;if(e.length!==this.colorAttachmentCount)throw new RangeError("Invalid array length, expected length of 'colorAttachmentCount' for 'VkSubpassDescription2KHR.pResolveAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pResolveAttachmentsNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pResolveAttachmentsNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkSubpassDescription2KHR.prototype.reflect=function(e){},VkSubpassDescription2KHR.createCopyFrom=function(e){let t=new VkSubpassDescription2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.pipelineBindPoint=e.pipelineBindPoint,t.viewMask=e.viewMask,t.inputAttachmentCount=e.inputAttachmentCount,null!==e.pInputAttachments&&(t.pInputAttachments=[...Array(e.pInputAttachments.length)].map((t,r)=>e.pInputAttachments[r].constructor.createCopyFrom(e.pInputAttachments[r]))),t.colorAttachmentCount=e.colorAttachmentCount,null!==e.pColorAttachments&&(t.pColorAttachments=[...Array(e.pColorAttachments.length)].map((t,r)=>e.pColorAttachments[r].constructor.createCopyFrom(e.pColorAttachments[r]))),null!==e.pResolveAttachments&&(t.pResolveAttachments=[...Array(e.pResolveAttachments.length)].map((t,r)=>e.pResolveAttachments[r].constructor.createCopyFrom(e.pResolveAttachments[r]))),null!==e.pDepthStencilAttachment&&(t.pDepthStencilAttachment=e.pDepthStencilAttachment.constructor.createCopyFrom(e.pDepthStencilAttachment)),t.preserveAttachmentCount=e.preserveAttachmentCount,null!==e.pPreserveAttachments&&(t.pPreserveAttachments=new Uint32Array(e.pPreserveAttachments)),t},VkSubpassDescription2KHR.byteLength=88,VkSubpassDescription2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},pipelineBindPoint:{byteOffset:20,byteLength:4},viewMask:{byteOffset:24,byteLength:4},inputAttachmentCount:{byteOffset:28,byteLength:4},pInputAttachments:{byteOffset:32,byteLength:8},colorAttachmentCount:{byteOffset:40,byteLength:4},pColorAttachments:{byteOffset:48,byteLength:8},pResolveAttachments:{byteOffset:56,byteLength:8},pDepthStencilAttachment:{byteOffset:64,byteLength:8},preserveAttachmentCount:{byteOffset:72,byteLength:4},pPreserveAttachments:{byteOffset:80,byteLength:8}},Object.defineProperties(VkSubpassDependency2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSubpassDependency2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSubpassDependency2KHR.pNext' isn't allowed to be filled")}},srcSubpass:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.srcSubpass"),this.memoryView.setUint32(16,e,!0)}},dstSubpass:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.dstSubpass"),this.memoryView.setUint32(20,e,!0)}},srcStageMask:{get(){return this.memoryView.getInt32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.srcStageMask"),this.memoryView.setInt32(24,e,!0)}},dstStageMask:{get(){return this.memoryView.getInt32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.dstStageMask"),this.memoryView.setInt32(28,e,!0)}},srcAccessMask:{get(){return this.memoryView.getInt32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.srcAccessMask"),this.memoryView.setInt32(32,e,!0)}},dstAccessMask:{get(){return this.memoryView.getInt32(36,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.dstAccessMask"),this.memoryView.setInt32(36,e,!0)}},dependencyFlags:{get(){return this.memoryView.getInt32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.dependencyFlags"),this.memoryView.setInt32(40,e,!0)}},viewOffset:{get(){return this.memoryView.getInt32(44,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDependency2KHR.viewOffset"),this.memoryView.setInt32(44,e,!0)}}}),VkSubpassDependency2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this.sType=1000109003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.srcSubpass&&(this.srcSubpass=e.srcSubpass),void 0!==e.dstSubpass&&(this.dstSubpass=e.dstSubpass),void 0!==e.srcStageMask&&(this.srcStageMask=e.srcStageMask),void 0!==e.dstStageMask&&(this.dstStageMask=e.dstStageMask),void 0!==e.srcAccessMask&&(this.srcAccessMask=e.srcAccessMask),void 0!==e.dstAccessMask&&(this.dstAccessMask=e.dstAccessMask),void 0!==e.dependencyFlags&&(this.dependencyFlags=e.dependencyFlags),void 0!==e.viewOffset&&(this.viewOffset=e.viewOffset))},VkSubpassDependency2KHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSubpassDependency2KHR.prototype.reflect=function(e){},VkSubpassDependency2KHR.createCopyFrom=function(e){let t=new VkSubpassDependency2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.srcSubpass=e.srcSubpass,t.dstSubpass=e.dstSubpass,t.srcStageMask=e.srcStageMask,t.dstStageMask=e.dstStageMask,t.srcAccessMask=e.srcAccessMask,t.dstAccessMask=e.dstAccessMask,t.dependencyFlags=e.dependencyFlags,t.viewOffset=e.viewOffset,t},VkSubpassDependency2KHR.byteLength=48,VkSubpassDependency2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},srcSubpass:{byteOffset:16,byteLength:4},dstSubpass:{byteOffset:20,byteLength:4},srcStageMask:{byteOffset:24,byteLength:4},dstStageMask:{byteOffset:28,byteLength:4},srcAccessMask:{byteOffset:32,byteLength:4},dstAccessMask:{byteOffset:36,byteLength:4},dependencyFlags:{byteOffset:40,byteLength:4},viewOffset:{byteOffset:44,byteLength:4}},Object.defineProperties(VkRenderPassCreateInfo2KHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo2KHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassCreateInfo2KHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pNext'");switch(t){case 1000218002:break;default:throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo2KHR.flags"),this.memoryView.setInt32(16,e,!0)}},attachmentCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo2KHR.attachmentCount"),this.memoryView.setUint32(20,e,!0)}},pAttachments:{get(){if(null===this._pAttachments&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.attachmentCount,VkAttachmentDescription2KHR);return this._pAttachments=e,this.pAttachments}return this._pAttachments},set(e){if(null!==e&&e.constructor===Array)this._pAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pAttachments': Expected 'Array VkAttachmentDescription2KHR' but got '"+typeToString(e)+"'");this._pAttachments=null}}},subpassCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo2KHR.subpassCount"),this.memoryView.setUint32(32,e,!0)}},pSubpasses:{get(){if(null===this._pSubpasses&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.subpassCount,VkSubpassDescription2KHR);return this._pSubpasses=e,this.pSubpasses}return this._pSubpasses},set(e){if(null!==e&&e.constructor===Array)this._pSubpasses=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pSubpasses': Expected 'Array VkSubpassDescription2KHR' but got '"+typeToString(e)+"'");this._pSubpasses=null}}},dependencyCount:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo2KHR.dependencyCount"),this.memoryView.setUint32(48,e,!0)}},pDependencies:{get(){if(null===this._pDependencies&&this.memoryView.getBigInt64(56,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(56,!0),this.dependencyCount,VkSubpassDependency2KHR);return this._pDependencies=e,this.pDependencies}return this._pDependencies},set(e){if(null!==e&&e.constructor===Array)this._pDependencies=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pDependencies': Expected 'Array VkSubpassDependency2KHR' but got '"+typeToString(e)+"'");this._pDependencies=null}}},correlatedViewMaskCount:{get(){return this.memoryView.getUint32(64,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassCreateInfo2KHR.correlatedViewMaskCount"),this.memoryView.setUint32(64,e,!0)}},pCorrelatedViewMasks:{get(){return this._pCorrelatedViewMasks},set(e){if(null!==e&&e.constructor===Uint32Array)this._pCorrelatedViewMasks=e,this.memoryView.setBigInt64(72,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassCreateInfo2KHR.pCorrelatedViewMasks': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pCorrelatedViewMasks=null,this.memoryView.setBigInt64(72,BI0,!0)}}}}),VkRenderPassCreateInfo2KHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,80)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x50"],0),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this._pSubpasses=null,this._pSubpassesNative=null,this._pDependencies=null,this._pDependenciesNative=null,this._pCorrelatedViewMasks=null,this.sType=1000109004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments),void 0!==e.subpassCount&&(this.subpassCount=e.subpassCount),void 0!==e.pSubpasses&&(this.pSubpasses=e.pSubpasses),void 0!==e.dependencyCount&&(this.dependencyCount=e.dependencyCount),void 0!==e.pDependencies&&(this.pDependencies=e.pDependencies),void 0!==e.correlatedViewMaskCount&&(this.correlatedViewMaskCount=e.correlatedViewMaskCount),void 0!==e.pCorrelatedViewMasks&&(this.pCorrelatedViewMasks=e.pCorrelatedViewMasks))},VkRenderPassCreateInfo2KHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachments){let e=this._pAttachments;if(e.length!==this.attachmentCount)throw new RangeError("Invalid array length, expected length of 'attachmentCount' for 'VkRenderPassCreateInfo2KHR.pAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAttachmentsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pSubpasses){let e=this._pSubpasses;if(e.length!==this.subpassCount)throw new RangeError("Invalid array length, expected length of 'subpassCount' for 'VkRenderPassCreateInfo2KHR.pSubpasses'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSubpassesNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pSubpassesNative=null,this.memoryView.setBigInt64(40,BI0,!0)}if(null!==this._pDependencies){let e=this._pDependencies;if(e.length!==this.dependencyCount)throw new RangeError("Invalid array length, expected length of 'dependencyCount' for 'VkRenderPassCreateInfo2KHR.pDependencies'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pDependenciesNative=t,this.memoryView.setBigInt64(56,t.address,!0)}else this._pDependenciesNative=null,this.memoryView.setBigInt64(56,BI0,!0)}return!0},VkRenderPassCreateInfo2KHR.prototype.reflect=function(e){},VkRenderPassCreateInfo2KHR.createCopyFrom=function(e){let t=new VkRenderPassCreateInfo2KHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.attachmentCount=e.attachmentCount,null!==e.pAttachments&&(t.pAttachments=[...Array(e.pAttachments.length)].map((t,r)=>e.pAttachments[r].constructor.createCopyFrom(e.pAttachments[r]))),t.subpassCount=e.subpassCount,null!==e.pSubpasses&&(t.pSubpasses=[...Array(e.pSubpasses.length)].map((t,r)=>e.pSubpasses[r].constructor.createCopyFrom(e.pSubpasses[r]))),t.dependencyCount=e.dependencyCount,null!==e.pDependencies&&(t.pDependencies=[...Array(e.pDependencies.length)].map((t,r)=>e.pDependencies[r].constructor.createCopyFrom(e.pDependencies[r]))),t.correlatedViewMaskCount=e.correlatedViewMaskCount,null!==e.pCorrelatedViewMasks&&(t.pCorrelatedViewMasks=new Uint32Array(e.pCorrelatedViewMasks)),t},VkRenderPassCreateInfo2KHR.byteLength=80,VkRenderPassCreateInfo2KHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},attachmentCount:{byteOffset:20,byteLength:4},pAttachments:{byteOffset:24,byteLength:8},subpassCount:{byteOffset:32,byteLength:4},pSubpasses:{byteOffset:40,byteLength:8},dependencyCount:{byteOffset:48,byteLength:4},pDependencies:{byteOffset:56,byteLength:8},correlatedViewMaskCount:{byteOffset:64,byteLength:4},pCorrelatedViewMasks:{byteOffset:72,byteLength:8}},Object.defineProperties(VkSubpassBeginInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassBeginInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSubpassBeginInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSubpassBeginInfoKHR.pNext' isn't allowed to be filled")}},contents:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassBeginInfoKHR.contents"),!$VAL_R_VkSubpassContents(e))throw new RangeError("Invalid value for 'VkSubpassBeginInfoKHR.contents': '"+e+"' is not a value of 'VkSubpassContents'");this.memoryView.setInt32(16,e,!0)}}}),VkSubpassBeginInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000109005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.contents&&(this.contents=e.contents))},VkSubpassBeginInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSubpassBeginInfoKHR.prototype.reflect=function(e){},VkSubpassBeginInfoKHR.createCopyFrom=function(e){let t=new VkSubpassBeginInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.contents=e.contents,t},VkSubpassBeginInfoKHR.byteLength=24,VkSubpassBeginInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},contents:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSubpassEndInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassEndInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSubpassEndInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSubpassEndInfoKHR.pNext' isn't allowed to be filled")}}}),VkSubpassEndInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._pNext=null,this.sType=1000109006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSubpassEndInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSubpassEndInfoKHR.prototype.reflect=function(e){},VkSubpassEndInfoKHR.createCopyFrom=function(e){let t=new VkSubpassEndInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t},VkSubpassEndInfoKHR.byteLength=16,VkSubpassEndInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8}},Object.defineProperties(VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.pNext' isn't allowed to be filled")}},timelineSemaphore:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000207e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.timelineSemaphore&&(this.timelineSemaphore=e.timelineSemaphore))},VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceTimelineSemaphoreFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.timelineSemaphore=e.timelineSemaphore,t},VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.byteLength=24,VkPhysicalDeviceTimelineSemaphoreFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},timelineSemaphore:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceTimelineSemaphorePropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTimelineSemaphorePropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTimelineSemaphorePropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTimelineSemaphorePropertiesKHR.pNext' isn't allowed to be filled")}},maxTimelineSemaphoreValueDifference:{get(){return this.memoryView.getBigUint64(16,!0)}}}),VkPhysicalDeviceTimelineSemaphorePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000207001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceTimelineSemaphorePropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTimelineSemaphorePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceTimelineSemaphorePropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceTimelineSemaphorePropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxTimelineSemaphoreValueDifference=e.maxTimelineSemaphoreValueDifference,t},VkPhysicalDeviceTimelineSemaphorePropertiesKHR.byteLength=24,VkPhysicalDeviceTimelineSemaphorePropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxTimelineSemaphoreValueDifference:{byteOffset:16,byteLength:8}},Object.defineProperties(VkSemaphoreTypeCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreTypeCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSemaphoreTypeCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSemaphoreTypeCreateInfoKHR.pNext' isn't allowed to be filled")}},semaphoreType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreTypeCreateInfoKHR.semaphoreType"),!$VAL_R_VkSemaphoreTypeKHR(e))throw new RangeError("Invalid value for 'VkSemaphoreTypeCreateInfoKHR.semaphoreType': '"+e+"' is not a value of 'VkSemaphoreTypeKHR'");this.memoryView.setInt32(16,e,!0)}},initialValue:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSemaphoreTypeCreateInfoKHR.initialValue"),this.memoryView.setBigUint64(24,BigInt(e),!0)}}}),VkSemaphoreTypeCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000207002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphoreType&&(this.semaphoreType=e.semaphoreType),void 0!==e.initialValue&&(this.initialValue=e.initialValue))},VkSemaphoreTypeCreateInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSemaphoreTypeCreateInfoKHR.prototype.reflect=function(e){},VkSemaphoreTypeCreateInfoKHR.createCopyFrom=function(e){let t=new VkSemaphoreTypeCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.semaphoreType=e.semaphoreType,t.initialValue=e.initialValue,t},VkSemaphoreTypeCreateInfoKHR.byteLength=32,VkSemaphoreTypeCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},semaphoreType:{byteOffset:16,byteLength:4},initialValue:{byteOffset:24,byteLength:8}},Object.defineProperties(VkTimelineSemaphoreSubmitInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkTimelineSemaphoreSubmitInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkTimelineSemaphoreSubmitInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkTimelineSemaphoreSubmitInfoKHR.pNext' isn't allowed to be filled")}},waitSemaphoreValueCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkTimelineSemaphoreSubmitInfoKHR.waitSemaphoreValueCount"),this.memoryView.setUint32(16,e,!0)}},pWaitSemaphoreValues:{get(){return this._pWaitSemaphoreValues},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pWaitSemaphoreValues=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkTimelineSemaphoreSubmitInfoKHR.pWaitSemaphoreValues': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pWaitSemaphoreValues=null,this.memoryView.setBigInt64(24,BI0,!0)}}},signalSemaphoreValueCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkTimelineSemaphoreSubmitInfoKHR.signalSemaphoreValueCount"),this.memoryView.setUint32(32,e,!0)}},pSignalSemaphoreValues:{get(){return this._pSignalSemaphoreValues},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pSignalSemaphoreValues=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkTimelineSemaphoreSubmitInfoKHR.pSignalSemaphoreValues': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pSignalSemaphoreValues=null,this.memoryView.setBigInt64(40,BI0,!0)}}}}),VkTimelineSemaphoreSubmitInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pWaitSemaphoreValues=null,this._pSignalSemaphoreValues=null,this.sType=1000207003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.waitSemaphoreValueCount&&(this.waitSemaphoreValueCount=e.waitSemaphoreValueCount),void 0!==e.pWaitSemaphoreValues&&(this.pWaitSemaphoreValues=e.pWaitSemaphoreValues),void 0!==e.signalSemaphoreValueCount&&(this.signalSemaphoreValueCount=e.signalSemaphoreValueCount),void 0!==e.pSignalSemaphoreValues&&(this.pSignalSemaphoreValues=e.pSignalSemaphoreValues))},VkTimelineSemaphoreSubmitInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkTimelineSemaphoreSubmitInfoKHR.prototype.reflect=function(e){},VkTimelineSemaphoreSubmitInfoKHR.createCopyFrom=function(e){let t=new VkTimelineSemaphoreSubmitInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.waitSemaphoreValueCount=e.waitSemaphoreValueCount,null!==e.pWaitSemaphoreValues&&(t.pWaitSemaphoreValues=new BigUint64Array(e.pWaitSemaphoreValues)),t.signalSemaphoreValueCount=e.signalSemaphoreValueCount,null!==e.pSignalSemaphoreValues&&(t.pSignalSemaphoreValues=new BigUint64Array(e.pSignalSemaphoreValues)),t},VkTimelineSemaphoreSubmitInfoKHR.byteLength=48,VkTimelineSemaphoreSubmitInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},waitSemaphoreValueCount:{byteOffset:16,byteLength:4},pWaitSemaphoreValues:{byteOffset:24,byteLength:8},signalSemaphoreValueCount:{byteOffset:32,byteLength:4},pSignalSemaphoreValues:{byteOffset:40,byteLength:8}},Object.defineProperties(VkSemaphoreWaitInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreWaitInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSemaphoreWaitInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSemaphoreWaitInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSemaphoreWaitInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},semaphoreCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSemaphoreWaitInfoKHR.semaphoreCount"),this.memoryView.setUint32(20,e,!0)}},pSemaphores:{get(){if(null===this._pSemaphores&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.semaphoreCount,VkSemaphore);return this._pSemaphores=e,this.pSemaphores}return this._pSemaphores},set(e){if(null!==e&&e.constructor===Array)this._pSemaphores=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkSemaphoreWaitInfoKHR.pSemaphores': Expected 'Array VkSemaphore' but got '"+typeToString(e)+"'");this._pSemaphores=null}}},pValues:{get(){return this._pValues},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pValues=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSemaphoreWaitInfoKHR.pValues': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pValues=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkSemaphoreWaitInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pSemaphores=null,this._pSemaphoresNative=null,this._pValues=null,this.sType=1000207004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.semaphoreCount&&(this.semaphoreCount=e.semaphoreCount),void 0!==e.pSemaphores&&(this.pSemaphores=e.pSemaphores),void 0!==e.pValues&&(this.pValues=e.pValues))},VkSemaphoreWaitInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pSemaphores){let e=this._pSemaphores;if(e.length!==this.semaphoreCount)throw new RangeError("Invalid array length, expected length of 'semaphoreCount' for 'VkSemaphoreWaitInfoKHR.pSemaphores'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSemaphoresNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pSemaphoresNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkSemaphoreWaitInfoKHR.prototype.reflect=function(e){},VkSemaphoreWaitInfoKHR.createCopyFrom=function(e){let t=new VkSemaphoreWaitInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.semaphoreCount=e.semaphoreCount,null!==e.pSemaphores&&(t.pSemaphores=[...Array(e.pSemaphores.length)].map((t,r)=>e.pSemaphores[r].constructor.createCopyFrom(e.pSemaphores[r]))),null!==e.pValues&&(t.pValues=new BigUint64Array(e.pValues)),t},VkSemaphoreWaitInfoKHR.byteLength=40,VkSemaphoreWaitInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},semaphoreCount:{byteOffset:20,byteLength:4},pSemaphores:{byteOffset:24,byteLength:8},pValues:{byteOffset:32,byteLength:8}},Object.defineProperties(VkSemaphoreSignalInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSemaphoreSignalInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSemaphoreSignalInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSemaphoreSignalInfoKHR.pNext' isn't allowed to be filled")}},semaphore:{get(){return this._semaphore},set(e){if(null!==e&&e.constructor===VkSemaphore)this._semaphore=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSemaphoreSignalInfoKHR.semaphore': Expected 'VkSemaphore' but got '"+typeToString(e)+"'");this._semaphore=null,this.memoryView.setBigInt64(16,BI0,!0)}}},value:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkSemaphoreSignalInfoKHR.value"),this.memoryView.setBigUint64(24,BigInt(e),!0)}}}),VkSemaphoreSignalInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._semaphore=null,this.sType=1000207005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.semaphore&&(this.semaphore=e.semaphore),void 0!==e.value&&(this.value=e.value))},VkSemaphoreSignalInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSemaphoreSignalInfoKHR.prototype.reflect=function(e){},VkSemaphoreSignalInfoKHR.createCopyFrom=function(e){let t=new VkSemaphoreSignalInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.semaphore&&(t.semaphore=e.semaphore.constructor.createCopyFrom(e.semaphore)),t.value=e.value,t},VkSemaphoreSignalInfoKHR.byteLength=32,VkSemaphoreSignalInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},semaphore:{byteOffset:16,byteLength:8},value:{byteOffset:24,byteLength:8}},Object.defineProperties(VkVertexInputBindingDivisorDescriptionEXT.prototype,{binding:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputBindingDivisorDescriptionEXT.binding"),this.memoryView.setUint32(0,e,!0)}},divisor:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkVertexInputBindingDivisorDescriptionEXT.divisor"),this.memoryView.setUint32(4,e,!0)}}}),VkVertexInputBindingDivisorDescriptionEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.binding&&(this.binding=e.binding),void 0!==e.divisor&&(this.divisor=e.divisor))},VkVertexInputBindingDivisorDescriptionEXT.prototype.flush=function(){return!0},VkVertexInputBindingDivisorDescriptionEXT.prototype.reflect=function(e){},VkVertexInputBindingDivisorDescriptionEXT.createCopyFrom=function(e){let t=new VkVertexInputBindingDivisorDescriptionEXT;return t.binding=e.binding,t.divisor=e.divisor,t},VkVertexInputBindingDivisorDescriptionEXT.byteLength=8,VkVertexInputBindingDivisorDescriptionEXT.memoryLayout={binding:{byteOffset:0,byteLength:4},divisor:{byteOffset:4,byteLength:4}},Object.defineProperties(VkPipelineVertexInputDivisorStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineVertexInputDivisorStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineVertexInputDivisorStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineVertexInputDivisorStateCreateInfoEXT.pNext' isn't allowed to be filled")}},vertexBindingDivisorCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineVertexInputDivisorStateCreateInfoEXT.vertexBindingDivisorCount"),this.memoryView.setUint32(16,e,!0)}},pVertexBindingDivisors:{get(){if(null===this._pVertexBindingDivisors&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.vertexBindingDivisorCount,VkVertexInputBindingDivisorDescriptionEXT);return this._pVertexBindingDivisors=e,this.pVertexBindingDivisors}return this._pVertexBindingDivisors},set(e){if(null!==e&&e.constructor===Array)this._pVertexBindingDivisors=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineVertexInputDivisorStateCreateInfoEXT.pVertexBindingDivisors': Expected 'Array VkVertexInputBindingDivisorDescriptionEXT' but got '"+typeToString(e)+"'");this._pVertexBindingDivisors=null}}}}),VkPipelineVertexInputDivisorStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pVertexBindingDivisors=null,this._pVertexBindingDivisorsNative=null,this.sType=1000190001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vertexBindingDivisorCount&&(this.vertexBindingDivisorCount=e.vertexBindingDivisorCount),void 0!==e.pVertexBindingDivisors&&(this.pVertexBindingDivisors=e.pVertexBindingDivisors))},VkPipelineVertexInputDivisorStateCreateInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pVertexBindingDivisors){let e=this._pVertexBindingDivisors;if(e.length!==this.vertexBindingDivisorCount)throw new RangeError("Invalid array length, expected length of 'vertexBindingDivisorCount' for 'VkPipelineVertexInputDivisorStateCreateInfoEXT.pVertexBindingDivisors'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pVertexBindingDivisorsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pVertexBindingDivisorsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPipelineVertexInputDivisorStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineVertexInputDivisorStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineVertexInputDivisorStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.vertexBindingDivisorCount=e.vertexBindingDivisorCount,null!==e.pVertexBindingDivisors&&(t.pVertexBindingDivisors=[...Array(e.pVertexBindingDivisors.length)].map((t,r)=>e.pVertexBindingDivisors[r].constructor.createCopyFrom(e.pVertexBindingDivisors[r]))),t},VkPipelineVertexInputDivisorStateCreateInfoEXT.byteLength=32,VkPipelineVertexInputDivisorStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},vertexBindingDivisorCount:{byteOffset:16,byteLength:4},pVertexBindingDivisors:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.pNext' isn't allowed to be filled")}},maxVertexAttribDivisor:{get(){return this.memoryView.getUint32(16,!0)}}}),VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100019e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxVertexAttribDivisor=e.maxVertexAttribDivisor,t},VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.byteLength=24,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxVertexAttribDivisor:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDevicePCIBusInfoPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevicePCIBusInfoPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevicePCIBusInfoPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevicePCIBusInfoPropertiesEXT.pNext' isn't allowed to be filled")}},pciDomain:{get(){return this.memoryView.getUint32(16,!0)}},pciBus:{get(){return this.memoryView.getUint32(20,!0)}},pciDevice:{get(){return this.memoryView.getUint32(24,!0)}},pciFunction:{get(){return this.memoryView.getUint32(28,!0)}}}),VkPhysicalDevicePCIBusInfoPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000212e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDevicePCIBusInfoPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevicePCIBusInfoPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDevicePCIBusInfoPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDevicePCIBusInfoPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pciDomain=e.pciDomain,t.pciBus=e.pciBus,t.pciDevice=e.pciDevice,t.pciFunction=e.pciFunction,t},VkPhysicalDevicePCIBusInfoPropertiesEXT.byteLength=32,VkPhysicalDevicePCIBusInfoPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pciDomain:{byteOffset:16,byteLength:4},pciBus:{byteOffset:20,byteLength:4},pciDevice:{byteOffset:24,byteLength:4},pciFunction:{byteOffset:28,byteLength:4}},Object.defineProperties(VkCommandBufferInheritanceConditionalRenderingInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCommandBufferInheritanceConditionalRenderingInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCommandBufferInheritanceConditionalRenderingInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCommandBufferInheritanceConditionalRenderingInfoEXT.pNext' isn't allowed to be filled")}},conditionalRenderingEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkCommandBufferInheritanceConditionalRenderingInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000081e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conditionalRenderingEnable&&(this.conditionalRenderingEnable=e.conditionalRenderingEnable))},VkCommandBufferInheritanceConditionalRenderingInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCommandBufferInheritanceConditionalRenderingInfoEXT.prototype.reflect=function(e){},VkCommandBufferInheritanceConditionalRenderingInfoEXT.createCopyFrom=function(e){let t=new VkCommandBufferInheritanceConditionalRenderingInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.conditionalRenderingEnable=e.conditionalRenderingEnable,t},VkCommandBufferInheritanceConditionalRenderingInfoEXT.byteLength=24,VkCommandBufferInheritanceConditionalRenderingInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},conditionalRenderingEnable:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDevice8BitStorageFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevice8BitStorageFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevice8BitStorageFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevice8BitStorageFeaturesKHR.pNext' isn't allowed to be filled")}},storageBuffer8BitAccess:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},uniformAndStorageBuffer8BitAccess:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},storagePushConstant8:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDevice8BitStorageFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000177e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.storageBuffer8BitAccess&&(this.storageBuffer8BitAccess=e.storageBuffer8BitAccess),void 0!==e.uniformAndStorageBuffer8BitAccess&&(this.uniformAndStorageBuffer8BitAccess=e.uniformAndStorageBuffer8BitAccess),void 0!==e.storagePushConstant8&&(this.storagePushConstant8=e.storagePushConstant8))},VkPhysicalDevice8BitStorageFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevice8BitStorageFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDevice8BitStorageFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDevice8BitStorageFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.storageBuffer8BitAccess=e.storageBuffer8BitAccess,t.uniformAndStorageBuffer8BitAccess=e.uniformAndStorageBuffer8BitAccess,t.storagePushConstant8=e.storagePushConstant8,t},VkPhysicalDevice8BitStorageFeaturesKHR.byteLength=32,VkPhysicalDevice8BitStorageFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},storageBuffer8BitAccess:{byteOffset:16,byteLength:4},uniformAndStorageBuffer8BitAccess:{byteOffset:20,byteLength:4},storagePushConstant8:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceConditionalRenderingFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceConditionalRenderingFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceConditionalRenderingFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceConditionalRenderingFeaturesEXT.pNext' isn't allowed to be filled")}},conditionalRendering:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},inheritedConditionalRendering:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceConditionalRenderingFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000081001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.conditionalRendering&&(this.conditionalRendering=e.conditionalRendering),void 0!==e.inheritedConditionalRendering&&(this.inheritedConditionalRendering=e.inheritedConditionalRendering))},VkPhysicalDeviceConditionalRenderingFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceConditionalRenderingFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceConditionalRenderingFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceConditionalRenderingFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.conditionalRendering=e.conditionalRendering,t.inheritedConditionalRendering=e.inheritedConditionalRendering,t},VkPhysicalDeviceConditionalRenderingFeaturesEXT.byteLength=24,VkPhysicalDeviceConditionalRenderingFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},conditionalRendering:{byteOffset:16,byteLength:4},inheritedConditionalRendering:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.pNext' isn't allowed to be filled")}},vulkanMemoryModel:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},vulkanMemoryModelDeviceScope:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},vulkanMemoryModelAvailabilityVisibilityChains:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000211e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vulkanMemoryModel&&(this.vulkanMemoryModel=e.vulkanMemoryModel),void 0!==e.vulkanMemoryModelDeviceScope&&(this.vulkanMemoryModelDeviceScope=e.vulkanMemoryModelDeviceScope),void 0!==e.vulkanMemoryModelAvailabilityVisibilityChains&&(this.vulkanMemoryModelAvailabilityVisibilityChains=e.vulkanMemoryModelAvailabilityVisibilityChains))},VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceVulkanMemoryModelFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.vulkanMemoryModel=e.vulkanMemoryModel,t.vulkanMemoryModelDeviceScope=e.vulkanMemoryModelDeviceScope,t.vulkanMemoryModelAvailabilityVisibilityChains=e.vulkanMemoryModelAvailabilityVisibilityChains,t},VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.byteLength=32,VkPhysicalDeviceVulkanMemoryModelFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},vulkanMemoryModel:{byteOffset:16,byteLength:4},vulkanMemoryModelDeviceScope:{byteOffset:20,byteLength:4},vulkanMemoryModelAvailabilityVisibilityChains:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.pNext' isn't allowed to be filled")}},shaderBufferInt64Atomics:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},shaderSharedInt64Atomics:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100018e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderBufferInt64Atomics&&(this.shaderBufferInt64Atomics=e.shaderBufferInt64Atomics),void 0!==e.shaderSharedInt64Atomics&&(this.shaderSharedInt64Atomics=e.shaderSharedInt64Atomics))},VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderAtomicInt64FeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderBufferInt64Atomics=e.shaderBufferInt64Atomics,t.shaderSharedInt64Atomics=e.shaderSharedInt64Atomics,t},VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.byteLength=24,VkPhysicalDeviceShaderAtomicInt64FeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderBufferInt64Atomics:{byteOffset:16,byteLength:4},shaderSharedInt64Atomics:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.pNext' isn't allowed to be filled")}},vertexAttributeInstanceRateDivisor:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},vertexAttributeInstanceRateZeroDivisor:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000190002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vertexAttributeInstanceRateDivisor&&(this.vertexAttributeInstanceRateDivisor=e.vertexAttributeInstanceRateDivisor),void 0!==e.vertexAttributeInstanceRateZeroDivisor&&(this.vertexAttributeInstanceRateZeroDivisor=e.vertexAttributeInstanceRateZeroDivisor))},VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.vertexAttributeInstanceRateDivisor=e.vertexAttributeInstanceRateDivisor,t.vertexAttributeInstanceRateZeroDivisor=e.vertexAttributeInstanceRateZeroDivisor,t},VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.byteLength=24,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},vertexAttributeInstanceRateDivisor:{byteOffset:16,byteLength:4},vertexAttributeInstanceRateZeroDivisor:{byteOffset:20,byteLength:4}},Object.defineProperties(VkQueueFamilyCheckpointPropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueueFamilyCheckpointPropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkQueueFamilyCheckpointPropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkQueueFamilyCheckpointPropertiesNV.pNext' isn't allowed to be filled")}},checkpointExecutionStageMask:{get(){return this.memoryView.getInt32(16,!0)}}}),VkQueueFamilyCheckpointPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000206001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkQueueFamilyCheckpointPropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkQueueFamilyCheckpointPropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkQueueFamilyCheckpointPropertiesNV.createCopyFrom=function(e){let t=new VkQueueFamilyCheckpointPropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.checkpointExecutionStageMask=e.checkpointExecutionStageMask,t},VkQueueFamilyCheckpointPropertiesNV.byteLength=24,VkQueueFamilyCheckpointPropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},checkpointExecutionStageMask:{byteOffset:16,byteLength:4}},Object.defineProperties(VkCheckpointDataNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCheckpointDataNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCheckpointDataNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCheckpointDataNV.pNext' isn't allowed to be filled")}},stage:{get(){return this.memoryView.getInt32(16,!0)}},pCheckpointMarker:{get(){return this._pCheckpointMarker},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pCheckpointMarker=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkCheckpointDataNV.pCheckpointMarker': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pCheckpointMarker=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkCheckpointDataNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pCheckpointMarker=null,this.sType=1000206e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pCheckpointMarker&&(this.pCheckpointMarker=e.pCheckpointMarker))},VkCheckpointDataNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCheckpointDataNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkCheckpointDataNV.createCopyFrom=function(e){let t=new VkCheckpointDataNV;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.stage=e.stage,null!==e.pCheckpointMarker){let r=new ArrayBuffer(e.pCheckpointMarker.byteLength);new Uint8Array(r).set(new Uint8Array(e.pCheckpointMarker),0),t.pCheckpointMarker=r}return t},VkCheckpointDataNV.byteLength=32,VkCheckpointDataNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},stage:{byteOffset:16,byteLength:4},pCheckpointMarker:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceDepthStencilResolvePropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDepthStencilResolvePropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDepthStencilResolvePropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDepthStencilResolvePropertiesKHR.pNext' isn't allowed to be filled")}},supportedDepthResolveModes:{get(){return this.memoryView.getInt32(16,!0)}},supportedStencilResolveModes:{get(){return this.memoryView.getInt32(20,!0)}},independentResolveNone:{get(){return 0!==this.memoryView.getUint32(24,!0)}},independentResolve:{get(){return 0!==this.memoryView.getUint32(28,!0)}}}),VkPhysicalDeviceDepthStencilResolvePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000199e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceDepthStencilResolvePropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDepthStencilResolvePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceDepthStencilResolvePropertiesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceDepthStencilResolvePropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.supportedDepthResolveModes=e.supportedDepthResolveModes,t.supportedStencilResolveModes=e.supportedStencilResolveModes,t.independentResolveNone=e.independentResolveNone,t.independentResolve=e.independentResolve,t},VkPhysicalDeviceDepthStencilResolvePropertiesKHR.byteLength=32,VkPhysicalDeviceDepthStencilResolvePropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},supportedDepthResolveModes:{byteOffset:16,byteLength:4},supportedStencilResolveModes:{byteOffset:20,byteLength:4},independentResolveNone:{byteOffset:24,byteLength:4},independentResolve:{byteOffset:28,byteLength:4}},Object.defineProperties(VkSubpassDescriptionDepthStencilResolveKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSubpassDescriptionDepthStencilResolveKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSubpassDescriptionDepthStencilResolveKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSubpassDescriptionDepthStencilResolveKHR.pNext' isn't allowed to be filled")}},depthResolveMode:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescriptionDepthStencilResolveKHR.depthResolveMode"),this.memoryView.setInt32(16,e,!0)}},stencilResolveMode:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkSubpassDescriptionDepthStencilResolveKHR.stencilResolveMode"),this.memoryView.setInt32(20,e,!0)}},pDepthStencilResolveAttachment:{get(){if(null===this._pDepthStencilResolveAttachment&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=this.memoryView.getBigInt64(24,!0),t=getArrayBufferFromAddress(e,BigInt(VkAttachmentReference2KHR.byteLength));return this._pDepthStencilResolveAttachment=new VkAttachmentReference2KHR({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(24,this._pDepthStencilResolveAttachment.memoryAddress,!0),this.pDepthStencilResolveAttachment}return this._pDepthStencilResolveAttachment},set(e){if(null!==e&&e.constructor===VkAttachmentReference2KHR)e.flush(),this._pDepthStencilResolveAttachment=e,this.memoryView.setBigInt64(24,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkSubpassDescriptionDepthStencilResolveKHR.pDepthStencilResolveAttachment': Expected 'VkAttachmentReference2KHR' but got '"+typeToString(e)+"'");this._pDepthStencilResolveAttachment=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkSubpassDescriptionDepthStencilResolveKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDepthStencilResolveAttachment=null,this.sType=1000199001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.depthResolveMode&&(this.depthResolveMode=e.depthResolveMode),void 0!==e.stencilResolveMode&&(this.stencilResolveMode=e.stencilResolveMode),void 0!==e.pDepthStencilResolveAttachment&&(this.pDepthStencilResolveAttachment=e.pDepthStencilResolveAttachment))},VkSubpassDescriptionDepthStencilResolveKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSubpassDescriptionDepthStencilResolveKHR.prototype.reflect=function(e){},VkSubpassDescriptionDepthStencilResolveKHR.createCopyFrom=function(e){let t=new VkSubpassDescriptionDepthStencilResolveKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.depthResolveMode=e.depthResolveMode,t.stencilResolveMode=e.stencilResolveMode,null!==e.pDepthStencilResolveAttachment&&(t.pDepthStencilResolveAttachment=e.pDepthStencilResolveAttachment.constructor.createCopyFrom(e.pDepthStencilResolveAttachment)),t},VkSubpassDescriptionDepthStencilResolveKHR.byteLength=32,VkSubpassDescriptionDepthStencilResolveKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},depthResolveMode:{byteOffset:16,byteLength:4},stencilResolveMode:{byteOffset:20,byteLength:4},pDepthStencilResolveAttachment:{byteOffset:24,byteLength:8}},Object.defineProperties(VkImageViewASTCDecodeModeEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewASTCDecodeModeEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageViewASTCDecodeModeEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageViewASTCDecodeModeEXT.pNext' isn't allowed to be filled")}},decodeMode:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewASTCDecodeModeEXT.decodeMode"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkImageViewASTCDecodeModeEXT.decodeMode': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(16,e,!0)}}}),VkImageViewASTCDecodeModeEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000067e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.decodeMode&&(this.decodeMode=e.decodeMode))},VkImageViewASTCDecodeModeEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageViewASTCDecodeModeEXT.prototype.reflect=function(e){},VkImageViewASTCDecodeModeEXT.createCopyFrom=function(e){let t=new VkImageViewASTCDecodeModeEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.decodeMode=e.decodeMode,t},VkImageViewASTCDecodeModeEXT.byteLength=24,VkImageViewASTCDecodeModeEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},decodeMode:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceASTCDecodeFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceASTCDecodeFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceASTCDecodeFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceASTCDecodeFeaturesEXT.pNext' isn't allowed to be filled")}},decodeModeSharedExponent:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceASTCDecodeFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000067001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.decodeModeSharedExponent&&(this.decodeModeSharedExponent=e.decodeModeSharedExponent))},VkPhysicalDeviceASTCDecodeFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceASTCDecodeFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceASTCDecodeFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceASTCDecodeFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.decodeModeSharedExponent=e.decodeModeSharedExponent,t},VkPhysicalDeviceASTCDecodeFeaturesEXT.byteLength=24,VkPhysicalDeviceASTCDecodeFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},decodeModeSharedExponent:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceTransformFeedbackFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTransformFeedbackFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTransformFeedbackFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTransformFeedbackFeaturesEXT.pNext' isn't allowed to be filled")}},transformFeedback:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},geometryStreams:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceTransformFeedbackFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000028e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.transformFeedback&&(this.transformFeedback=e.transformFeedback),void 0!==e.geometryStreams&&(this.geometryStreams=e.geometryStreams))},VkPhysicalDeviceTransformFeedbackFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTransformFeedbackFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceTransformFeedbackFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceTransformFeedbackFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.transformFeedback=e.transformFeedback,t.geometryStreams=e.geometryStreams,t},VkPhysicalDeviceTransformFeedbackFeaturesEXT.byteLength=24,VkPhysicalDeviceTransformFeedbackFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},transformFeedback:{byteOffset:16,byteLength:4},geometryStreams:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceTransformFeedbackPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTransformFeedbackPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTransformFeedbackPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTransformFeedbackPropertiesEXT.pNext' isn't allowed to be filled")}},maxTransformFeedbackStreams:{get(){return this.memoryView.getUint32(16,!0)}},maxTransformFeedbackBuffers:{get(){return this.memoryView.getUint32(20,!0)}},maxTransformFeedbackBufferSize:{get(){return this.memoryView.getBigUint64(24,!0)}},maxTransformFeedbackStreamDataSize:{get(){return this.memoryView.getUint32(32,!0)}},maxTransformFeedbackBufferDataSize:{get(){return this.memoryView.getUint32(36,!0)}},maxTransformFeedbackBufferDataStride:{get(){return this.memoryView.getUint32(40,!0)}},transformFeedbackQueries:{get(){return 0!==this.memoryView.getUint32(44,!0)}},transformFeedbackStreamsLinesTriangles:{get(){return 0!==this.memoryView.getUint32(48,!0)}},transformFeedbackRasterizationStreamSelect:{get(){return 0!==this.memoryView.getUint32(52,!0)}},transformFeedbackDraw:{get(){return 0!==this.memoryView.getUint32(56,!0)}}}),VkPhysicalDeviceTransformFeedbackPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this.sType=1000028001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceTransformFeedbackPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTransformFeedbackPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkPhysicalDeviceTransformFeedbackPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceTransformFeedbackPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxTransformFeedbackStreams=e.maxTransformFeedbackStreams,t.maxTransformFeedbackBuffers=e.maxTransformFeedbackBuffers,t.maxTransformFeedbackBufferSize=e.maxTransformFeedbackBufferSize,t.maxTransformFeedbackStreamDataSize=e.maxTransformFeedbackStreamDataSize,t.maxTransformFeedbackBufferDataSize=e.maxTransformFeedbackBufferDataSize,t.maxTransformFeedbackBufferDataStride=e.maxTransformFeedbackBufferDataStride,t.transformFeedbackQueries=e.transformFeedbackQueries,t.transformFeedbackStreamsLinesTriangles=e.transformFeedbackStreamsLinesTriangles,t.transformFeedbackRasterizationStreamSelect=e.transformFeedbackRasterizationStreamSelect,t.transformFeedbackDraw=e.transformFeedbackDraw,t},VkPhysicalDeviceTransformFeedbackPropertiesEXT.byteLength=64,VkPhysicalDeviceTransformFeedbackPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxTransformFeedbackStreams:{byteOffset:16,byteLength:4},maxTransformFeedbackBuffers:{byteOffset:20,byteLength:4},maxTransformFeedbackBufferSize:{byteOffset:24,byteLength:8},maxTransformFeedbackStreamDataSize:{byteOffset:32,byteLength:4},maxTransformFeedbackBufferDataSize:{byteOffset:36,byteLength:4},maxTransformFeedbackBufferDataStride:{byteOffset:40,byteLength:4},transformFeedbackQueries:{byteOffset:44,byteLength:4},transformFeedbackStreamsLinesTriangles:{byteOffset:48,byteLength:4},transformFeedbackRasterizationStreamSelect:{byteOffset:52,byteLength:4},transformFeedbackDraw:{byteOffset:56,byteLength:4}},Object.defineProperties(VkPipelineRasterizationStateStreamCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateStreamCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationStateStreamCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineRasterizationStateStreamCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateStreamCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},rasterizationStream:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationStateStreamCreateInfoEXT.rasterizationStream"),this.memoryView.setUint32(20,e,!0)}}}),VkPipelineRasterizationStateStreamCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000028002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.rasterizationStream&&(this.rasterizationStream=e.rasterizationStream))},VkPipelineRasterizationStateStreamCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineRasterizationStateStreamCreateInfoEXT.prototype.reflect=function(e){},VkPipelineRasterizationStateStreamCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineRasterizationStateStreamCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.rasterizationStream=e.rasterizationStream,t},VkPipelineRasterizationStateStreamCreateInfoEXT.byteLength=24,VkPipelineRasterizationStateStreamCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},rasterizationStream:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.pNext' isn't allowed to be filled")}},representativeFragmentTest:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000166e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.representativeFragmentTest&&(this.representativeFragmentTest=e.representativeFragmentTest))},VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.representativeFragmentTest=e.representativeFragmentTest,t},VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.byteLength=24,VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},representativeFragmentTest:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineRepresentativeFragmentTestStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRepresentativeFragmentTestStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineRepresentativeFragmentTestStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineRepresentativeFragmentTestStateCreateInfoNV.pNext' isn't allowed to be filled")}},representativeFragmentTestEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPipelineRepresentativeFragmentTestStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000166001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.representativeFragmentTestEnable&&(this.representativeFragmentTestEnable=e.representativeFragmentTestEnable))},VkPipelineRepresentativeFragmentTestStateCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineRepresentativeFragmentTestStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineRepresentativeFragmentTestStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineRepresentativeFragmentTestStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.representativeFragmentTestEnable=e.representativeFragmentTestEnable,t},VkPipelineRepresentativeFragmentTestStateCreateInfoNV.byteLength=24,VkPipelineRepresentativeFragmentTestStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},representativeFragmentTestEnable:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceExclusiveScissorFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceExclusiveScissorFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceExclusiveScissorFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceExclusiveScissorFeaturesNV.pNext' isn't allowed to be filled")}},exclusiveScissor:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceExclusiveScissorFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000205002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.exclusiveScissor&&(this.exclusiveScissor=e.exclusiveScissor))},VkPhysicalDeviceExclusiveScissorFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceExclusiveScissorFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceExclusiveScissorFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceExclusiveScissorFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.exclusiveScissor=e.exclusiveScissor,t},VkPhysicalDeviceExclusiveScissorFeaturesNV.byteLength=24,VkPhysicalDeviceExclusiveScissorFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},exclusiveScissor:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineViewportExclusiveScissorStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportExclusiveScissorStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineViewportExclusiveScissorStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineViewportExclusiveScissorStateCreateInfoNV.pNext' isn't allowed to be filled")}},exclusiveScissorCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportExclusiveScissorStateCreateInfoNV.exclusiveScissorCount"),this.memoryView.setUint32(16,e,!0)}},pExclusiveScissors:{get(){if(null===this._pExclusiveScissors&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.exclusiveScissorCount,VkRect2D);return this._pExclusiveScissors=e,this.pExclusiveScissors}return this._pExclusiveScissors},set(e){if(null!==e&&e.constructor===Array)this._pExclusiveScissors=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportExclusiveScissorStateCreateInfoNV.pExclusiveScissors': Expected 'Array VkRect2D' but got '"+typeToString(e)+"'");this._pExclusiveScissors=null}}}}),VkPipelineViewportExclusiveScissorStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pExclusiveScissors=null,this._pExclusiveScissorsNative=null,this.sType=1000205e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.exclusiveScissorCount&&(this.exclusiveScissorCount=e.exclusiveScissorCount),void 0!==e.pExclusiveScissors&&(this.pExclusiveScissors=e.pExclusiveScissors))},VkPipelineViewportExclusiveScissorStateCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pExclusiveScissors){let e=this._pExclusiveScissors;if(e.length!==this.exclusiveScissorCount)throw new RangeError("Invalid array length, expected length of 'exclusiveScissorCount' for 'VkPipelineViewportExclusiveScissorStateCreateInfoNV.pExclusiveScissors'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pExclusiveScissorsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pExclusiveScissorsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPipelineViewportExclusiveScissorStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineViewportExclusiveScissorStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineViewportExclusiveScissorStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.exclusiveScissorCount=e.exclusiveScissorCount,null!==e.pExclusiveScissors&&(t.pExclusiveScissors=[...Array(e.pExclusiveScissors.length)].map((t,r)=>e.pExclusiveScissors[r].constructor.createCopyFrom(e.pExclusiveScissors[r]))),t},VkPipelineViewportExclusiveScissorStateCreateInfoNV.byteLength=32,VkPipelineViewportExclusiveScissorStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},exclusiveScissorCount:{byteOffset:16,byteLength:4},pExclusiveScissors:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceCornerSampledImageFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceCornerSampledImageFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceCornerSampledImageFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceCornerSampledImageFeaturesNV.pNext' isn't allowed to be filled")}},cornerSampledImage:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceCornerSampledImageFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100005e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.cornerSampledImage&&(this.cornerSampledImage=e.cornerSampledImage))},VkPhysicalDeviceCornerSampledImageFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceCornerSampledImageFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceCornerSampledImageFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceCornerSampledImageFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.cornerSampledImage=e.cornerSampledImage,t},VkPhysicalDeviceCornerSampledImageFeaturesNV.byteLength=24,VkPhysicalDeviceCornerSampledImageFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},cornerSampledImage:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.pNext' isn't allowed to be filled")}},computeDerivativeGroupQuads:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},computeDerivativeGroupLinear:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000201e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.computeDerivativeGroupQuads&&(this.computeDerivativeGroupQuads=e.computeDerivativeGroupQuads),void 0!==e.computeDerivativeGroupLinear&&(this.computeDerivativeGroupLinear=e.computeDerivativeGroupLinear))},VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceComputeShaderDerivativesFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.computeDerivativeGroupQuads=e.computeDerivativeGroupQuads,t.computeDerivativeGroupLinear=e.computeDerivativeGroupLinear,t},VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.byteLength=24,VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},computeDerivativeGroupQuads:{byteOffset:16,byteLength:4},computeDerivativeGroupLinear:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.pNext' isn't allowed to be filled")}},fragmentShaderBarycentric:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000203e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fragmentShaderBarycentric&&(this.fragmentShaderBarycentric=e.fragmentShaderBarycentric))},VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.fragmentShaderBarycentric=e.fragmentShaderBarycentric,t},VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.byteLength=24,VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fragmentShaderBarycentric:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderImageFootprintFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderImageFootprintFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderImageFootprintFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderImageFootprintFeaturesNV.pNext' isn't allowed to be filled")}},imageFootprint:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderImageFootprintFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000204e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imageFootprint&&(this.imageFootprint=e.imageFootprint))},VkPhysicalDeviceShaderImageFootprintFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderImageFootprintFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceShaderImageFootprintFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderImageFootprintFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.imageFootprint=e.imageFootprint,t},VkPhysicalDeviceShaderImageFootprintFeaturesNV.byteLength=24,VkPhysicalDeviceShaderImageFootprintFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},imageFootprint:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.pNext' isn't allowed to be filled")}},dedicatedAllocationImageAliasing:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100024e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.dedicatedAllocationImageAliasing&&(this.dedicatedAllocationImageAliasing=e.dedicatedAllocationImageAliasing))},VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.dedicatedAllocationImageAliasing=e.dedicatedAllocationImageAliasing,t},VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.byteLength=24,VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},dedicatedAllocationImageAliasing:{byteOffset:16,byteLength:4}},Object.defineProperties(VkShadingRatePaletteNV.prototype,{shadingRatePaletteEntryCount:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkShadingRatePaletteNV.shadingRatePaletteEntryCount"),this.memoryView.setUint32(0,e,!0)}},pShadingRatePaletteEntries:{get(){return this._pShadingRatePaletteEntries},set(e){if(null!==e&&e.constructor===Int32Array)this._pShadingRatePaletteEntries=e,this.memoryView.setBigInt64(8,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkShadingRatePaletteNV.pShadingRatePaletteEntries': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pShadingRatePaletteEntries=null,this.memoryView.setBigInt64(8,BI0,!0)}}}}),VkShadingRatePaletteNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._pShadingRatePaletteEntries=null,"object"==typeof e&&(void 0!==e.shadingRatePaletteEntryCount&&(this.shadingRatePaletteEntryCount=e.shadingRatePaletteEntryCount),void 0!==e.pShadingRatePaletteEntries&&(this.pShadingRatePaletteEntries=e.pShadingRatePaletteEntries))},VkShadingRatePaletteNV.prototype.flush=function(){return!0},VkShadingRatePaletteNV.prototype.reflect=function(e){},VkShadingRatePaletteNV.createCopyFrom=function(e){let t=new VkShadingRatePaletteNV;return t.shadingRatePaletteEntryCount=e.shadingRatePaletteEntryCount,null!==e.pShadingRatePaletteEntries&&(t.pShadingRatePaletteEntries=new Int32Array(e.pShadingRatePaletteEntries)),t},VkShadingRatePaletteNV.byteLength=16,VkShadingRatePaletteNV.memoryLayout={shadingRatePaletteEntryCount:{byteOffset:0,byteLength:4},pShadingRatePaletteEntries:{byteOffset:8,byteLength:8}},Object.defineProperties(VkPipelineViewportShadingRateImageStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportShadingRateImageStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineViewportShadingRateImageStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineViewportShadingRateImageStateCreateInfoNV.pNext' isn't allowed to be filled")}},shadingRateImageEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},viewportCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportShadingRateImageStateCreateInfoNV.viewportCount"),this.memoryView.setUint32(20,e,!0)}},pShadingRatePalettes:{get(){if(null===this._pShadingRatePalettes&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.viewportCount,VkShadingRatePaletteNV);return this._pShadingRatePalettes=e,this.pShadingRatePalettes}return this._pShadingRatePalettes},set(e){if(null!==e&&e.constructor===Array)this._pShadingRatePalettes=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportShadingRateImageStateCreateInfoNV.pShadingRatePalettes': Expected 'Array VkShadingRatePaletteNV' but got '"+typeToString(e)+"'");this._pShadingRatePalettes=null}}}}),VkPipelineViewportShadingRateImageStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pShadingRatePalettes=null,this._pShadingRatePalettesNative=null,this.sType=1000164e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shadingRateImageEnable&&(this.shadingRateImageEnable=e.shadingRateImageEnable),void 0!==e.viewportCount&&(this.viewportCount=e.viewportCount),void 0!==e.pShadingRatePalettes&&(this.pShadingRatePalettes=e.pShadingRatePalettes))},VkPipelineViewportShadingRateImageStateCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pShadingRatePalettes){let e=this._pShadingRatePalettes;if(e.length!==this.viewportCount)throw new RangeError("Invalid array length, expected length of 'viewportCount' for 'VkPipelineViewportShadingRateImageStateCreateInfoNV.pShadingRatePalettes'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pShadingRatePalettesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pShadingRatePalettesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPipelineViewportShadingRateImageStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineViewportShadingRateImageStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineViewportShadingRateImageStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shadingRateImageEnable=e.shadingRateImageEnable,t.viewportCount=e.viewportCount,null!==e.pShadingRatePalettes&&(t.pShadingRatePalettes=[...Array(e.pShadingRatePalettes.length)].map((t,r)=>e.pShadingRatePalettes[r].constructor.createCopyFrom(e.pShadingRatePalettes[r]))),t},VkPipelineViewportShadingRateImageStateCreateInfoNV.byteLength=32,VkPipelineViewportShadingRateImageStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shadingRateImageEnable:{byteOffset:16,byteLength:4},viewportCount:{byteOffset:20,byteLength:4},pShadingRatePalettes:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceShadingRateImageFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShadingRateImageFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShadingRateImageFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShadingRateImageFeaturesNV.pNext' isn't allowed to be filled")}},shadingRateImage:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},shadingRateCoarseSampleOrder:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceShadingRateImageFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000164001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shadingRateImage&&(this.shadingRateImage=e.shadingRateImage),void 0!==e.shadingRateCoarseSampleOrder&&(this.shadingRateCoarseSampleOrder=e.shadingRateCoarseSampleOrder))},VkPhysicalDeviceShadingRateImageFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShadingRateImageFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceShadingRateImageFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceShadingRateImageFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shadingRateImage=e.shadingRateImage,t.shadingRateCoarseSampleOrder=e.shadingRateCoarseSampleOrder,t},VkPhysicalDeviceShadingRateImageFeaturesNV.byteLength=24,VkPhysicalDeviceShadingRateImageFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shadingRateImage:{byteOffset:16,byteLength:4},shadingRateCoarseSampleOrder:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShadingRateImagePropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShadingRateImagePropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShadingRateImagePropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShadingRateImagePropertiesNV.pNext' isn't allowed to be filled")}},shadingRateTexelSize:{get(){return this._shadingRateTexelSize}},shadingRatePaletteSize:{get(){return this.memoryView.getUint32(24,!0)}},shadingRateMaxCoarseSamples:{get(){return this.memoryView.getUint32(28,!0)}}}),VkPhysicalDeviceShadingRateImagePropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,null!==this._shadingRateTexelSize&&(this.memoryBuffer!==this._shadingRateTexelSize.memoryBuffer?this._shadingRateTexelSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._shadingRateTexelSize.reset()),this.sType=1000164002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceShadingRateImagePropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShadingRateImagePropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceShadingRateImagePropertiesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceShadingRateImagePropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.shadingRateTexelSize&&(t.shadingRateTexelSize=e.shadingRateTexelSize.constructor.createCopyFrom(e.shadingRateTexelSize)),t.shadingRatePaletteSize=e.shadingRatePaletteSize,t.shadingRateMaxCoarseSamples=e.shadingRateMaxCoarseSamples,t},VkPhysicalDeviceShadingRateImagePropertiesNV.byteLength=32,VkPhysicalDeviceShadingRateImagePropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shadingRateTexelSize:{byteOffset:16,byteLength:8},shadingRatePaletteSize:{byteOffset:24,byteLength:4},shadingRateMaxCoarseSamples:{byteOffset:28,byteLength:4}},Object.defineProperties(VkCoarseSampleLocationNV.prototype,{pixelX:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCoarseSampleLocationNV.pixelX"),this.memoryView.setUint32(0,e,!0)}},pixelY:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCoarseSampleLocationNV.pixelY"),this.memoryView.setUint32(4,e,!0)}},sample:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCoarseSampleLocationNV.sample"),this.memoryView.setUint32(8,e,!0)}}}),VkCoarseSampleLocationNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,12)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xC"],0),"object"==typeof e&&(void 0!==e.pixelX&&(this.pixelX=e.pixelX),void 0!==e.pixelY&&(this.pixelY=e.pixelY),void 0!==e.sample&&(this.sample=e.sample))},VkCoarseSampleLocationNV.prototype.flush=function(){return!0},VkCoarseSampleLocationNV.prototype.reflect=function(e){},VkCoarseSampleLocationNV.createCopyFrom=function(e){let t=new VkCoarseSampleLocationNV;return t.pixelX=e.pixelX,t.pixelY=e.pixelY,t.sample=e.sample,t},VkCoarseSampleLocationNV.byteLength=12,VkCoarseSampleLocationNV.memoryLayout={pixelX:{byteOffset:0,byteLength:4},pixelY:{byteOffset:4,byteLength:4},sample:{byteOffset:8,byteLength:4}},Object.defineProperties(VkCoarseSampleOrderCustomNV.prototype,{shadingRate:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCoarseSampleOrderCustomNV.shadingRate"),!$VAL_R_VkShadingRatePaletteEntryNV(e))throw new RangeError("Invalid value for 'VkCoarseSampleOrderCustomNV.shadingRate': '"+e+"' is not a value of 'VkShadingRatePaletteEntryNV'");this.memoryView.setInt32(0,e,!0)}},sampleCount:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCoarseSampleOrderCustomNV.sampleCount"),this.memoryView.setUint32(4,e,!0)}},sampleLocationCount:{get(){return this.memoryView.getUint32(8,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCoarseSampleOrderCustomNV.sampleLocationCount"),this.memoryView.setUint32(8,e,!0)}},pSampleLocations:{get(){if(null===this._pSampleLocations&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(16,!0),this.sampleLocationCount,VkCoarseSampleLocationNV);return this._pSampleLocations=e,this.pSampleLocations}return this._pSampleLocations},set(e){if(null!==e&&e.constructor===Array)this._pSampleLocations=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkCoarseSampleOrderCustomNV.pSampleLocations': Expected 'Array VkCoarseSampleLocationNV' but got '"+typeToString(e)+"'");this._pSampleLocations=null}}}}),VkCoarseSampleOrderCustomNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pSampleLocations=null,this._pSampleLocationsNative=null,"object"==typeof e&&(void 0!==e.shadingRate&&(this.shadingRate=e.shadingRate),void 0!==e.sampleCount&&(this.sampleCount=e.sampleCount),void 0!==e.sampleLocationCount&&(this.sampleLocationCount=e.sampleLocationCount),void 0!==e.pSampleLocations&&(this.pSampleLocations=e.pSampleLocations))},VkCoarseSampleOrderCustomNV.prototype.flush=function(){if(null!==this._pSampleLocations){let e=this._pSampleLocations;if(e.length!==this.sampleLocationCount)throw new RangeError("Invalid array length, expected length of 'sampleLocationCount' for 'VkCoarseSampleOrderCustomNV.pSampleLocations'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pSampleLocationsNative=t,this.memoryView.setBigInt64(16,t.address,!0)}else this._pSampleLocationsNative=null,this.memoryView.setBigInt64(16,BI0,!0)}return!0},VkCoarseSampleOrderCustomNV.prototype.reflect=function(e){},VkCoarseSampleOrderCustomNV.createCopyFrom=function(e){let t=new VkCoarseSampleOrderCustomNV;return t.shadingRate=e.shadingRate,t.sampleCount=e.sampleCount,t.sampleLocationCount=e.sampleLocationCount,null!==e.pSampleLocations&&(t.pSampleLocations=[...Array(e.pSampleLocations.length)].map((t,r)=>e.pSampleLocations[r].constructor.createCopyFrom(e.pSampleLocations[r]))),t},VkCoarseSampleOrderCustomNV.byteLength=24,VkCoarseSampleOrderCustomNV.memoryLayout={shadingRate:{byteOffset:0,byteLength:4},sampleCount:{byteOffset:4,byteLength:4},sampleLocationCount:{byteOffset:8,byteLength:4},pSampleLocations:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.pNext' isn't allowed to be filled")}},sampleOrderType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.sampleOrderType"),!$VAL_R_VkCoarseSampleOrderTypeNV(e))throw new RangeError("Invalid value for 'VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.sampleOrderType': '"+e+"' is not a value of 'VkCoarseSampleOrderTypeNV'");this.memoryView.setInt32(16,e,!0)}},customSampleOrderCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.customSampleOrderCount"),this.memoryView.setUint32(20,e,!0)}},pCustomSampleOrders:{get(){if(null===this._pCustomSampleOrders&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.customSampleOrderCount,VkCoarseSampleOrderCustomNV);return this._pCustomSampleOrders=e,this.pCustomSampleOrders}return this._pCustomSampleOrders},set(e){if(null!==e&&e.constructor===Array)this._pCustomSampleOrders=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.pCustomSampleOrders': Expected 'Array VkCoarseSampleOrderCustomNV' but got '"+typeToString(e)+"'");this._pCustomSampleOrders=null}}}}),VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pCustomSampleOrders=null,this._pCustomSampleOrdersNative=null,this.sType=1000164005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.sampleOrderType&&(this.sampleOrderType=e.sampleOrderType),void 0!==e.customSampleOrderCount&&(this.customSampleOrderCount=e.customSampleOrderCount),void 0!==e.pCustomSampleOrders&&(this.pCustomSampleOrders=e.pCustomSampleOrders))},VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pCustomSampleOrders){let e=this._pCustomSampleOrders;if(e.length!==this.customSampleOrderCount)throw new RangeError("Invalid array length, expected length of 'customSampleOrderCount' for 'VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.pCustomSampleOrders'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pCustomSampleOrdersNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pCustomSampleOrdersNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineViewportCoarseSampleOrderStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.sampleOrderType=e.sampleOrderType,t.customSampleOrderCount=e.customSampleOrderCount,null!==e.pCustomSampleOrders&&(t.pCustomSampleOrders=[...Array(e.pCustomSampleOrders.length)].map((t,r)=>e.pCustomSampleOrders[r].constructor.createCopyFrom(e.pCustomSampleOrders[r]))),t},VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.byteLength=32,VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},sampleOrderType:{byteOffset:16,byteLength:4},customSampleOrderCount:{byteOffset:20,byteLength:4},pCustomSampleOrders:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceMeshShaderFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMeshShaderFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMeshShaderFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMeshShaderFeaturesNV.pNext' isn't allowed to be filled")}},taskShader:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},meshShader:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceMeshShaderFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000202e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.taskShader&&(this.taskShader=e.taskShader),void 0!==e.meshShader&&(this.meshShader=e.meshShader))},VkPhysicalDeviceMeshShaderFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMeshShaderFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceMeshShaderFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceMeshShaderFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.taskShader=e.taskShader,t.meshShader=e.meshShader,t},VkPhysicalDeviceMeshShaderFeaturesNV.byteLength=24,VkPhysicalDeviceMeshShaderFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},taskShader:{byteOffset:16,byteLength:4},meshShader:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceMeshShaderPropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMeshShaderPropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMeshShaderPropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMeshShaderPropertiesNV.pNext' isn't allowed to be filled")}},maxDrawMeshTasksCount:{get(){return this.memoryView.getUint32(16,!0)}},maxTaskWorkGroupInvocations:{get(){return this.memoryView.getUint32(20,!0)}},maxTaskWorkGroupSize:{get(){return[this.memoryView.getUint32(24,!0),this.memoryView.getUint32(28,!0),this.memoryView.getUint32(32,!0)]}},maxTaskTotalMemorySize:{get(){return this.memoryView.getUint32(36,!0)}},maxTaskOutputCount:{get(){return this.memoryView.getUint32(40,!0)}},maxMeshWorkGroupInvocations:{get(){return this.memoryView.getUint32(44,!0)}},maxMeshWorkGroupSize:{get(){return[this.memoryView.getUint32(48,!0),this.memoryView.getUint32(52,!0),this.memoryView.getUint32(56,!0)]}},maxMeshTotalMemorySize:{get(){return this.memoryView.getUint32(60,!0)}},maxMeshOutputVertices:{get(){return this.memoryView.getUint32(64,!0)}},maxMeshOutputPrimitives:{get(){return this.memoryView.getUint32(68,!0)}},maxMeshMultiviewViewCount:{get(){return this.memoryView.getUint32(72,!0)}},meshOutputPerVertexGranularity:{get(){return this.memoryView.getUint32(76,!0)}},meshOutputPerPrimitiveGranularity:{get(){return this.memoryView.getUint32(80,!0)}}}),VkPhysicalDeviceMeshShaderPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,88)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x58"],0),this._pNext=null,null!==this._maxTaskWorkGroupSize?this._maxTaskWorkGroupSize.fill(0):this._maxTaskWorkGroupSize=[...Array(3)].fill(0),null!==this._maxMeshWorkGroupSize?this._maxMeshWorkGroupSize.fill(0):this._maxMeshWorkGroupSize=[...Array(3)].fill(0),this.sType=1000202001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMeshShaderPropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMeshShaderPropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(88)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,88),0)},VkPhysicalDeviceMeshShaderPropertiesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceMeshShaderPropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.maxDrawMeshTasksCount=e.maxDrawMeshTasksCount,t.maxTaskWorkGroupInvocations=e.maxTaskWorkGroupInvocations,null!==e.maxTaskWorkGroupSize&&(t.maxTaskWorkGroupSize=[...Array(e.maxTaskWorkGroupSize.length)].map((t,r)=>e.maxTaskWorkGroupSize[r])),t.maxTaskTotalMemorySize=e.maxTaskTotalMemorySize,t.maxTaskOutputCount=e.maxTaskOutputCount,t.maxMeshWorkGroupInvocations=e.maxMeshWorkGroupInvocations,null!==e.maxMeshWorkGroupSize&&(t.maxMeshWorkGroupSize=[...Array(e.maxMeshWorkGroupSize.length)].map((t,r)=>e.maxMeshWorkGroupSize[r])),t.maxMeshTotalMemorySize=e.maxMeshTotalMemorySize,t.maxMeshOutputVertices=e.maxMeshOutputVertices,t.maxMeshOutputPrimitives=e.maxMeshOutputPrimitives,t.maxMeshMultiviewViewCount=e.maxMeshMultiviewViewCount,t.meshOutputPerVertexGranularity=e.meshOutputPerVertexGranularity,t.meshOutputPerPrimitiveGranularity=e.meshOutputPerPrimitiveGranularity,t},VkPhysicalDeviceMeshShaderPropertiesNV.byteLength=88,VkPhysicalDeviceMeshShaderPropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},maxDrawMeshTasksCount:{byteOffset:16,byteLength:4},maxTaskWorkGroupInvocations:{byteOffset:20,byteLength:4},maxTaskWorkGroupSize:{byteOffset:24,byteLength:12},maxTaskTotalMemorySize:{byteOffset:36,byteLength:4},maxTaskOutputCount:{byteOffset:40,byteLength:4},maxMeshWorkGroupInvocations:{byteOffset:44,byteLength:4},maxMeshWorkGroupSize:{byteOffset:48,byteLength:12},maxMeshTotalMemorySize:{byteOffset:60,byteLength:4},maxMeshOutputVertices:{byteOffset:64,byteLength:4},maxMeshOutputPrimitives:{byteOffset:68,byteLength:4},maxMeshMultiviewViewCount:{byteOffset:72,byteLength:4},meshOutputPerVertexGranularity:{byteOffset:76,byteLength:4},meshOutputPerPrimitiveGranularity:{byteOffset:80,byteLength:4}},Object.defineProperties(VkDrawMeshTasksIndirectCommandNV.prototype,{taskCount:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawMeshTasksIndirectCommandNV.taskCount"),this.memoryView.setUint32(0,e,!0)}},firstTask:{get(){return this.memoryView.getUint32(4,!0)},set(e){ASSERT_IS_NUMBER(e,"VkDrawMeshTasksIndirectCommandNV.firstTask"),this.memoryView.setUint32(4,e,!0)}}}),VkDrawMeshTasksIndirectCommandNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),"object"==typeof e&&(void 0!==e.taskCount&&(this.taskCount=e.taskCount),void 0!==e.firstTask&&(this.firstTask=e.firstTask))},VkDrawMeshTasksIndirectCommandNV.prototype.flush=function(){return!0},VkDrawMeshTasksIndirectCommandNV.prototype.reflect=function(e){},VkDrawMeshTasksIndirectCommandNV.createCopyFrom=function(e){let t=new VkDrawMeshTasksIndirectCommandNV;return t.taskCount=e.taskCount,t.firstTask=e.firstTask,t},VkDrawMeshTasksIndirectCommandNV.byteLength=8,VkDrawMeshTasksIndirectCommandNV.memoryLayout={taskCount:{byteOffset:0,byteLength:4},firstTask:{byteOffset:4,byteLength:4}},Object.defineProperties(VkRayTracingShaderGroupCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRayTracingShaderGroupCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRayTracingShaderGroupCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRayTracingShaderGroupCreateInfoNV.pNext' isn't allowed to be filled")}},type:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRayTracingShaderGroupCreateInfoNV.type"),!$VAL_R_VkRayTracingShaderGroupTypeNV(e))throw new RangeError("Invalid value for 'VkRayTracingShaderGroupCreateInfoNV.type': '"+e+"' is not a value of 'VkRayTracingShaderGroupTypeNV'");this.memoryView.setInt32(16,e,!0)}},generalShader:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingShaderGroupCreateInfoNV.generalShader"),this.memoryView.setUint32(20,e,!0)}},closestHitShader:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingShaderGroupCreateInfoNV.closestHitShader"),this.memoryView.setUint32(24,e,!0)}},anyHitShader:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingShaderGroupCreateInfoNV.anyHitShader"),this.memoryView.setUint32(28,e,!0)}},intersectionShader:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingShaderGroupCreateInfoNV.intersectionShader"),this.memoryView.setUint32(32,e,!0)}}}),VkRayTracingShaderGroupCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000165011,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.generalShader&&(this.generalShader=e.generalShader),void 0!==e.closestHitShader&&(this.closestHitShader=e.closestHitShader),void 0!==e.anyHitShader&&(this.anyHitShader=e.anyHitShader),void 0!==e.intersectionShader&&(this.intersectionShader=e.intersectionShader))},VkRayTracingShaderGroupCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkRayTracingShaderGroupCreateInfoNV.prototype.reflect=function(e){},VkRayTracingShaderGroupCreateInfoNV.createCopyFrom=function(e){let t=new VkRayTracingShaderGroupCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.type=e.type,t.generalShader=e.generalShader,t.closestHitShader=e.closestHitShader,t.anyHitShader=e.anyHitShader,t.intersectionShader=e.intersectionShader,t},VkRayTracingShaderGroupCreateInfoNV.byteLength=40,VkRayTracingShaderGroupCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},type:{byteOffset:16,byteLength:4},generalShader:{byteOffset:20,byteLength:4},closestHitShader:{byteOffset:24,byteLength:4},anyHitShader:{byteOffset:28,byteLength:4},intersectionShader:{byteOffset:32,byteLength:4}},Object.defineProperties(VkRayTracingPipelineCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRayTracingPipelineCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRayTracingPipelineCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e&&e instanceof Object){let{sType:t}=e;if(t<=-1)throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.pNext'");switch(t){case 1000192e3:break;default:throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.pNext'")}this._pNext=e,this.memoryView.setBigInt64(8,e.memoryAddress,!0)}else{if(null!==e)throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.pNext'");this._pNext=null,this.memoryView.setBigInt64(8,BI0,!0)}}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingPipelineCreateInfoNV.flags"),this.memoryView.setInt32(16,e,!0)}},stageCount:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingPipelineCreateInfoNV.stageCount"),this.memoryView.setUint32(20,e,!0)}},pStages:{get(){if(null===this._pStages&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.stageCount,VkPipelineShaderStageCreateInfo);return this._pStages=e,this.pStages}return this._pStages},set(e){if(null!==e&&e.constructor===Array)this._pStages=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.pStages': Expected 'Array VkPipelineShaderStageCreateInfo' but got '"+typeToString(e)+"'");this._pStages=null}}},groupCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingPipelineCreateInfoNV.groupCount"),this.memoryView.setUint32(32,e,!0)}},pGroups:{get(){if(null===this._pGroups&&this.memoryView.getBigInt64(40,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(40,!0),this.groupCount,VkRayTracingShaderGroupCreateInfoNV);return this._pGroups=e,this.pGroups}return this._pGroups},set(e){if(null!==e&&e.constructor===Array)this._pGroups=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.pGroups': Expected 'Array VkRayTracingShaderGroupCreateInfoNV' but got '"+typeToString(e)+"'");this._pGroups=null}}},maxRecursionDepth:{get(){return this.memoryView.getUint32(48,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingPipelineCreateInfoNV.maxRecursionDepth"),this.memoryView.setUint32(48,e,!0)}},layout:{get(){return this._layout},set(e){if(null!==e&&e.constructor===VkPipelineLayout)this._layout=e,this.memoryView.setBigInt64(56,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.layout': Expected 'VkPipelineLayout' but got '"+typeToString(e)+"'");this._layout=null,this.memoryView.setBigInt64(56,BI0,!0)}}},basePipelineHandle:{get(){return this._basePipelineHandle},set(e){if(null!==e&&e.constructor===VkPipeline)this._basePipelineHandle=e,this.memoryView.setBigInt64(64,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkRayTracingPipelineCreateInfoNV.basePipelineHandle': Expected 'VkPipeline' but got '"+typeToString(e)+"'");this._basePipelineHandle=null,this.memoryView.setBigInt64(64,BI0,!0)}}},basePipelineIndex:{get(){return this.memoryView.getInt32(72,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRayTracingPipelineCreateInfoNV.basePipelineIndex"),this.memoryView.setInt32(72,e,!0)}}}),VkRayTracingPipelineCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,80)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x50"],0),this._pNext=null,this._pStages=null,this._pStagesNative=null,this._pGroups=null,this._pGroupsNative=null,this._layout=null,this._basePipelineHandle=null,this.sType=1000165e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.stageCount&&(this.stageCount=e.stageCount),void 0!==e.pStages&&(this.pStages=e.pStages),void 0!==e.groupCount&&(this.groupCount=e.groupCount),void 0!==e.pGroups&&(this.pGroups=e.pGroups),void 0!==e.maxRecursionDepth&&(this.maxRecursionDepth=e.maxRecursionDepth),void 0!==e.layout&&(this.layout=e.layout),void 0!==e.basePipelineHandle&&(this.basePipelineHandle=e.basePipelineHandle),void 0!==e.basePipelineIndex&&(this.basePipelineIndex=e.basePipelineIndex))},VkRayTracingPipelineCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pStages){let e=this._pStages;if(e.length!==this.stageCount)throw new RangeError("Invalid array length, expected length of 'stageCount' for 'VkRayTracingPipelineCreateInfoNV.pStages'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pStagesNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pStagesNative=null,this.memoryView.setBigInt64(24,BI0,!0)}if(null!==this._pGroups){let e=this._pGroups;if(e.length!==this.groupCount)throw new RangeError("Invalid array length, expected length of 'groupCount' for 'VkRayTracingPipelineCreateInfoNV.pGroups'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pGroupsNative=t,this.memoryView.setBigInt64(40,t.address,!0)}else this._pGroupsNative=null,this.memoryView.setBigInt64(40,BI0,!0)}return!0},VkRayTracingPipelineCreateInfoNV.prototype.reflect=function(e){},VkRayTracingPipelineCreateInfoNV.createCopyFrom=function(e){let t=new VkRayTracingPipelineCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.stageCount=e.stageCount,null!==e.pStages&&(t.pStages=[...Array(e.pStages.length)].map((t,r)=>e.pStages[r].constructor.createCopyFrom(e.pStages[r]))),t.groupCount=e.groupCount,null!==e.pGroups&&(t.pGroups=[...Array(e.pGroups.length)].map((t,r)=>e.pGroups[r].constructor.createCopyFrom(e.pGroups[r]))),t.maxRecursionDepth=e.maxRecursionDepth,null!==e.layout&&(t.layout=e.layout.constructor.createCopyFrom(e.layout)),null!==e.basePipelineHandle&&(t.basePipelineHandle=e.basePipelineHandle.constructor.createCopyFrom(e.basePipelineHandle)),t.basePipelineIndex=e.basePipelineIndex,t},VkRayTracingPipelineCreateInfoNV.byteLength=80,VkRayTracingPipelineCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},stageCount:{byteOffset:20,byteLength:4},pStages:{byteOffset:24,byteLength:8},groupCount:{byteOffset:32,byteLength:4},pGroups:{byteOffset:40,byteLength:8},maxRecursionDepth:{byteOffset:48,byteLength:4},layout:{byteOffset:56,byteLength:8},basePipelineHandle:{byteOffset:64,byteLength:8},basePipelineIndex:{byteOffset:72,byteLength:4}},Object.defineProperties(VkGeometryTrianglesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGeometryTrianglesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkGeometryTrianglesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkGeometryTrianglesNV.pNext' isn't allowed to be filled")}},vertexData:{get(){return this._vertexData},set(e){if(null!==e&&e.constructor===VkBuffer)this._vertexData=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryTrianglesNV.vertexData': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._vertexData=null,this.memoryView.setBigInt64(16,BI0,!0)}}},vertexOffset:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkGeometryTrianglesNV.vertexOffset"),this.memoryView.setBigUint64(24,BigInt(e),!0)}},vertexCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGeometryTrianglesNV.vertexCount"),this.memoryView.setUint32(32,e,!0)}},vertexStride:{get(){return this.memoryView.getBigUint64(40,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkGeometryTrianglesNV.vertexStride"),this.memoryView.setBigUint64(40,BigInt(e),!0)}},vertexFormat:{get(){return this.memoryView.getInt32(48,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGeometryTrianglesNV.vertexFormat"),!$VAL_R_VkFormat(e))throw new RangeError("Invalid value for 'VkGeometryTrianglesNV.vertexFormat': '"+e+"' is not a value of 'VkFormat'");this.memoryView.setInt32(48,e,!0)}},indexData:{get(){return this._indexData},set(e){if(null!==e&&e.constructor===VkBuffer)this._indexData=e,this.memoryView.setBigInt64(56,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryTrianglesNV.indexData': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._indexData=null,this.memoryView.setBigInt64(56,BI0,!0)}}},indexOffset:{get(){return this.memoryView.getBigUint64(64,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkGeometryTrianglesNV.indexOffset"),this.memoryView.setBigUint64(64,BigInt(e),!0)}},indexCount:{get(){return this.memoryView.getUint32(72,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGeometryTrianglesNV.indexCount"),this.memoryView.setUint32(72,e,!0)}},indexType:{get(){return this.memoryView.getInt32(76,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGeometryTrianglesNV.indexType"),!$VAL_R_VkIndexType(e))throw new RangeError("Invalid value for 'VkGeometryTrianglesNV.indexType': '"+e+"' is not a value of 'VkIndexType'");this.memoryView.setInt32(76,e,!0)}},transformData:{get(){return this._transformData},set(e){if(null!==e&&e.constructor===VkBuffer)this._transformData=e,this.memoryView.setBigInt64(80,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryTrianglesNV.transformData': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._transformData=null,this.memoryView.setBigInt64(80,BI0,!0)}}},transformOffset:{get(){return this.memoryView.getBigUint64(88,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkGeometryTrianglesNV.transformOffset"),this.memoryView.setBigUint64(88,BigInt(e),!0)}}}),VkGeometryTrianglesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,96)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x60"],0),this._pNext=null,this._vertexData=null,this._indexData=null,this._transformData=null,this.sType=1000165004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.vertexData&&(this.vertexData=e.vertexData),void 0!==e.vertexOffset&&(this.vertexOffset=e.vertexOffset),void 0!==e.vertexCount&&(this.vertexCount=e.vertexCount),void 0!==e.vertexStride&&(this.vertexStride=e.vertexStride),void 0!==e.vertexFormat&&(this.vertexFormat=e.vertexFormat),void 0!==e.indexData&&(this.indexData=e.indexData),void 0!==e.indexOffset&&(this.indexOffset=e.indexOffset),void 0!==e.indexCount&&(this.indexCount=e.indexCount),void 0!==e.indexType&&(this.indexType=e.indexType),void 0!==e.transformData&&(this.transformData=e.transformData),void 0!==e.transformOffset&&(this.transformOffset=e.transformOffset))};VkGeometryTrianglesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkGeometryTrianglesNV.prototype.reflect=function(e){},VkGeometryTrianglesNV.createCopyFrom=function(e){let t=new VkGeometryTrianglesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.vertexData&&(t.vertexData=e.vertexData.constructor.createCopyFrom(e.vertexData)),t.vertexOffset=e.vertexOffset,t.vertexCount=e.vertexCount,t.vertexStride=e.vertexStride,t.vertexFormat=e.vertexFormat,null!==e.indexData&&(t.indexData=e.indexData.constructor.createCopyFrom(e.indexData)),t.indexOffset=e.indexOffset,t.indexCount=e.indexCount,t.indexType=e.indexType,null!==e.transformData&&(t.transformData=e.transformData.constructor.createCopyFrom(e.transformData)),t.transformOffset=e.transformOffset,t},VkGeometryTrianglesNV.byteLength=96,VkGeometryTrianglesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},vertexData:{byteOffset:16,byteLength:8},vertexOffset:{byteOffset:24,byteLength:8},vertexCount:{byteOffset:32,byteLength:4},vertexStride:{byteOffset:40,byteLength:8},vertexFormat:{byteOffset:48,byteLength:4},indexData:{byteOffset:56,byteLength:8},indexOffset:{byteOffset:64,byteLength:8},indexCount:{byteOffset:72,byteLength:4},indexType:{byteOffset:76,byteLength:4},transformData:{byteOffset:80,byteLength:8},transformOffset:{byteOffset:88,byteLength:8}},Object.defineProperties(VkGeometryAABBNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGeometryAABBNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkGeometryAABBNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkGeometryAABBNV.pNext' isn't allowed to be filled")}},aabbData:{get(){return this._aabbData},set(e){if(null!==e&&e.constructor===VkBuffer)this._aabbData=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryAABBNV.aabbData': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._aabbData=null,this.memoryView.setBigInt64(16,BI0,!0)}}},numAABBs:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGeometryAABBNV.numAABBs"),this.memoryView.setUint32(24,e,!0)}},stride:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGeometryAABBNV.stride"),this.memoryView.setUint32(28,e,!0)}},offset:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkGeometryAABBNV.offset"),this.memoryView.setBigUint64(32,BigInt(e),!0)}}}),VkGeometryAABBNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._aabbData=null,this.sType=1000165005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.aabbData&&(this.aabbData=e.aabbData),void 0!==e.numAABBs&&(this.numAABBs=e.numAABBs),void 0!==e.stride&&(this.stride=e.stride),void 0!==e.offset&&(this.offset=e.offset))},VkGeometryAABBNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkGeometryAABBNV.prototype.reflect=function(e){},VkGeometryAABBNV.createCopyFrom=function(e){let t=new VkGeometryAABBNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.aabbData&&(t.aabbData=e.aabbData.constructor.createCopyFrom(e.aabbData)),t.numAABBs=e.numAABBs,t.stride=e.stride,t.offset=e.offset,t},VkGeometryAABBNV.byteLength=40,VkGeometryAABBNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},aabbData:{byteOffset:16,byteLength:8},numAABBs:{byteOffset:24,byteLength:4},stride:{byteOffset:28,byteLength:4},offset:{byteOffset:32,byteLength:8}},Object.defineProperties(VkGeometryDataNV.prototype,{triangles:{get(){return this._triangles},set(e){if(null!==e&&e.constructor===VkGeometryTrianglesNV)e.flush(),this._triangles=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryDataNV.triangles': Expected 'VkGeometryTrianglesNV' but got '"+typeToString(e)+"'");this._triangles=null}}},aabbs:{get(){return this._aabbs},set(e){if(null!==e&&e.constructor===VkGeometryAABBNV)e.flush(),this._aabbs=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryDataNV.aabbs': Expected 'VkGeometryAABBNV' but got '"+typeToString(e)+"'");this._aabbs=null}}}}),VkGeometryDataNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,136)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x88"],0),null!==this._triangles&&(this.memoryBuffer!==this._triangles.memoryBuffer?this._triangles=new VkGeometryTrianglesNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._triangles.reset()),null!==this._aabbs&&(this.memoryBuffer!==this._aabbs.memoryBuffer?this._aabbs=new VkGeometryAABBNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+96}):this._aabbs.reset()),"object"==typeof e&&(void 0!==e.triangles&&(this.triangles=e.triangles),void 0!==e.aabbs&&(this.aabbs=e.aabbs))},VkGeometryDataNV.prototype.flush=function(){if(null!==this._triangles){let e=this._triangles;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,96);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkGeometryDataNV.triangles' isn't used as shared-memory")}}if(null!==this._aabbs){let e=this._aabbs;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,40);new Uint8Array(this.memoryBuffer).set(t,96),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkGeometryDataNV.aabbs' isn't used as shared-memory")}}return!0},VkGeometryDataNV.prototype.reflect=function(e){},VkGeometryDataNV.createCopyFrom=function(e){let t=new VkGeometryDataNV;return null!==e.triangles&&(t.triangles=e.triangles.constructor.createCopyFrom(e.triangles)),null!==e.aabbs&&(t.aabbs=e.aabbs.constructor.createCopyFrom(e.aabbs)),t},VkGeometryDataNV.byteLength=136,VkGeometryDataNV.memoryLayout={triangles:{byteOffset:0,byteLength:96},aabbs:{byteOffset:96,byteLength:40}},Object.defineProperties(VkGeometryNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGeometryNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkGeometryNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkGeometryNV.pNext' isn't allowed to be filled")}},geometryType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkGeometryNV.geometryType"),!$VAL_R_VkGeometryTypeNV(e))throw new RangeError("Invalid value for 'VkGeometryNV.geometryType': '"+e+"' is not a value of 'VkGeometryTypeNV'");this.memoryView.setInt32(16,e,!0)}},geometry:{get(){return this._geometry},set(e){if(null!==e&&e.constructor===VkGeometryDataNV)e.flush(),this._geometry=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkGeometryNV.geometry': Expected 'VkGeometryDataNV' but got '"+typeToString(e)+"'");this._geometry=null}}},flags:{get(){return this.memoryView.getInt32(160,!0)},set(e){ASSERT_IS_NUMBER(e,"VkGeometryNV.flags"),this.memoryView.setInt32(160,e,!0)}}}),VkGeometryNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,168)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0xA8"],0),this._pNext=null,null!==this._geometry&&(this.memoryBuffer!==this._geometry.memoryBuffer?this._geometry=new VkGeometryDataNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._geometry.reset()),this.sType=1000165003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.geometryType&&(this.geometryType=e.geometryType),void 0!==e.geometry&&(this.geometry=e.geometry),void 0!==e.flags&&(this.flags=e.flags))},VkGeometryNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._geometry){let e=this._geometry;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,136);new Uint8Array(this.memoryBuffer).set(t,24),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkGeometryNV.geometry' isn't used as shared-memory")}}return!0},VkGeometryNV.prototype.reflect=function(e){},VkGeometryNV.createCopyFrom=function(e){let t=new VkGeometryNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.geometryType=e.geometryType,null!==e.geometry&&(t.geometry=e.geometry.constructor.createCopyFrom(e.geometry)),t.flags=e.flags,t},VkGeometryNV.byteLength=168,VkGeometryNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},geometryType:{byteOffset:16,byteLength:4},geometry:{byteOffset:24,byteLength:136},flags:{byteOffset:160,byteLength:4}},Object.defineProperties(VkAccelerationStructureInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAccelerationStructureInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkAccelerationStructureInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkAccelerationStructureInfoNV.pNext' isn't allowed to be filled")}},type:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAccelerationStructureInfoNV.type"),!$VAL_R_VkAccelerationStructureTypeNV(e))throw new RangeError("Invalid value for 'VkAccelerationStructureInfoNV.type': '"+e+"' is not a value of 'VkAccelerationStructureTypeNV'");this.memoryView.setInt32(16,e,!0)}},flags:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAccelerationStructureInfoNV.flags"),this.memoryView.setInt32(20,e,!0)}},instanceCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAccelerationStructureInfoNV.instanceCount"),this.memoryView.setUint32(24,e,!0)}},geometryCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkAccelerationStructureInfoNV.geometryCount"),this.memoryView.setUint32(28,e,!0)}},pGeometries:{get(){if(null===this._pGeometries&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.geometryCount,VkGeometryNV);return this._pGeometries=e,this.pGeometries}return this._pGeometries},set(e){if(null!==e&&e.constructor===Array)this._pGeometries=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkAccelerationStructureInfoNV.pGeometries': Expected 'Array VkGeometryNV' but got '"+typeToString(e)+"'");this._pGeometries=null}}}}),VkAccelerationStructureInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pGeometries=null,this._pGeometriesNative=null,this.sType=1000165012,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.instanceCount&&(this.instanceCount=e.instanceCount),void 0!==e.geometryCount&&(this.geometryCount=e.geometryCount),void 0!==e.pGeometries&&(this.pGeometries=e.pGeometries))},VkAccelerationStructureInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pGeometries){let e=this._pGeometries;if(e.length!==this.geometryCount)throw new RangeError("Invalid array length, expected length of 'geometryCount' for 'VkAccelerationStructureInfoNV.pGeometries'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pGeometriesNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pGeometriesNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkAccelerationStructureInfoNV.prototype.reflect=function(e){},VkAccelerationStructureInfoNV.createCopyFrom=function(e){let t=new VkAccelerationStructureInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.type=e.type,t.flags=e.flags,t.instanceCount=e.instanceCount,t.geometryCount=e.geometryCount,null!==e.pGeometries&&(t.pGeometries=[...Array(e.pGeometries.length)].map((t,r)=>e.pGeometries[r].constructor.createCopyFrom(e.pGeometries[r]))),t},VkAccelerationStructureInfoNV.byteLength=40,VkAccelerationStructureInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},type:{byteOffset:16,byteLength:4},flags:{byteOffset:20,byteLength:4},instanceCount:{byteOffset:24,byteLength:4},geometryCount:{byteOffset:28,byteLength:4},pGeometries:{byteOffset:32,byteLength:8}},Object.defineProperties(VkAccelerationStructureCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAccelerationStructureCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkAccelerationStructureCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkAccelerationStructureCreateInfoNV.pNext' isn't allowed to be filled")}},compactedSize:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkAccelerationStructureCreateInfoNV.compactedSize"),this.memoryView.setBigUint64(16,BigInt(e),!0)}},info:{get(){return this._info},set(e){if(null!==e&&e.constructor===VkAccelerationStructureInfoNV)e.flush(),this._info=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkAccelerationStructureCreateInfoNV.info': Expected 'VkAccelerationStructureInfoNV' but got '"+typeToString(e)+"'");this._info=null}}}}),VkAccelerationStructureCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,null!==this._info&&(this.memoryBuffer!==this._info.memoryBuffer?this._info=new VkAccelerationStructureInfoNV({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._info.reset()),this.sType=1000165001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.compactedSize&&(this.compactedSize=e.compactedSize),void 0!==e.info&&(this.info=e.info))},VkAccelerationStructureCreateInfoNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._info){let e=this._info;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,40);new Uint8Array(this.memoryBuffer).set(t,24),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkAccelerationStructureCreateInfoNV.info' isn't used as shared-memory")}}return!0},VkAccelerationStructureCreateInfoNV.prototype.reflect=function(e){},VkAccelerationStructureCreateInfoNV.createCopyFrom=function(e){let t=new VkAccelerationStructureCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.compactedSize=e.compactedSize,null!==e.info&&(t.info=e.info.constructor.createCopyFrom(e.info)),t},VkAccelerationStructureCreateInfoNV.byteLength=64,VkAccelerationStructureCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},compactedSize:{byteOffset:16,byteLength:8},info:{byteOffset:24,byteLength:40}},Object.defineProperties(VkBindAccelerationStructureMemoryInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBindAccelerationStructureMemoryInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBindAccelerationStructureMemoryInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBindAccelerationStructureMemoryInfoNV.pNext' isn't allowed to be filled")}},accelerationStructure:{get(){return this._accelerationStructure},set(e){if(null!==e&&e.constructor===VkAccelerationStructureNV)this._accelerationStructure=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindAccelerationStructureMemoryInfoNV.accelerationStructure': Expected 'VkAccelerationStructureNV' but got '"+typeToString(e)+"'");this._accelerationStructure=null,this.memoryView.setBigInt64(16,BI0,!0)}}},memory:{get(){return this._memory},set(e){if(null!==e&&e.constructor===VkDeviceMemory)this._memory=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindAccelerationStructureMemoryInfoNV.memory': Expected 'VkDeviceMemory' but got '"+typeToString(e)+"'");this._memory=null,this.memoryView.setBigInt64(24,BI0,!0)}}},memoryOffset:{get(){return this.memoryView.getBigUint64(32,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBindAccelerationStructureMemoryInfoNV.memoryOffset"),this.memoryView.setBigUint64(32,BigInt(e),!0)}},deviceIndexCount:{get(){return this.memoryView.getUint32(40,!0)},set(e){ASSERT_IS_NUMBER(e,"VkBindAccelerationStructureMemoryInfoNV.deviceIndexCount"),this.memoryView.setUint32(40,e,!0)}},pDeviceIndices:{get(){return this._pDeviceIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pDeviceIndices=e,this.memoryView.setBigInt64(48,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBindAccelerationStructureMemoryInfoNV.pDeviceIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pDeviceIndices=null,this.memoryView.setBigInt64(48,BI0,!0)}}}}),VkBindAccelerationStructureMemoryInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,56)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x38"],0),this._pNext=null,this._accelerationStructure=null,this._memory=null,this._pDeviceIndices=null,this.sType=1000165006,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.accelerationStructure&&(this.accelerationStructure=e.accelerationStructure),void 0!==e.memory&&(this.memory=e.memory),void 0!==e.memoryOffset&&(this.memoryOffset=e.memoryOffset),void 0!==e.deviceIndexCount&&(this.deviceIndexCount=e.deviceIndexCount),void 0!==e.pDeviceIndices&&(this.pDeviceIndices=e.pDeviceIndices))},VkBindAccelerationStructureMemoryInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBindAccelerationStructureMemoryInfoNV.prototype.reflect=function(e){},VkBindAccelerationStructureMemoryInfoNV.createCopyFrom=function(e){let t=new VkBindAccelerationStructureMemoryInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.accelerationStructure&&(t.accelerationStructure=e.accelerationStructure.constructor.createCopyFrom(e.accelerationStructure)),null!==e.memory&&(t.memory=e.memory.constructor.createCopyFrom(e.memory)),t.memoryOffset=e.memoryOffset,t.deviceIndexCount=e.deviceIndexCount,null!==e.pDeviceIndices&&(t.pDeviceIndices=new Uint32Array(e.pDeviceIndices)),t},VkBindAccelerationStructureMemoryInfoNV.byteLength=56,VkBindAccelerationStructureMemoryInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},accelerationStructure:{byteOffset:16,byteLength:8},memory:{byteOffset:24,byteLength:8},memoryOffset:{byteOffset:32,byteLength:8},deviceIndexCount:{byteOffset:40,byteLength:4},pDeviceIndices:{byteOffset:48,byteLength:8}},Object.defineProperties(VkWriteDescriptorSetAccelerationStructureNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkWriteDescriptorSetAccelerationStructureNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkWriteDescriptorSetAccelerationStructureNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkWriteDescriptorSetAccelerationStructureNV.pNext' isn't allowed to be filled")}},accelerationStructureCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkWriteDescriptorSetAccelerationStructureNV.accelerationStructureCount"),this.memoryView.setUint32(16,e,!0)}},pAccelerationStructures:{get(){if(null===this._pAccelerationStructures&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.accelerationStructureCount,VkAccelerationStructureNV);return this._pAccelerationStructures=e,this.pAccelerationStructures}return this._pAccelerationStructures},set(e){if(null!==e&&e.constructor===Array)this._pAccelerationStructures=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkWriteDescriptorSetAccelerationStructureNV.pAccelerationStructures': Expected 'Array VkAccelerationStructureNV' but got '"+typeToString(e)+"'");this._pAccelerationStructures=null}}}}),VkWriteDescriptorSetAccelerationStructureNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pAccelerationStructures=null,this._pAccelerationStructuresNative=null,this.sType=1000165007,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.accelerationStructureCount&&(this.accelerationStructureCount=e.accelerationStructureCount),void 0!==e.pAccelerationStructures&&(this.pAccelerationStructures=e.pAccelerationStructures))},VkWriteDescriptorSetAccelerationStructureNV.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAccelerationStructures){let e=this._pAccelerationStructures;if(e.length!==this.accelerationStructureCount)throw new RangeError("Invalid array length, expected length of 'accelerationStructureCount' for 'VkWriteDescriptorSetAccelerationStructureNV.pAccelerationStructures'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAccelerationStructuresNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAccelerationStructuresNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkWriteDescriptorSetAccelerationStructureNV.prototype.reflect=function(e){},VkWriteDescriptorSetAccelerationStructureNV.createCopyFrom=function(e){let t=new VkWriteDescriptorSetAccelerationStructureNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.accelerationStructureCount=e.accelerationStructureCount,null!==e.pAccelerationStructures&&(t.pAccelerationStructures=[...Array(e.pAccelerationStructures.length)].map((t,r)=>e.pAccelerationStructures[r].constructor.createCopyFrom(e.pAccelerationStructures[r]))),t},VkWriteDescriptorSetAccelerationStructureNV.byteLength=32,VkWriteDescriptorSetAccelerationStructureNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},accelerationStructureCount:{byteOffset:16,byteLength:4},pAccelerationStructures:{byteOffset:24,byteLength:8}},Object.defineProperties(VkAccelerationStructureMemoryRequirementsInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAccelerationStructureMemoryRequirementsInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkAccelerationStructureMemoryRequirementsInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkAccelerationStructureMemoryRequirementsInfoNV.pNext' isn't allowed to be filled")}},type:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkAccelerationStructureMemoryRequirementsInfoNV.type"),!$VAL_R_VkAccelerationStructureMemoryRequirementsTypeNV(e))throw new RangeError("Invalid value for 'VkAccelerationStructureMemoryRequirementsInfoNV.type': '"+e+"' is not a value of 'VkAccelerationStructureMemoryRequirementsTypeNV'");this.memoryView.setInt32(16,e,!0)}},accelerationStructure:{get(){return this._accelerationStructure},set(e){if(null!==e&&e.constructor===VkAccelerationStructureNV)this._accelerationStructure=e,this.memoryView.setBigInt64(24,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkAccelerationStructureMemoryRequirementsInfoNV.accelerationStructure': Expected 'VkAccelerationStructureNV' but got '"+typeToString(e)+"'");this._accelerationStructure=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkAccelerationStructureMemoryRequirementsInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._accelerationStructure=null,this.sType=1000165008,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.accelerationStructure&&(this.accelerationStructure=e.accelerationStructure))},VkAccelerationStructureMemoryRequirementsInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkAccelerationStructureMemoryRequirementsInfoNV.prototype.reflect=function(e){},VkAccelerationStructureMemoryRequirementsInfoNV.createCopyFrom=function(e){let t=new VkAccelerationStructureMemoryRequirementsInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.type=e.type,null!==e.accelerationStructure&&(t.accelerationStructure=e.accelerationStructure.constructor.createCopyFrom(e.accelerationStructure)),t},VkAccelerationStructureMemoryRequirementsInfoNV.byteLength=32,VkAccelerationStructureMemoryRequirementsInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},type:{byteOffset:16,byteLength:4},accelerationStructure:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceRayTracingPropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceRayTracingPropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceRayTracingPropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceRayTracingPropertiesNV.pNext' isn't allowed to be filled")}},shaderGroupHandleSize:{get(){return this.memoryView.getUint32(16,!0)}},maxRecursionDepth:{get(){return this.memoryView.getUint32(20,!0)}},maxShaderGroupStride:{get(){return this.memoryView.getUint32(24,!0)}},shaderGroupBaseAlignment:{get(){return this.memoryView.getUint32(28,!0)}},maxGeometryCount:{get(){return this.memoryView.getBigUint64(32,!0)}},maxInstanceCount:{get(){return this.memoryView.getBigUint64(40,!0)}},maxTriangleCount:{get(){return this.memoryView.getBigUint64(48,!0)}},maxDescriptorSetAccelerationStructures:{get(){return this.memoryView.getUint32(56,!0)}}}),VkPhysicalDeviceRayTracingPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,64)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x40"],0),this._pNext=null,this.sType=1000165009,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceRayTracingPropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceRayTracingPropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(64)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,64),0)},VkPhysicalDeviceRayTracingPropertiesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceRayTracingPropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderGroupHandleSize=e.shaderGroupHandleSize,t.maxRecursionDepth=e.maxRecursionDepth,t.maxShaderGroupStride=e.maxShaderGroupStride,t.shaderGroupBaseAlignment=e.shaderGroupBaseAlignment,t.maxGeometryCount=e.maxGeometryCount,t.maxInstanceCount=e.maxInstanceCount,t.maxTriangleCount=e.maxTriangleCount,t.maxDescriptorSetAccelerationStructures=e.maxDescriptorSetAccelerationStructures,t},VkPhysicalDeviceRayTracingPropertiesNV.byteLength=64,VkPhysicalDeviceRayTracingPropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderGroupHandleSize:{byteOffset:16,byteLength:4},maxRecursionDepth:{byteOffset:20,byteLength:4},maxShaderGroupStride:{byteOffset:24,byteLength:4},shaderGroupBaseAlignment:{byteOffset:28,byteLength:4},maxGeometryCount:{byteOffset:32,byteLength:8},maxInstanceCount:{byteOffset:40,byteLength:8},maxTriangleCount:{byteOffset:48,byteLength:8},maxDescriptorSetAccelerationStructures:{byteOffset:56,byteLength:4}},Object.defineProperties(VkDrmFormatModifierPropertiesListEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDrmFormatModifierPropertiesListEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDrmFormatModifierPropertiesListEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDrmFormatModifierPropertiesListEXT.pNext' isn't allowed to be filled")}},drmFormatModifierCount:{get(){return this.memoryView.getUint32(16,!0)}},pDrmFormatModifierProperties:{get(){if(null===this._pDrmFormatModifierProperties&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.drmFormatModifierCount,VkDrmFormatModifierPropertiesEXT);return this._pDrmFormatModifierProperties=e,this.pDrmFormatModifierProperties}return this._pDrmFormatModifierProperties}}}),VkDrmFormatModifierPropertiesListEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDrmFormatModifierProperties=null,this._pDrmFormatModifierPropertiesNative=null,this.sType=1000158e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkDrmFormatModifierPropertiesListEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDrmFormatModifierPropertiesListEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkDrmFormatModifierPropertiesListEXT.createCopyFrom=function(e){let t=new VkDrmFormatModifierPropertiesListEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.drmFormatModifierCount=e.drmFormatModifierCount,null!==e.pDrmFormatModifierProperties&&(t.pDrmFormatModifierProperties=[...Array(e.pDrmFormatModifierProperties.length)].map((t,r)=>e.pDrmFormatModifierProperties[r].constructor.createCopyFrom(e.pDrmFormatModifierProperties[r]))),t},VkDrmFormatModifierPropertiesListEXT.byteLength=32,VkDrmFormatModifierPropertiesListEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},drmFormatModifierCount:{byteOffset:16,byteLength:4},pDrmFormatModifierProperties:{byteOffset:24,byteLength:8}},Object.defineProperties(VkDrmFormatModifierPropertiesEXT.prototype,{drmFormatModifier:{get(){return this.memoryView.getBigUint64(0,!0)}},drmFormatModifierPlaneCount:{get(){return this.memoryView.getUint32(8,!0)}},drmFormatModifierTilingFeatures:{get(){return this.memoryView.getInt32(12,!0)}}}),VkDrmFormatModifierPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0)},VkDrmFormatModifierPropertiesEXT.prototype.flush=function(){return!0},VkDrmFormatModifierPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(16)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,16),0)},VkDrmFormatModifierPropertiesEXT.createCopyFrom=function(e){let t=new VkDrmFormatModifierPropertiesEXT;return t.drmFormatModifier=e.drmFormatModifier,t.drmFormatModifierPlaneCount=e.drmFormatModifierPlaneCount,t.drmFormatModifierTilingFeatures=e.drmFormatModifierTilingFeatures,t},VkDrmFormatModifierPropertiesEXT.byteLength=16,VkDrmFormatModifierPropertiesEXT.memoryLayout={drmFormatModifier:{byteOffset:0,byteLength:8},drmFormatModifierPlaneCount:{byteOffset:8,byteLength:4},drmFormatModifierTilingFeatures:{byteOffset:12,byteLength:4}},Object.defineProperties(VkPhysicalDeviceImageDrmFormatModifierInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageDrmFormatModifierInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageDrmFormatModifierInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceImageDrmFormatModifierInfoEXT.pNext' isn't allowed to be filled")}},drmFormatModifier:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPhysicalDeviceImageDrmFormatModifierInfoEXT.drmFormatModifier"),this.memoryView.setBigUint64(16,BigInt(e),!0)}},sharingMode:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageDrmFormatModifierInfoEXT.sharingMode"),!$VAL_R_VkSharingMode(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageDrmFormatModifierInfoEXT.sharingMode': '"+e+"' is not a value of 'VkSharingMode'");this.memoryView.setInt32(24,e,!0)}},queueFamilyIndexCount:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageDrmFormatModifierInfoEXT.queueFamilyIndexCount"),this.memoryView.setUint32(28,e,!0)}},pQueueFamilyIndices:{get(){return this._pQueueFamilyIndices},set(e){if(null!==e&&e.constructor===Uint32Array)this._pQueueFamilyIndices=e,this.memoryView.setBigInt64(32,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPhysicalDeviceImageDrmFormatModifierInfoEXT.pQueueFamilyIndices': Expected 'Uint32Array' but got '"+typeToString(e)+"'");this._pQueueFamilyIndices=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkPhysicalDeviceImageDrmFormatModifierInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pQueueFamilyIndices=null,this.sType=1000158002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.drmFormatModifier&&(this.drmFormatModifier=e.drmFormatModifier),void 0!==e.sharingMode&&(this.sharingMode=e.sharingMode),void 0!==e.queueFamilyIndexCount&&(this.queueFamilyIndexCount=e.queueFamilyIndexCount),void 0!==e.pQueueFamilyIndices&&(this.pQueueFamilyIndices=e.pQueueFamilyIndices))},VkPhysicalDeviceImageDrmFormatModifierInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceImageDrmFormatModifierInfoEXT.prototype.reflect=function(e){},VkPhysicalDeviceImageDrmFormatModifierInfoEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceImageDrmFormatModifierInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.drmFormatModifier=e.drmFormatModifier,t.sharingMode=e.sharingMode,t.queueFamilyIndexCount=e.queueFamilyIndexCount,null!==e.pQueueFamilyIndices&&(t.pQueueFamilyIndices=new Uint32Array(e.pQueueFamilyIndices)),t},VkPhysicalDeviceImageDrmFormatModifierInfoEXT.byteLength=40,VkPhysicalDeviceImageDrmFormatModifierInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},drmFormatModifier:{byteOffset:16,byteLength:8},sharingMode:{byteOffset:24,byteLength:4},queueFamilyIndexCount:{byteOffset:28,byteLength:4},pQueueFamilyIndices:{byteOffset:32,byteLength:8}},Object.defineProperties(VkImageDrmFormatModifierListCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageDrmFormatModifierListCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageDrmFormatModifierListCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageDrmFormatModifierListCreateInfoEXT.pNext' isn't allowed to be filled")}},drmFormatModifierCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageDrmFormatModifierListCreateInfoEXT.drmFormatModifierCount"),this.memoryView.setUint32(16,e,!0)}},pDrmFormatModifiers:{get(){return this._pDrmFormatModifiers},set(e){if(null!==e&&e.constructor===BigUint64Array)this._pDrmFormatModifiers=e,this.memoryView.setBigInt64(24,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageDrmFormatModifierListCreateInfoEXT.pDrmFormatModifiers': Expected 'BigUint64Array' but got '"+typeToString(e)+"'");this._pDrmFormatModifiers=null,this.memoryView.setBigInt64(24,BI0,!0)}}}}),VkImageDrmFormatModifierListCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pDrmFormatModifiers=null,this.sType=1000158003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.drmFormatModifierCount&&(this.drmFormatModifierCount=e.drmFormatModifierCount),void 0!==e.pDrmFormatModifiers&&(this.pDrmFormatModifiers=e.pDrmFormatModifiers))},VkImageDrmFormatModifierListCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageDrmFormatModifierListCreateInfoEXT.prototype.reflect=function(e){},VkImageDrmFormatModifierListCreateInfoEXT.createCopyFrom=function(e){let t=new VkImageDrmFormatModifierListCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.drmFormatModifierCount=e.drmFormatModifierCount,null!==e.pDrmFormatModifiers&&(t.pDrmFormatModifiers=new BigUint64Array(e.pDrmFormatModifiers)),t},VkImageDrmFormatModifierListCreateInfoEXT.byteLength=32,VkImageDrmFormatModifierListCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},drmFormatModifierCount:{byteOffset:16,byteLength:4},pDrmFormatModifiers:{byteOffset:24,byteLength:8}},Object.defineProperties(VkImageDrmFormatModifierExplicitCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageDrmFormatModifierExplicitCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageDrmFormatModifierExplicitCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageDrmFormatModifierExplicitCreateInfoEXT.pNext' isn't allowed to be filled")}},drmFormatModifier:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkImageDrmFormatModifierExplicitCreateInfoEXT.drmFormatModifier"),this.memoryView.setBigUint64(16,BigInt(e),!0)}},drmFormatModifierPlaneCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageDrmFormatModifierExplicitCreateInfoEXT.drmFormatModifierPlaneCount"),this.memoryView.setUint32(24,e,!0)}},pPlaneLayouts:{get(){if(null===this._pPlaneLayouts&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.drmFormatModifierPlaneCount,VkSubresourceLayout);return this._pPlaneLayouts=e,this.pPlaneLayouts}return this._pPlaneLayouts},set(e){if(null!==e&&e.constructor===Array)this._pPlaneLayouts=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkImageDrmFormatModifierExplicitCreateInfoEXT.pPlaneLayouts': Expected 'Array VkSubresourceLayout' but got '"+typeToString(e)+"'");this._pPlaneLayouts=null}}}}),VkImageDrmFormatModifierExplicitCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pPlaneLayouts=null,this._pPlaneLayoutsNative=null,this.sType=1000158004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.drmFormatModifier&&(this.drmFormatModifier=e.drmFormatModifier),void 0!==e.drmFormatModifierPlaneCount&&(this.drmFormatModifierPlaneCount=e.drmFormatModifierPlaneCount),void 0!==e.pPlaneLayouts&&(this.pPlaneLayouts=e.pPlaneLayouts))},VkImageDrmFormatModifierExplicitCreateInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pPlaneLayouts){let e=this._pPlaneLayouts;if(e.length!==this.drmFormatModifierPlaneCount)throw new RangeError("Invalid array length, expected length of 'drmFormatModifierPlaneCount' for 'VkImageDrmFormatModifierExplicitCreateInfoEXT.pPlaneLayouts'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPlaneLayoutsNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pPlaneLayoutsNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkImageDrmFormatModifierExplicitCreateInfoEXT.prototype.reflect=function(e){},VkImageDrmFormatModifierExplicitCreateInfoEXT.createCopyFrom=function(e){let t=new VkImageDrmFormatModifierExplicitCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.drmFormatModifier=e.drmFormatModifier,t.drmFormatModifierPlaneCount=e.drmFormatModifierPlaneCount,null!==e.pPlaneLayouts&&(t.pPlaneLayouts=[...Array(e.pPlaneLayouts.length)].map((t,r)=>e.pPlaneLayouts[r].constructor.createCopyFrom(e.pPlaneLayouts[r]))),t},VkImageDrmFormatModifierExplicitCreateInfoEXT.byteLength=40,VkImageDrmFormatModifierExplicitCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},drmFormatModifier:{byteOffset:16,byteLength:8},drmFormatModifierPlaneCount:{byteOffset:24,byteLength:4},pPlaneLayouts:{byteOffset:32,byteLength:8}},Object.defineProperties(VkImageDrmFormatModifierPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageDrmFormatModifierPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageDrmFormatModifierPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageDrmFormatModifierPropertiesEXT.pNext' isn't allowed to be filled")}},drmFormatModifier:{get(){return this.memoryView.getBigUint64(16,!0)}}}),VkImageDrmFormatModifierPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000158005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkImageDrmFormatModifierPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageDrmFormatModifierPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkImageDrmFormatModifierPropertiesEXT.createCopyFrom=function(e){let t=new VkImageDrmFormatModifierPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.drmFormatModifier=e.drmFormatModifier,t},VkImageDrmFormatModifierPropertiesEXT.byteLength=24,VkImageDrmFormatModifierPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},drmFormatModifier:{byteOffset:16,byteLength:8}},Object.defineProperties(VkImageStencilUsageCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageStencilUsageCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageStencilUsageCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageStencilUsageCreateInfoEXT.pNext' isn't allowed to be filled")}},stencilUsage:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkImageStencilUsageCreateInfoEXT.stencilUsage"),this.memoryView.setInt32(16,e,!0)}}}),VkImageStencilUsageCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000246e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.stencilUsage&&(this.stencilUsage=e.stencilUsage))},VkImageStencilUsageCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageStencilUsageCreateInfoEXT.prototype.reflect=function(e){},VkImageStencilUsageCreateInfoEXT.createCopyFrom=function(e){let t=new VkImageStencilUsageCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.stencilUsage=e.stencilUsage,t},VkImageStencilUsageCreateInfoEXT.byteLength=24,VkImageStencilUsageCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},stencilUsage:{byteOffset:16,byteLength:4}},Object.defineProperties(VkDeviceMemoryOverallocationCreateInfoAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceMemoryOverallocationCreateInfoAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkDeviceMemoryOverallocationCreateInfoAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkDeviceMemoryOverallocationCreateInfoAMD.pNext' isn't allowed to be filled")}},overallocationBehavior:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkDeviceMemoryOverallocationCreateInfoAMD.overallocationBehavior"),!$VAL_R_VkMemoryOverallocationBehaviorAMD(e))throw new RangeError("Invalid value for 'VkDeviceMemoryOverallocationCreateInfoAMD.overallocationBehavior': '"+e+"' is not a value of 'VkMemoryOverallocationBehaviorAMD'");this.memoryView.setInt32(16,e,!0)}}}),VkDeviceMemoryOverallocationCreateInfoAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000189e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.overallocationBehavior&&(this.overallocationBehavior=e.overallocationBehavior))},VkDeviceMemoryOverallocationCreateInfoAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkDeviceMemoryOverallocationCreateInfoAMD.prototype.reflect=function(e){},VkDeviceMemoryOverallocationCreateInfoAMD.createCopyFrom=function(e){let t=new VkDeviceMemoryOverallocationCreateInfoAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.overallocationBehavior=e.overallocationBehavior,t},VkDeviceMemoryOverallocationCreateInfoAMD.byteLength=24,VkDeviceMemoryOverallocationCreateInfoAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},overallocationBehavior:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFragmentDensityMapFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFragmentDensityMapFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFragmentDensityMapFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceFragmentDensityMapFeaturesEXT.pNext' isn't allowed to be filled")}},fragmentDensityMap:{get(){return 0!==this.memoryView.getUint32(16,!0)}},fragmentDensityMapDynamic:{get(){return 0!==this.memoryView.getUint32(20,!0)}},fragmentDensityMapNonSubsampledImages:{get(){return 0!==this.memoryView.getUint32(24,!0)}}}),VkPhysicalDeviceFragmentDensityMapFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000218e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceFragmentDensityMapFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceFragmentDensityMapFeaturesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceFragmentDensityMapFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceFragmentDensityMapFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.fragmentDensityMap=e.fragmentDensityMap,t.fragmentDensityMapDynamic=e.fragmentDensityMapDynamic,t.fragmentDensityMapNonSubsampledImages=e.fragmentDensityMapNonSubsampledImages,t},VkPhysicalDeviceFragmentDensityMapFeaturesEXT.byteLength=32,VkPhysicalDeviceFragmentDensityMapFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fragmentDensityMap:{byteOffset:16,byteLength:4},fragmentDensityMapDynamic:{byteOffset:20,byteLength:4},fragmentDensityMapNonSubsampledImages:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFragmentDensityMapPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFragmentDensityMapPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFragmentDensityMapPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceFragmentDensityMapPropertiesEXT.pNext' isn't allowed to be filled")}},minFragmentDensityTexelSize:{get(){return this._minFragmentDensityTexelSize}},maxFragmentDensityTexelSize:{get(){return this._maxFragmentDensityTexelSize}},fragmentDensityInvocations:{get(){return 0!==this.memoryView.getUint32(32,!0)}}}),VkPhysicalDeviceFragmentDensityMapPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,null!==this._minFragmentDensityTexelSize&&(this.memoryBuffer!==this._minFragmentDensityTexelSize.memoryBuffer?this._minFragmentDensityTexelSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._minFragmentDensityTexelSize.reset()),null!==this._maxFragmentDensityTexelSize&&(this.memoryBuffer!==this._maxFragmentDensityTexelSize.memoryBuffer?this._maxFragmentDensityTexelSize=new VkExtent2D({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+24}):this._maxFragmentDensityTexelSize.reset()),this.sType=1000218001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceFragmentDensityMapPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceFragmentDensityMapPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(40)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,40),0)},VkPhysicalDeviceFragmentDensityMapPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceFragmentDensityMapPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.minFragmentDensityTexelSize&&(t.minFragmentDensityTexelSize=e.minFragmentDensityTexelSize.constructor.createCopyFrom(e.minFragmentDensityTexelSize)),null!==e.maxFragmentDensityTexelSize&&(t.maxFragmentDensityTexelSize=e.maxFragmentDensityTexelSize.constructor.createCopyFrom(e.maxFragmentDensityTexelSize)),t.fragmentDensityInvocations=e.fragmentDensityInvocations,t},VkPhysicalDeviceFragmentDensityMapPropertiesEXT.byteLength=40,VkPhysicalDeviceFragmentDensityMapPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},minFragmentDensityTexelSize:{byteOffset:16,byteLength:8},maxFragmentDensityTexelSize:{byteOffset:24,byteLength:8},fragmentDensityInvocations:{byteOffset:32,byteLength:4}},Object.defineProperties(VkRenderPassFragmentDensityMapCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassFragmentDensityMapCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassFragmentDensityMapCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassFragmentDensityMapCreateInfoEXT.pNext' isn't allowed to be filled")}},fragmentDensityMapAttachment:{get(){return this._fragmentDensityMapAttachment},set(e){if(null!==e&&e.constructor===VkAttachmentReference)e.flush(),this._fragmentDensityMapAttachment=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassFragmentDensityMapCreateInfoEXT.fragmentDensityMapAttachment': Expected 'VkAttachmentReference' but got '"+typeToString(e)+"'");this._fragmentDensityMapAttachment=null}}}}),VkRenderPassFragmentDensityMapCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,null!==this._fragmentDensityMapAttachment&&(this.memoryBuffer!==this._fragmentDensityMapAttachment.memoryBuffer?this._fragmentDensityMapAttachment=new VkAttachmentReference({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+16}):this._fragmentDensityMapAttachment.reset()),this.sType=1000218002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fragmentDensityMapAttachment&&(this.fragmentDensityMapAttachment=e.fragmentDensityMapAttachment))},VkRenderPassFragmentDensityMapCreateInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._fragmentDensityMapAttachment){let e=this._fragmentDensityMapAttachment;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,16),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkRenderPassFragmentDensityMapCreateInfoEXT.fragmentDensityMapAttachment' isn't used as shared-memory")}}return!0},VkRenderPassFragmentDensityMapCreateInfoEXT.prototype.reflect=function(e){},VkRenderPassFragmentDensityMapCreateInfoEXT.createCopyFrom=function(e){let t=new VkRenderPassFragmentDensityMapCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.fragmentDensityMapAttachment&&(t.fragmentDensityMapAttachment=e.fragmentDensityMapAttachment.constructor.createCopyFrom(e.fragmentDensityMapAttachment)),t},VkRenderPassFragmentDensityMapCreateInfoEXT.byteLength=24,VkRenderPassFragmentDensityMapCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fragmentDensityMapAttachment:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.pNext' isn't allowed to be filled")}},scalarBlockLayout:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000221e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.scalarBlockLayout&&(this.scalarBlockLayout=e.scalarBlockLayout))},VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceScalarBlockLayoutFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.scalarBlockLayout=e.scalarBlockLayout,t},VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.byteLength=24,VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},scalarBlockLayout:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSurfaceProtectedCapabilitiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceProtectedCapabilitiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceProtectedCapabilitiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSurfaceProtectedCapabilitiesKHR.pNext' isn't allowed to be filled")}},supportsProtected:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkSurfaceProtectedCapabilitiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000239e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.supportsProtected&&(this.supportsProtected=e.supportsProtected))},VkSurfaceProtectedCapabilitiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceProtectedCapabilitiesKHR.prototype.reflect=function(e){},VkSurfaceProtectedCapabilitiesKHR.createCopyFrom=function(e){let t=new VkSurfaceProtectedCapabilitiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.supportsProtected=e.supportsProtected,t},VkSurfaceProtectedCapabilitiesKHR.byteLength=24,VkSurfaceProtectedCapabilitiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},supportsProtected:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.pNext' isn't allowed to be filled")}},uniformBufferStandardLayout:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000253e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.uniformBufferStandardLayout&&(this.uniformBufferStandardLayout=e.uniformBufferStandardLayout))},VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.uniformBufferStandardLayout=e.uniformBufferStandardLayout,t},VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.byteLength=24,VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},uniformBufferStandardLayout:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceDepthClipEnableFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceDepthClipEnableFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceDepthClipEnableFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceDepthClipEnableFeaturesEXT.pNext' isn't allowed to be filled")}},depthClipEnable:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceDepthClipEnableFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000102e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.depthClipEnable&&(this.depthClipEnable=e.depthClipEnable))},VkPhysicalDeviceDepthClipEnableFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceDepthClipEnableFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceDepthClipEnableFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceDepthClipEnableFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.depthClipEnable=e.depthClipEnable,t},VkPhysicalDeviceDepthClipEnableFeaturesEXT.byteLength=24,VkPhysicalDeviceDepthClipEnableFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},depthClipEnable:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineRasterizationDepthClipStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationDepthClipStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationDepthClipStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineRasterizationDepthClipStateCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationDepthClipStateCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}},depthClipEnable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPipelineRasterizationDepthClipStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000102001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.depthClipEnable&&(this.depthClipEnable=e.depthClipEnable))},VkPipelineRasterizationDepthClipStateCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineRasterizationDepthClipStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineRasterizationDepthClipStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineRasterizationDepthClipStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.depthClipEnable=e.depthClipEnable,t},VkPipelineRasterizationDepthClipStateCreateInfoEXT.byteLength=24,VkPipelineRasterizationDepthClipStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},depthClipEnable:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceMemoryBudgetPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMemoryBudgetPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMemoryBudgetPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMemoryBudgetPropertiesEXT.pNext' isn't allowed to be filled")}},heapBudget:{get(){return[this.memoryView.getBigUint64(16,!0),this.memoryView.getBigUint64(24,!0),this.memoryView.getBigUint64(32,!0),this.memoryView.getBigUint64(40,!0),this.memoryView.getBigUint64(48,!0),this.memoryView.getBigUint64(56,!0),this.memoryView.getBigUint64(64,!0),this.memoryView.getBigUint64(72,!0),this.memoryView.getBigUint64(80,!0),this.memoryView.getBigUint64(88,!0),this.memoryView.getBigUint64(96,!0),this.memoryView.getBigUint64(104,!0),this.memoryView.getBigUint64(112,!0),this.memoryView.getBigUint64(120,!0),this.memoryView.getBigUint64(128,!0),this.memoryView.getBigUint64(136,!0)]}},heapUsage:{get(){return[this.memoryView.getBigUint64(144,!0),this.memoryView.getBigUint64(152,!0),this.memoryView.getBigUint64(160,!0),this.memoryView.getBigUint64(168,!0),this.memoryView.getBigUint64(176,!0),this.memoryView.getBigUint64(184,!0),this.memoryView.getBigUint64(192,!0),this.memoryView.getBigUint64(200,!0),this.memoryView.getBigUint64(208,!0),this.memoryView.getBigUint64(216,!0),this.memoryView.getBigUint64(224,!0),this.memoryView.getBigUint64(232,!0),this.memoryView.getBigUint64(240,!0),this.memoryView.getBigUint64(248,!0),this.memoryView.getBigUint64(256,!0),this.memoryView.getBigUint64(264,!0)]}}}),VkPhysicalDeviceMemoryBudgetPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,272)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x110"],0),this._pNext=null,null!==this._heapBudget?this._heapBudget.fill(0):this._heapBudget=[...Array(16)].fill(0),null!==this._heapUsage?this._heapUsage.fill(0):this._heapUsage=[...Array(16)].fill(0),this.sType=1000237e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceMemoryBudgetPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMemoryBudgetPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(272)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,272),0)},VkPhysicalDeviceMemoryBudgetPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceMemoryBudgetPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.heapBudget&&(t.heapBudget=[...Array(e.heapBudget.length)].map((t,r)=>e.heapBudget[r])),null!==e.heapUsage&&(t.heapUsage=[...Array(e.heapUsage.length)].map((t,r)=>e.heapUsage[r])),t},VkPhysicalDeviceMemoryBudgetPropertiesEXT.byteLength=272,VkPhysicalDeviceMemoryBudgetPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},heapBudget:{byteOffset:16,byteLength:128},heapUsage:{byteOffset:144,byteLength:128}},Object.defineProperties(VkPhysicalDeviceMemoryPriorityFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceMemoryPriorityFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceMemoryPriorityFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceMemoryPriorityFeaturesEXT.pNext' isn't allowed to be filled")}},memoryPriority:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceMemoryPriorityFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000238e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.memoryPriority&&(this.memoryPriority=e.memoryPriority))},VkPhysicalDeviceMemoryPriorityFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceMemoryPriorityFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceMemoryPriorityFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceMemoryPriorityFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.memoryPriority=e.memoryPriority,t},VkPhysicalDeviceMemoryPriorityFeaturesEXT.byteLength=24,VkPhysicalDeviceMemoryPriorityFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},memoryPriority:{byteOffset:16,byteLength:4}},Object.defineProperties(VkMemoryPriorityAllocateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkMemoryPriorityAllocateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkMemoryPriorityAllocateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkMemoryPriorityAllocateInfoEXT.pNext' isn't allowed to be filled")}},priority:{get(){return this.memoryView.getFloat32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkMemoryPriorityAllocateInfoEXT.priority"),this.memoryView.setFloat32(16,e,!0)}}}),VkMemoryPriorityAllocateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000238001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.priority&&(this.priority=e.priority))},VkMemoryPriorityAllocateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkMemoryPriorityAllocateInfoEXT.prototype.reflect=function(e){},VkMemoryPriorityAllocateInfoEXT.createCopyFrom=function(e){let t=new VkMemoryPriorityAllocateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.priority=e.priority,t},VkMemoryPriorityAllocateInfoEXT.byteLength=24,VkMemoryPriorityAllocateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},priority:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.pNext' isn't allowed to be filled")}},bufferDeviceAddress:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},bufferDeviceAddressCaptureReplay:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},bufferDeviceAddressMultiDevice:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000244e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.bufferDeviceAddress&&(this.bufferDeviceAddress=e.bufferDeviceAddress),void 0!==e.bufferDeviceAddressCaptureReplay&&(this.bufferDeviceAddressCaptureReplay=e.bufferDeviceAddressCaptureReplay),void 0!==e.bufferDeviceAddressMultiDevice&&(this.bufferDeviceAddressMultiDevice=e.bufferDeviceAddressMultiDevice))},VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceBufferDeviceAddressFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.bufferDeviceAddress=e.bufferDeviceAddress,t.bufferDeviceAddressCaptureReplay=e.bufferDeviceAddressCaptureReplay,t.bufferDeviceAddressMultiDevice=e.bufferDeviceAddressMultiDevice,t},VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.byteLength=32,VkPhysicalDeviceBufferDeviceAddressFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},bufferDeviceAddress:{byteOffset:16,byteLength:4},bufferDeviceAddressCaptureReplay:{byteOffset:20,byteLength:4},bufferDeviceAddressMultiDevice:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDeviceBufferAddressFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceBufferAddressFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceBufferAddressFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceBufferAddressFeaturesEXT.pNext' isn't allowed to be filled")}},bufferDeviceAddress:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},bufferDeviceAddressCaptureReplay:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},bufferDeviceAddressMultiDevice:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDeviceBufferAddressFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000244e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.bufferDeviceAddress&&(this.bufferDeviceAddress=e.bufferDeviceAddress),void 0!==e.bufferDeviceAddressCaptureReplay&&(this.bufferDeviceAddressCaptureReplay=e.bufferDeviceAddressCaptureReplay),void 0!==e.bufferDeviceAddressMultiDevice&&(this.bufferDeviceAddressMultiDevice=e.bufferDeviceAddressMultiDevice))},VkPhysicalDeviceBufferAddressFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceBufferAddressFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceBufferAddressFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceBufferAddressFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.bufferDeviceAddress=e.bufferDeviceAddress,t.bufferDeviceAddressCaptureReplay=e.bufferDeviceAddressCaptureReplay,t.bufferDeviceAddressMultiDevice=e.bufferDeviceAddressMultiDevice,t},VkPhysicalDeviceBufferAddressFeaturesEXT.byteLength=32,VkPhysicalDeviceBufferAddressFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},bufferDeviceAddress:{byteOffset:16,byteLength:4},bufferDeviceAddressCaptureReplay:{byteOffset:20,byteLength:4},bufferDeviceAddressMultiDevice:{byteOffset:24,byteLength:4}},Object.defineProperties(VkBufferDeviceAddressInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferDeviceAddressInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferDeviceAddressInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBufferDeviceAddressInfoEXT.pNext' isn't allowed to be filled")}},buffer:{get(){return this._buffer},set(e){if(null!==e&&e.constructor===VkBuffer)this._buffer=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkBufferDeviceAddressInfoEXT.buffer': Expected 'VkBuffer' but got '"+typeToString(e)+"'");this._buffer=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkBufferDeviceAddressInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._buffer=null,this.sType=1000244001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.buffer&&(this.buffer=e.buffer))},VkBufferDeviceAddressInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferDeviceAddressInfoEXT.prototype.reflect=function(e){},VkBufferDeviceAddressInfoEXT.createCopyFrom=function(e){let t=new VkBufferDeviceAddressInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.buffer&&(t.buffer=e.buffer.constructor.createCopyFrom(e.buffer)),t},VkBufferDeviceAddressInfoEXT.byteLength=24,VkBufferDeviceAddressInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},buffer:{byteOffset:16,byteLength:8}},Object.defineProperties(VkBufferDeviceAddressCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkBufferDeviceAddressCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkBufferDeviceAddressCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkBufferDeviceAddressCreateInfoEXT.pNext' isn't allowed to be filled")}},deviceAddress:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkBufferDeviceAddressCreateInfoEXT.deviceAddress"),this.memoryView.setBigUint64(16,BigInt(e),!0)}}}),VkBufferDeviceAddressCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000244002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceAddress&&(this.deviceAddress=e.deviceAddress))},VkBufferDeviceAddressCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkBufferDeviceAddressCreateInfoEXT.prototype.reflect=function(e){},VkBufferDeviceAddressCreateInfoEXT.createCopyFrom=function(e){let t=new VkBufferDeviceAddressCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceAddress=e.deviceAddress,t},VkBufferDeviceAddressCreateInfoEXT.byteLength=24,VkBufferDeviceAddressCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceAddress:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPhysicalDeviceImageViewImageFormatInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageViewImageFormatInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageViewImageFormatInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceImageViewImageFormatInfoEXT.pNext' isn't allowed to be filled")}},imageViewType:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImageViewImageFormatInfoEXT.imageViewType"),!$VAL_R_VkImageViewType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImageViewImageFormatInfoEXT.imageViewType': '"+e+"' is not a value of 'VkImageViewType'");this.memoryView.setInt32(16,e,!0)}}}),VkPhysicalDeviceImageViewImageFormatInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100017e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imageViewType&&(this.imageViewType=e.imageViewType))},VkPhysicalDeviceImageViewImageFormatInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceImageViewImageFormatInfoEXT.prototype.reflect=function(e){},VkPhysicalDeviceImageViewImageFormatInfoEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceImageViewImageFormatInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.imageViewType=e.imageViewType,t},VkPhysicalDeviceImageViewImageFormatInfoEXT.byteLength=24,VkPhysicalDeviceImageViewImageFormatInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},imageViewType:{byteOffset:16,byteLength:4}},Object.defineProperties(VkFilterCubicImageViewImageFormatPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFilterCubicImageViewImageFormatPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFilterCubicImageViewImageFormatPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkFilterCubicImageViewImageFormatPropertiesEXT.pNext' isn't allowed to be filled")}},filterCubic:{get(){return 0!==this.memoryView.getUint32(16,!0)}},filterCubicMinmax:{get(){return 0!==this.memoryView.getUint32(20,!0)}}}),VkFilterCubicImageViewImageFormatPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000170001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkFilterCubicImageViewImageFormatPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFilterCubicImageViewImageFormatPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkFilterCubicImageViewImageFormatPropertiesEXT.createCopyFrom=function(e){let t=new VkFilterCubicImageViewImageFormatPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.filterCubic=e.filterCubic,t.filterCubicMinmax=e.filterCubicMinmax,t},VkFilterCubicImageViewImageFormatPropertiesEXT.byteLength=24,VkFilterCubicImageViewImageFormatPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},filterCubic:{byteOffset:16,byteLength:4},filterCubicMinmax:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceImagelessFramebufferFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceImagelessFramebufferFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceImagelessFramebufferFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceImagelessFramebufferFeaturesKHR.pNext' isn't allowed to be filled")}},imagelessFramebuffer:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceImagelessFramebufferFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000108e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imagelessFramebuffer&&(this.imagelessFramebuffer=e.imagelessFramebuffer))},VkPhysicalDeviceImagelessFramebufferFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceImagelessFramebufferFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceImagelessFramebufferFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceImagelessFramebufferFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.imagelessFramebuffer=e.imagelessFramebuffer,t},VkPhysicalDeviceImagelessFramebufferFeaturesKHR.byteLength=24,VkPhysicalDeviceImagelessFramebufferFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},imagelessFramebuffer:{byteOffset:16,byteLength:4}},Object.defineProperties(VkFramebufferAttachmentsCreateInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentsCreateInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFramebufferAttachmentsCreateInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkFramebufferAttachmentsCreateInfoKHR.pNext' isn't allowed to be filled")}},attachmentImageInfoCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentsCreateInfoKHR.attachmentImageInfoCount"),this.memoryView.setUint32(16,e,!0)}},pAttachmentImageInfos:{get(){if(null===this._pAttachmentImageInfos&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.attachmentImageInfoCount,VkFramebufferAttachmentImageInfoKHR);return this._pAttachmentImageInfos=e,this.pAttachmentImageInfos}return this._pAttachmentImageInfos},set(e){if(null!==e&&e.constructor===Array)this._pAttachmentImageInfos=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkFramebufferAttachmentsCreateInfoKHR.pAttachmentImageInfos': Expected 'Array VkFramebufferAttachmentImageInfoKHR' but got '"+typeToString(e)+"'");this._pAttachmentImageInfos=null}}}}),VkFramebufferAttachmentsCreateInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pAttachmentImageInfos=null,this._pAttachmentImageInfosNative=null,this.sType=1000108001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachmentImageInfoCount&&(this.attachmentImageInfoCount=e.attachmentImageInfoCount),void 0!==e.pAttachmentImageInfos&&(this.pAttachmentImageInfos=e.pAttachmentImageInfos))},VkFramebufferAttachmentsCreateInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachmentImageInfos){let e=this._pAttachmentImageInfos;if(e.length!==this.attachmentImageInfoCount)throw new RangeError("Invalid array length, expected length of 'attachmentImageInfoCount' for 'VkFramebufferAttachmentsCreateInfoKHR.pAttachmentImageInfos'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentImageInfosNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAttachmentImageInfosNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkFramebufferAttachmentsCreateInfoKHR.prototype.reflect=function(e){},VkFramebufferAttachmentsCreateInfoKHR.createCopyFrom=function(e){let t=new VkFramebufferAttachmentsCreateInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.attachmentImageInfoCount=e.attachmentImageInfoCount,null!==e.pAttachmentImageInfos&&(t.pAttachmentImageInfos=[...Array(e.pAttachmentImageInfos.length)].map((t,r)=>e.pAttachmentImageInfos[r].constructor.createCopyFrom(e.pAttachmentImageInfos[r]))),t},VkFramebufferAttachmentsCreateInfoKHR.byteLength=32,VkFramebufferAttachmentsCreateInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},attachmentImageInfoCount:{byteOffset:16,byteLength:4},pAttachmentImageInfos:{byteOffset:24,byteLength:8}},Object.defineProperties(VkFramebufferAttachmentImageInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFramebufferAttachmentImageInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkFramebufferAttachmentImageInfoKHR.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.flags"),this.memoryView.setInt32(16,e,!0)}},usage:{get(){return this.memoryView.getInt32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.usage"),this.memoryView.setInt32(20,e,!0)}},width:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.width"),this.memoryView.setUint32(24,e,!0)}},height:{get(){return this.memoryView.getUint32(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.height"),this.memoryView.setUint32(28,e,!0)}},layerCount:{get(){return this.memoryView.getUint32(32,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.layerCount"),this.memoryView.setUint32(32,e,!0)}},viewFormatCount:{get(){return this.memoryView.getUint32(36,!0)},set(e){ASSERT_IS_NUMBER(e,"VkFramebufferAttachmentImageInfoKHR.viewFormatCount"),this.memoryView.setUint32(36,e,!0)}},pViewFormats:{get(){return this._pViewFormats},set(e){if(null!==e&&e.constructor===Int32Array)this._pViewFormats=e,this.memoryView.setBigInt64(40,getAddressFromArrayBuffer(e.buffer),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkFramebufferAttachmentImageInfoKHR.pViewFormats': Expected 'Int32Array' but got '"+typeToString(e)+"'");this._pViewFormats=null,this.memoryView.setBigInt64(40,BI0,!0)}}}}),VkFramebufferAttachmentImageInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this._pViewFormats=null,this.sType=1000108002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.usage&&(this.usage=e.usage),void 0!==e.width&&(this.width=e.width),void 0!==e.height&&(this.height=e.height),void 0!==e.layerCount&&(this.layerCount=e.layerCount),void 0!==e.viewFormatCount&&(this.viewFormatCount=e.viewFormatCount),void 0!==e.pViewFormats&&(this.pViewFormats=e.pViewFormats))},VkFramebufferAttachmentImageInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFramebufferAttachmentImageInfoKHR.prototype.reflect=function(e){},VkFramebufferAttachmentImageInfoKHR.createCopyFrom=function(e){let t=new VkFramebufferAttachmentImageInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.usage=e.usage,t.width=e.width,t.height=e.height,t.layerCount=e.layerCount,t.viewFormatCount=e.viewFormatCount,null!==e.pViewFormats&&(t.pViewFormats=new Int32Array(e.pViewFormats)),t},VkFramebufferAttachmentImageInfoKHR.byteLength=48,VkFramebufferAttachmentImageInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},usage:{byteOffset:20,byteLength:4},width:{byteOffset:24,byteLength:4},height:{byteOffset:28,byteLength:4},layerCount:{byteOffset:32,byteLength:4},viewFormatCount:{byteOffset:36,byteLength:4},pViewFormats:{byteOffset:40,byteLength:8}},Object.defineProperties(VkRenderPassAttachmentBeginInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkRenderPassAttachmentBeginInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkRenderPassAttachmentBeginInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkRenderPassAttachmentBeginInfoKHR.pNext' isn't allowed to be filled")}},attachmentCount:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkRenderPassAttachmentBeginInfoKHR.attachmentCount"),this.memoryView.setUint32(16,e,!0)}},pAttachments:{get(){if(null===this._pAttachments&&this.memoryView.getBigInt64(24,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(24,!0),this.attachmentCount,VkImageView);return this._pAttachments=e,this.pAttachments}return this._pAttachments},set(e){if(null!==e&&e.constructor===Array)this._pAttachments=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkRenderPassAttachmentBeginInfoKHR.pAttachments': Expected 'Array VkImageView' but got '"+typeToString(e)+"'");this._pAttachments=null}}}}),VkRenderPassAttachmentBeginInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pAttachments=null,this._pAttachmentsNative=null,this.sType=1000108003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.attachmentCount&&(this.attachmentCount=e.attachmentCount),void 0!==e.pAttachments&&(this.pAttachments=e.pAttachments))},VkRenderPassAttachmentBeginInfoKHR.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pAttachments){let e=this._pAttachments;if(e.length!==this.attachmentCount)throw new RangeError("Invalid array length, expected length of 'attachmentCount' for 'VkRenderPassAttachmentBeginInfoKHR.pAttachments'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pAttachmentsNative=t,this.memoryView.setBigInt64(24,t.address,!0)}else this._pAttachmentsNative=null,this.memoryView.setBigInt64(24,BI0,!0)}return!0},VkRenderPassAttachmentBeginInfoKHR.prototype.reflect=function(e){},VkRenderPassAttachmentBeginInfoKHR.createCopyFrom=function(e){let t=new VkRenderPassAttachmentBeginInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.attachmentCount=e.attachmentCount,null!==e.pAttachments&&(t.pAttachments=[...Array(e.pAttachments.length)].map((t,r)=>e.pAttachments[r].constructor.createCopyFrom(e.pAttachments[r]))),t},VkRenderPassAttachmentBeginInfoKHR.byteLength=32,VkRenderPassAttachmentBeginInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},attachmentCount:{byteOffset:16,byteLength:4},pAttachments:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.pNext' isn't allowed to be filled")}},textureCompressionASTC_HDR:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000066e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.textureCompressionASTC_HDR&&(this.textureCompressionASTC_HDR=e.textureCompressionASTC_HDR))},VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.textureCompressionASTC_HDR=e.textureCompressionASTC_HDR,t},VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.byteLength=24,VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},textureCompressionASTC_HDR:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceCooperativeMatrixFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceCooperativeMatrixFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceCooperativeMatrixFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceCooperativeMatrixFeaturesNV.pNext' isn't allowed to be filled")}},cooperativeMatrix:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},cooperativeMatrixRobustBufferAccess:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceCooperativeMatrixFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000249e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.cooperativeMatrix&&(this.cooperativeMatrix=e.cooperativeMatrix),void 0!==e.cooperativeMatrixRobustBufferAccess&&(this.cooperativeMatrixRobustBufferAccess=e.cooperativeMatrixRobustBufferAccess))},VkPhysicalDeviceCooperativeMatrixFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceCooperativeMatrixFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceCooperativeMatrixFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceCooperativeMatrixFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.cooperativeMatrix=e.cooperativeMatrix,t.cooperativeMatrixRobustBufferAccess=e.cooperativeMatrixRobustBufferAccess,t},VkPhysicalDeviceCooperativeMatrixFeaturesNV.byteLength=24,VkPhysicalDeviceCooperativeMatrixFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},cooperativeMatrix:{byteOffset:16,byteLength:4},cooperativeMatrixRobustBufferAccess:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceCooperativeMatrixPropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceCooperativeMatrixPropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceCooperativeMatrixPropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceCooperativeMatrixPropertiesNV.pNext' isn't allowed to be filled")}},cooperativeMatrixSupportedStages:{get(){return this.memoryView.getInt32(16,!0)}}}),VkPhysicalDeviceCooperativeMatrixPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000249002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceCooperativeMatrixPropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceCooperativeMatrixPropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceCooperativeMatrixPropertiesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceCooperativeMatrixPropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.cooperativeMatrixSupportedStages=e.cooperativeMatrixSupportedStages,t},VkPhysicalDeviceCooperativeMatrixPropertiesNV.byteLength=24,VkPhysicalDeviceCooperativeMatrixPropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},cooperativeMatrixSupportedStages:{byteOffset:16,byteLength:4}},Object.defineProperties(VkCooperativeMatrixPropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkCooperativeMatrixPropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkCooperativeMatrixPropertiesNV.pNext' isn't allowed to be filled")}},MSize:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.MSize"),this.memoryView.setUint32(16,e,!0)}},NSize:{get(){return this.memoryView.getUint32(20,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.NSize"),this.memoryView.setUint32(20,e,!0)}},KSize:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.KSize"),this.memoryView.setUint32(24,e,!0)}},AType:{get(){return this.memoryView.getInt32(28,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.AType"),!$VAL_R_VkComponentTypeNV(e))throw new RangeError("Invalid value for 'VkCooperativeMatrixPropertiesNV.AType': '"+e+"' is not a value of 'VkComponentTypeNV'");this.memoryView.setInt32(28,e,!0)}},BType:{get(){return this.memoryView.getInt32(32,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.BType"),!$VAL_R_VkComponentTypeNV(e))throw new RangeError("Invalid value for 'VkCooperativeMatrixPropertiesNV.BType': '"+e+"' is not a value of 'VkComponentTypeNV'");this.memoryView.setInt32(32,e,!0)}},CType:{get(){return this.memoryView.getInt32(36,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.CType"),!$VAL_R_VkComponentTypeNV(e))throw new RangeError("Invalid value for 'VkCooperativeMatrixPropertiesNV.CType': '"+e+"' is not a value of 'VkComponentTypeNV'");this.memoryView.setInt32(36,e,!0)}},DType:{get(){return this.memoryView.getInt32(40,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.DType"),!$VAL_R_VkComponentTypeNV(e))throw new RangeError("Invalid value for 'VkCooperativeMatrixPropertiesNV.DType': '"+e+"' is not a value of 'VkComponentTypeNV'");this.memoryView.setInt32(40,e,!0)}},scope:{get(){return this.memoryView.getInt32(44,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkCooperativeMatrixPropertiesNV.scope"),!$VAL_R_VkScopeNV(e))throw new RangeError("Invalid value for 'VkCooperativeMatrixPropertiesNV.scope': '"+e+"' is not a value of 'VkScopeNV'");this.memoryView.setInt32(44,e,!0)}}}),VkCooperativeMatrixPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this.sType=1000249001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.MSize&&(this.MSize=e.MSize),void 0!==e.NSize&&(this.NSize=e.NSize),void 0!==e.KSize&&(this.KSize=e.KSize),void 0!==e.AType&&(this.AType=e.AType),void 0!==e.BType&&(this.BType=e.BType),void 0!==e.CType&&(this.CType=e.CType),void 0!==e.DType&&(this.DType=e.DType),void 0!==e.scope&&(this.scope=e.scope))},VkCooperativeMatrixPropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkCooperativeMatrixPropertiesNV.prototype.reflect=function(e){},VkCooperativeMatrixPropertiesNV.createCopyFrom=function(e){let t=new VkCooperativeMatrixPropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.MSize=e.MSize,t.NSize=e.NSize,t.KSize=e.KSize,t.AType=e.AType,t.BType=e.BType,t.CType=e.CType,t.DType=e.DType,t.scope=e.scope,t},VkCooperativeMatrixPropertiesNV.byteLength=48,VkCooperativeMatrixPropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},MSize:{byteOffset:16,byteLength:4},NSize:{byteOffset:20,byteLength:4},KSize:{byteOffset:24,byteLength:4},AType:{byteOffset:28,byteLength:4},BType:{byteOffset:32,byteLength:4},CType:{byteOffset:36,byteLength:4},DType:{byteOffset:40,byteLength:4},scope:{byteOffset:44,byteLength:4}},Object.defineProperties(VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.pNext' isn't allowed to be filled")}},ycbcrImageArrays:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000252e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.ycbcrImageArrays&&(this.ycbcrImageArrays=e.ycbcrImageArrays))},VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceYcbcrImageArraysFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.ycbcrImageArrays=e.ycbcrImageArrays,t},VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.byteLength=24,VkPhysicalDeviceYcbcrImageArraysFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},ycbcrImageArrays:{byteOffset:16,byteLength:4}},Object.defineProperties(VkImageViewHandleInfoNVX.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewHandleInfoNVX.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkImageViewHandleInfoNVX.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkImageViewHandleInfoNVX.pNext' isn't allowed to be filled")}},imageView:{get(){return this._imageView},set(e){if(null!==e&&e.constructor===VkImageView)this._imageView=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageViewHandleInfoNVX.imageView': Expected 'VkImageView' but got '"+typeToString(e)+"'");this._imageView=null,this.memoryView.setBigInt64(16,BI0,!0)}}},descriptorType:{get(){return this.memoryView.getInt32(24,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkImageViewHandleInfoNVX.descriptorType"),!$VAL_R_VkDescriptorType(e))throw new RangeError("Invalid value for 'VkImageViewHandleInfoNVX.descriptorType': '"+e+"' is not a value of 'VkDescriptorType'");this.memoryView.setInt32(24,e,!0)}},sampler:{get(){return this._sampler},set(e){if(null!==e&&e.constructor===VkSampler)this._sampler=e,this.memoryView.setBigInt64(32,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkImageViewHandleInfoNVX.sampler': Expected 'VkSampler' but got '"+typeToString(e)+"'");this._sampler=null,this.memoryView.setBigInt64(32,BI0,!0)}}}}),VkImageViewHandleInfoNVX.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._imageView=null,this._sampler=null,this.sType=100003e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.imageView&&(this.imageView=e.imageView),void 0!==e.descriptorType&&(this.descriptorType=e.descriptorType),void 0!==e.sampler&&(this.sampler=e.sampler))},VkImageViewHandleInfoNVX.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkImageViewHandleInfoNVX.prototype.reflect=function(e){},VkImageViewHandleInfoNVX.createCopyFrom=function(e){let t=new VkImageViewHandleInfoNVX;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.imageView&&(t.imageView=e.imageView.constructor.createCopyFrom(e.imageView)),t.descriptorType=e.descriptorType,null!==e.sampler&&(t.sampler=e.sampler.constructor.createCopyFrom(e.sampler)),t},VkImageViewHandleInfoNVX.byteLength=40,VkImageViewHandleInfoNVX.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},imageView:{byteOffset:16,byteLength:8},descriptorType:{byteOffset:24,byteLength:4},sampler:{byteOffset:32,byteLength:8}},Object.defineProperties(VkPipelineCreationFeedbackEXT.prototype,{flags:{get(){return this.memoryView.getInt32(0,!0)}},duration:{get(){return this.memoryView.getBigUint64(8,!0)}}}),VkPipelineCreationFeedbackEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0)},VkPipelineCreationFeedbackEXT.prototype.flush=function(){return!0},VkPipelineCreationFeedbackEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(16)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,16),0)},VkPipelineCreationFeedbackEXT.createCopyFrom=function(e){let t=new VkPipelineCreationFeedbackEXT;return t.flags=e.flags,t.duration=e.duration,t},VkPipelineCreationFeedbackEXT.byteLength=16,VkPipelineCreationFeedbackEXT.memoryLayout={flags:{byteOffset:0,byteLength:4},duration:{byteOffset:8,byteLength:8}},Object.defineProperties(VkPipelineCreationFeedbackCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCreationFeedbackCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineCreationFeedbackCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineCreationFeedbackCreateInfoEXT.pNext' isn't allowed to be filled")}},pPipelineCreationFeedback:{get(){if(null===this._pPipelineCreationFeedback&&this.memoryView.getBigInt64(16,!0)!==BI0){let e=this.memoryView.getBigInt64(16,!0),t=getArrayBufferFromAddress(e,BigInt(VkPipelineCreationFeedbackEXT.byteLength));return this._pPipelineCreationFeedback=new VkPipelineCreationFeedbackEXT({$memoryBuffer:t,$memoryOffset:0}),this.memoryView.setBigInt64(16,this._pPipelineCreationFeedback.memoryAddress,!0),this.pPipelineCreationFeedback}return this._pPipelineCreationFeedback},set(e){if(null!==e&&e.constructor===VkPipelineCreationFeedbackEXT)e.flush(),this._pPipelineCreationFeedback=e,this.memoryView.setBigInt64(16,e.memoryAddress,!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineCreationFeedbackCreateInfoEXT.pPipelineCreationFeedback': Expected 'VkPipelineCreationFeedbackEXT' but got '"+typeToString(e)+"'");this._pPipelineCreationFeedback=null,this.memoryView.setBigInt64(16,BI0,!0)}}},pipelineStageCreationFeedbackCount:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCreationFeedbackCreateInfoEXT.pipelineStageCreationFeedbackCount"),this.memoryView.setUint32(24,e,!0)}},pPipelineStageCreationFeedbacks:{get(){if(null===this._pPipelineStageCreationFeedbacks&&this.memoryView.getBigInt64(32,!0)!==BI0){let e=decodeNativeArrayOfObjects(this.memoryView.getBigInt64(32,!0),this.pipelineStageCreationFeedbackCount,VkPipelineCreationFeedbackEXT);return this._pPipelineStageCreationFeedbacks=e,this.pPipelineStageCreationFeedbacks}return this._pPipelineStageCreationFeedbacks},set(e){if(null!==e&&e.constructor===Array)this._pPipelineStageCreationFeedbacks=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineCreationFeedbackCreateInfoEXT.pPipelineStageCreationFeedbacks': Expected 'Array VkPipelineCreationFeedbackEXT' but got '"+typeToString(e)+"'");this._pPipelineStageCreationFeedbacks=null}}}}),VkPipelineCreationFeedbackCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this._pPipelineCreationFeedback=null,this._pPipelineStageCreationFeedbacks=null,this._pPipelineStageCreationFeedbacksNative=null,this.sType=1000192e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pPipelineCreationFeedback&&(this.pPipelineCreationFeedback=e.pPipelineCreationFeedback),void 0!==e.pipelineStageCreationFeedbackCount&&(this.pipelineStageCreationFeedbackCount=e.pipelineStageCreationFeedbackCount),void 0!==e.pPipelineStageCreationFeedbacks&&(this.pPipelineStageCreationFeedbacks=e.pPipelineStageCreationFeedbacks))},VkPipelineCreationFeedbackCreateInfoEXT.prototype.flush=function(){if(null!==this._pNext&&!this._pNext.flush())return!1;if(null!==this._pPipelineStageCreationFeedbacks){let e=this._pPipelineStageCreationFeedbacks;if(e.length!==this.pipelineStageCreationFeedbackCount)throw new RangeError("Invalid array length, expected length of 'pipelineStageCreationFeedbackCount' for 'VkPipelineCreationFeedbackCreateInfoEXT.pPipelineStageCreationFeedbacks'");for(let t=0;t0){let t=new NativeObjectArray(e);this._pPipelineStageCreationFeedbacksNative=t,this.memoryView.setBigInt64(32,t.address,!0)}else this._pPipelineStageCreationFeedbacksNative=null,this.memoryView.setBigInt64(32,BI0,!0)}return!0},VkPipelineCreationFeedbackCreateInfoEXT.prototype.reflect=function(e){},VkPipelineCreationFeedbackCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineCreationFeedbackCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.pPipelineCreationFeedback&&(t.pPipelineCreationFeedback=e.pPipelineCreationFeedback.constructor.createCopyFrom(e.pPipelineCreationFeedback)),t.pipelineStageCreationFeedbackCount=e.pipelineStageCreationFeedbackCount,null!==e.pPipelineStageCreationFeedbacks&&(t.pPipelineStageCreationFeedbacks=[...Array(e.pPipelineStageCreationFeedbacks.length)].map((t,r)=>e.pPipelineStageCreationFeedbacks[r].constructor.createCopyFrom(e.pPipelineStageCreationFeedbacks[r]))),t},VkPipelineCreationFeedbackCreateInfoEXT.byteLength=40,VkPipelineCreationFeedbackCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pPipelineCreationFeedback:{byteOffset:16,byteLength:8},pipelineStageCreationFeedbackCount:{byteOffset:24,byteLength:4},pPipelineStageCreationFeedbacks:{byteOffset:32,byteLength:8}},Object.defineProperties(VkSurfaceFullScreenExclusiveInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceFullScreenExclusiveInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceFullScreenExclusiveInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSurfaceFullScreenExclusiveInfoEXT.pNext' isn't allowed to be filled")}},fullScreenExclusive:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceFullScreenExclusiveInfoEXT.fullScreenExclusive"),!$VAL_R_VkFullScreenExclusiveEXT(e))throw new RangeError("Invalid value for 'VkSurfaceFullScreenExclusiveInfoEXT.fullScreenExclusive': '"+e+"' is not a value of 'VkFullScreenExclusiveEXT'");this.memoryView.setInt32(16,e,!0)}}}),VkSurfaceFullScreenExclusiveInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000255e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fullScreenExclusive&&(this.fullScreenExclusive=e.fullScreenExclusive))},VkSurfaceFullScreenExclusiveInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceFullScreenExclusiveInfoEXT.prototype.reflect=function(e){},VkSurfaceFullScreenExclusiveInfoEXT.createCopyFrom=function(e){let t=new VkSurfaceFullScreenExclusiveInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.fullScreenExclusive=e.fullScreenExclusive,t},VkSurfaceFullScreenExclusiveInfoEXT.byteLength=24,VkSurfaceFullScreenExclusiveInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fullScreenExclusive:{byteOffset:16,byteLength:4}},Object.defineProperties(VkSurfaceFullScreenExclusiveWin32InfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceFullScreenExclusiveWin32InfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceFullScreenExclusiveWin32InfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSurfaceFullScreenExclusiveWin32InfoEXT.pNext' isn't allowed to be filled")}}}),VkSurfaceFullScreenExclusiveWin32InfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000255001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkSurfaceFullScreenExclusiveWin32InfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceFullScreenExclusiveWin32InfoEXT.prototype.reflect=function(e){},VkSurfaceFullScreenExclusiveWin32InfoEXT.createCopyFrom=function(e){let t=new VkSurfaceFullScreenExclusiveWin32InfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t},VkSurfaceFullScreenExclusiveWin32InfoEXT.byteLength=24,VkSurfaceFullScreenExclusiveWin32InfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8}},Object.defineProperties(VkSurfaceCapabilitiesFullScreenExclusiveEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkSurfaceCapabilitiesFullScreenExclusiveEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkSurfaceCapabilitiesFullScreenExclusiveEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkSurfaceCapabilitiesFullScreenExclusiveEXT.pNext' isn't allowed to be filled")}},fullScreenExclusiveSupported:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkSurfaceCapabilitiesFullScreenExclusiveEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000255002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fullScreenExclusiveSupported&&(this.fullScreenExclusiveSupported=e.fullScreenExclusiveSupported))},VkSurfaceCapabilitiesFullScreenExclusiveEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkSurfaceCapabilitiesFullScreenExclusiveEXT.prototype.reflect=function(e){},VkSurfaceCapabilitiesFullScreenExclusiveEXT.createCopyFrom=function(e){let t=new VkSurfaceCapabilitiesFullScreenExclusiveEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.fullScreenExclusiveSupported=e.fullScreenExclusiveSupported,t},VkSurfaceCapabilitiesFullScreenExclusiveEXT.byteLength=24,VkSurfaceCapabilitiesFullScreenExclusiveEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fullScreenExclusiveSupported:{byteOffset:16,byteLength:4}},Object.defineProperties(VkHeadlessSurfaceCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkHeadlessSurfaceCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkHeadlessSurfaceCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkHeadlessSurfaceCreateInfoEXT.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkHeadlessSurfaceCreateInfoEXT.flags"),this.memoryView.setInt32(16,e,!0)}}}),VkHeadlessSurfaceCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000256e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags))},VkHeadlessSurfaceCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkHeadlessSurfaceCreateInfoEXT.prototype.reflect=function(e){},VkHeadlessSurfaceCreateInfoEXT.createCopyFrom=function(e){let t=new VkHeadlessSurfaceCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t},VkHeadlessSurfaceCreateInfoEXT.byteLength=24,VkHeadlessSurfaceCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceCoverageReductionModeFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceCoverageReductionModeFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceCoverageReductionModeFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceCoverageReductionModeFeaturesNV.pNext' isn't allowed to be filled")}},coverageReductionMode:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceCoverageReductionModeFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100025e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.coverageReductionMode&&(this.coverageReductionMode=e.coverageReductionMode))},VkPhysicalDeviceCoverageReductionModeFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceCoverageReductionModeFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceCoverageReductionModeFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceCoverageReductionModeFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.coverageReductionMode=e.coverageReductionMode,t},VkPhysicalDeviceCoverageReductionModeFeaturesNV.byteLength=24,VkPhysicalDeviceCoverageReductionModeFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},coverageReductionMode:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineCoverageReductionStateCreateInfoNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCoverageReductionStateCreateInfoNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineCoverageReductionStateCreateInfoNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineCoverageReductionStateCreateInfoNV.pNext' isn't allowed to be filled")}},flags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCoverageReductionStateCreateInfoNV.flags"),this.memoryView.setInt32(16,e,!0)}},coverageReductionMode:{get(){return this.memoryView.getInt32(20,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCoverageReductionStateCreateInfoNV.coverageReductionMode"),!$VAL_R_VkCoverageReductionModeNV(e))throw new RangeError("Invalid value for 'VkPipelineCoverageReductionStateCreateInfoNV.coverageReductionMode': '"+e+"' is not a value of 'VkCoverageReductionModeNV'");this.memoryView.setInt32(20,e,!0)}}}),VkPipelineCoverageReductionStateCreateInfoNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000250001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.flags&&(this.flags=e.flags),void 0!==e.coverageReductionMode&&(this.coverageReductionMode=e.coverageReductionMode))},VkPipelineCoverageReductionStateCreateInfoNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineCoverageReductionStateCreateInfoNV.prototype.reflect=function(e){},VkPipelineCoverageReductionStateCreateInfoNV.createCopyFrom=function(e){let t=new VkPipelineCoverageReductionStateCreateInfoNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.flags=e.flags,t.coverageReductionMode=e.coverageReductionMode,t},VkPipelineCoverageReductionStateCreateInfoNV.byteLength=24,VkPipelineCoverageReductionStateCreateInfoNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},flags:{byteOffset:16,byteLength:4},coverageReductionMode:{byteOffset:20,byteLength:4}},Object.defineProperties(VkFramebufferMixedSamplesCombinationNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkFramebufferMixedSamplesCombinationNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkFramebufferMixedSamplesCombinationNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkFramebufferMixedSamplesCombinationNV.pNext' isn't allowed to be filled")}},coverageReductionMode:{get(){return this.memoryView.getInt32(16,!0)}},rasterizationSamples:{get(){return this.memoryView.getInt32(20,!0)}},depthStencilSamples:{get(){return this.memoryView.getInt32(24,!0)}},colorSamples:{get(){return this.memoryView.getInt32(28,!0)}}}),VkFramebufferMixedSamplesCombinationNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000250002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkFramebufferMixedSamplesCombinationNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkFramebufferMixedSamplesCombinationNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkFramebufferMixedSamplesCombinationNV.createCopyFrom=function(e){let t=new VkFramebufferMixedSamplesCombinationNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.coverageReductionMode=e.coverageReductionMode,t.rasterizationSamples=e.rasterizationSamples,t.depthStencilSamples=e.depthStencilSamples,t.colorSamples=e.colorSamples,t},VkFramebufferMixedSamplesCombinationNV.byteLength=32,VkFramebufferMixedSamplesCombinationNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},coverageReductionMode:{byteOffset:16,byteLength:4},rasterizationSamples:{byteOffset:20,byteLength:4},depthStencilSamples:{byteOffset:24,byteLength:4},colorSamples:{byteOffset:28,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.pNext' isn't allowed to be filled")}},shaderIntegerFunctions2:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000209e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderIntegerFunctions2&&(this.shaderIntegerFunctions2=e.shaderIntegerFunctions2))},VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.prototype.reflect=function(e){},VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderIntegerFunctions2=e.shaderIntegerFunctions2,t},VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.byteLength=24,VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderIntegerFunctions2:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPerformanceValueINTEL.prototype,{type:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceValueINTEL.type"),!$VAL_R_VkPerformanceValueTypeINTEL(e))throw new RangeError("Invalid value for 'VkPerformanceValueINTEL.type': '"+e+"' is not a value of 'VkPerformanceValueTypeINTEL'");this.memoryView.setInt32(0,e,!0)}},data:{get(){return this._data},set(e){if(null!==e&&e.constructor===VkPerformanceValueDataINTEL)e.flush(),this._data=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkPerformanceValueINTEL.data': Expected 'VkPerformanceValueDataINTEL' but got '"+typeToString(e)+"'");this._data=null}}}}),VkPerformanceValueINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),null!==this._data&&(this.memoryBuffer!==this._data.memoryBuffer?this._data=new VkPerformanceValueDataINTEL({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+8}):this._data.reset()),"object"==typeof e&&(void 0!==e.type&&(this.type=e.type),void 0!==e.data&&(this.data=e.data))},VkPerformanceValueINTEL.prototype.flush=function(){if(null!==this._data){let e=this._data;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,8),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkPerformanceValueINTEL.data' isn't used as shared-memory")}}return!0},VkPerformanceValueINTEL.prototype.reflect=function(e){},VkPerformanceValueINTEL.createCopyFrom=function(e){let t=new VkPerformanceValueINTEL;return t.type=e.type,null!==e.data&&(t.data=e.data.constructor.createCopyFrom(e.data)),t},VkPerformanceValueINTEL.byteLength=16,VkPerformanceValueINTEL.memoryLayout={type:{byteOffset:0,byteLength:4},data:{byteOffset:8,byteLength:8}},Object.defineProperties(VkInitializePerformanceApiInfoINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkInitializePerformanceApiInfoINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkInitializePerformanceApiInfoINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkInitializePerformanceApiInfoINTEL.pNext' isn't allowed to be filled")}},pUserData:{get(){return this._pUserData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pUserData=e,this.memoryView.setBigInt64(16,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkInitializePerformanceApiInfoINTEL.pUserData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pUserData=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkInitializePerformanceApiInfoINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._pUserData=null,this.sType=1000210001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pUserData&&(this.pUserData=e.pUserData))},VkInitializePerformanceApiInfoINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkInitializePerformanceApiInfoINTEL.prototype.reflect=function(e){},VkInitializePerformanceApiInfoINTEL.createCopyFrom=function(e){let t=new VkInitializePerformanceApiInfoINTEL;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.pUserData){let r=new ArrayBuffer(e.pUserData.byteLength);new Uint8Array(r).set(new Uint8Array(e.pUserData),0),t.pUserData=r}return t},VkInitializePerformanceApiInfoINTEL.byteLength=24,VkInitializePerformanceApiInfoINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pUserData:{byteOffset:16,byteLength:8}},Object.defineProperties(VkQueryPoolCreateInfoINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfoINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkQueryPoolCreateInfoINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkQueryPoolCreateInfoINTEL.pNext' isn't allowed to be filled")}},performanceCountersSampling:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkQueryPoolCreateInfoINTEL.performanceCountersSampling"),!$VAL_R_VkQueryPoolSamplingModeINTEL(e))throw new RangeError("Invalid value for 'VkQueryPoolCreateInfoINTEL.performanceCountersSampling': '"+e+"' is not a value of 'VkQueryPoolSamplingModeINTEL'");this.memoryView.setInt32(16,e,!0)}}}),VkQueryPoolCreateInfoINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=100021e4,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.performanceCountersSampling&&(this.performanceCountersSampling=e.performanceCountersSampling))},VkQueryPoolCreateInfoINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkQueryPoolCreateInfoINTEL.prototype.reflect=function(e){},VkQueryPoolCreateInfoINTEL.createCopyFrom=function(e){let t=new VkQueryPoolCreateInfoINTEL;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.performanceCountersSampling=e.performanceCountersSampling,t},VkQueryPoolCreateInfoINTEL.byteLength=24,VkQueryPoolCreateInfoINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},performanceCountersSampling:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPerformanceMarkerInfoINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceMarkerInfoINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPerformanceMarkerInfoINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPerformanceMarkerInfoINTEL.pNext' isn't allowed to be filled")}},marker:{get(){return this.memoryView.getBigUint64(16,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPerformanceMarkerInfoINTEL.marker"),this.memoryView.setBigUint64(16,BigInt(e),!0)}}}),VkPerformanceMarkerInfoINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000210002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.marker&&(this.marker=e.marker))},VkPerformanceMarkerInfoINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPerformanceMarkerInfoINTEL.prototype.reflect=function(e){},VkPerformanceMarkerInfoINTEL.createCopyFrom=function(e){let t=new VkPerformanceMarkerInfoINTEL;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.marker=e.marker,t},VkPerformanceMarkerInfoINTEL.byteLength=24,VkPerformanceMarkerInfoINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},marker:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPerformanceStreamMarkerInfoINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceStreamMarkerInfoINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPerformanceStreamMarkerInfoINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPerformanceStreamMarkerInfoINTEL.pNext' isn't allowed to be filled")}},marker:{get(){return this.memoryView.getUint32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPerformanceStreamMarkerInfoINTEL.marker"),this.memoryView.setUint32(16,e,!0)}}}),VkPerformanceStreamMarkerInfoINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000210003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.marker&&(this.marker=e.marker))},VkPerformanceStreamMarkerInfoINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPerformanceStreamMarkerInfoINTEL.prototype.reflect=function(e){},VkPerformanceStreamMarkerInfoINTEL.createCopyFrom=function(e){let t=new VkPerformanceStreamMarkerInfoINTEL;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.marker=e.marker,t},VkPerformanceStreamMarkerInfoINTEL.byteLength=24,VkPerformanceStreamMarkerInfoINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},marker:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPerformanceOverrideInfoINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceOverrideInfoINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPerformanceOverrideInfoINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPerformanceOverrideInfoINTEL.pNext' isn't allowed to be filled")}},type:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceOverrideInfoINTEL.type"),!$VAL_R_VkPerformanceOverrideTypeINTEL(e))throw new RangeError("Invalid value for 'VkPerformanceOverrideInfoINTEL.type': '"+e+"' is not a value of 'VkPerformanceOverrideTypeINTEL'");this.memoryView.setInt32(16,e,!0)}},enable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},parameter:{get(){return this.memoryView.getBigUint64(24,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPerformanceOverrideInfoINTEL.parameter"),this.memoryView.setBigUint64(24,BigInt(e),!0)}}}),VkPerformanceOverrideInfoINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000210004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.parameter&&(this.parameter=e.parameter))},VkPerformanceOverrideInfoINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPerformanceOverrideInfoINTEL.prototype.reflect=function(e){},VkPerformanceOverrideInfoINTEL.createCopyFrom=function(e){let t=new VkPerformanceOverrideInfoINTEL;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.type=e.type,t.enable=e.enable,t.parameter=e.parameter,t},VkPerformanceOverrideInfoINTEL.byteLength=32,VkPerformanceOverrideInfoINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},type:{byteOffset:16,byteLength:4},enable:{byteOffset:20,byteLength:4},parameter:{byteOffset:24,byteLength:8}},Object.defineProperties(VkPerformanceConfigurationAcquireInfoINTEL.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceConfigurationAcquireInfoINTEL.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPerformanceConfigurationAcquireInfoINTEL.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPerformanceConfigurationAcquireInfoINTEL.pNext' isn't allowed to be filled")}},type:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPerformanceConfigurationAcquireInfoINTEL.type"),!$VAL_R_VkPerformanceConfigurationTypeINTEL(e))throw new RangeError("Invalid value for 'VkPerformanceConfigurationAcquireInfoINTEL.type': '"+e+"' is not a value of 'VkPerformanceConfigurationTypeINTEL'");this.memoryView.setInt32(16,e,!0)}}}),VkPerformanceConfigurationAcquireInfoINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000210005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.type&&(this.type=e.type))},VkPerformanceConfigurationAcquireInfoINTEL.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPerformanceConfigurationAcquireInfoINTEL.prototype.reflect=function(e){},VkPerformanceConfigurationAcquireInfoINTEL.createCopyFrom=function(e){let t=new VkPerformanceConfigurationAcquireInfoINTEL;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.type=e.type,t},VkPerformanceConfigurationAcquireInfoINTEL.byteLength=24,VkPerformanceConfigurationAcquireInfoINTEL.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},type:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderClockFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderClockFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderClockFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderClockFeaturesKHR.pNext' isn't allowed to be filled")}},shaderSubgroupClock:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},shaderDeviceClock:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceShaderClockFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000181e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderSubgroupClock&&(this.shaderSubgroupClock=e.shaderSubgroupClock),void 0!==e.shaderDeviceClock&&(this.shaderDeviceClock=e.shaderDeviceClock))},VkPhysicalDeviceShaderClockFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderClockFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDeviceShaderClockFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderClockFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderSubgroupClock=e.shaderSubgroupClock,t.shaderDeviceClock=e.shaderDeviceClock,t},VkPhysicalDeviceShaderClockFeaturesKHR.byteLength=24,VkPhysicalDeviceShaderClockFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderSubgroupClock:{byteOffset:16,byteLength:4},shaderDeviceClock:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceIndexTypeUint8FeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceIndexTypeUint8FeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceIndexTypeUint8FeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceIndexTypeUint8FeaturesEXT.pNext' isn't allowed to be filled")}},indexTypeUint8:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceIndexTypeUint8FeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000265e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.indexTypeUint8&&(this.indexTypeUint8=e.indexTypeUint8))},VkPhysicalDeviceIndexTypeUint8FeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceIndexTypeUint8FeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceIndexTypeUint8FeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceIndexTypeUint8FeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.indexTypeUint8=e.indexTypeUint8,t},VkPhysicalDeviceIndexTypeUint8FeaturesEXT.byteLength=24,VkPhysicalDeviceIndexTypeUint8FeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},indexTypeUint8:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.pNext' isn't allowed to be filled")}},shaderSMCount:{get(){return this.memoryView.getUint32(16,!0)}},shaderWarpsPerSM:{get(){return this.memoryView.getUint32(20,!0)}}}),VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000154001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderSMBuiltinsPropertiesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderSMCount=e.shaderSMCount,t.shaderWarpsPerSM=e.shaderWarpsPerSM,t},VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.byteLength=24,VkPhysicalDeviceShaderSMBuiltinsPropertiesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderSMCount:{byteOffset:16,byteLength:4},shaderWarpsPerSM:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.pNext' isn't allowed to be filled")}},shaderSMBuiltins:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000154e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderSMBuiltins&&(this.shaderSMBuiltins=e.shaderSMBuiltins))},VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.prototype.reflect=function(e){},VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderSMBuiltinsFeaturesNV;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderSMBuiltins=e.shaderSMBuiltins,t},VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.byteLength=24,VkPhysicalDeviceShaderSMBuiltinsFeaturesNV.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderSMBuiltins:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.pNext' isn't allowed to be filled")}},fragmentShaderSampleInterlock:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},fragmentShaderPixelInterlock:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},fragmentShaderShadingRateInterlock:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}}}),VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000251e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.fragmentShaderSampleInterlock&&(this.fragmentShaderSampleInterlock=e.fragmentShaderSampleInterlock),void 0!==e.fragmentShaderPixelInterlock&&(this.fragmentShaderPixelInterlock=e.fragmentShaderPixelInterlock),void 0!==e.fragmentShaderShadingRateInterlock&&(this.fragmentShaderShadingRateInterlock=e.fragmentShaderShadingRateInterlock))},VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.fragmentShaderSampleInterlock=e.fragmentShaderSampleInterlock,t.fragmentShaderPixelInterlock=e.fragmentShaderPixelInterlock,t.fragmentShaderShadingRateInterlock=e.fragmentShaderShadingRateInterlock,t},VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.byteLength=32,VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},fragmentShaderSampleInterlock:{byteOffset:16,byteLength:4},fragmentShaderPixelInterlock:{byteOffset:20,byteLength:4},fragmentShaderShadingRateInterlock:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.pNext' isn't allowed to be filled")}},pipelineExecutableInfo:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000269e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipelineExecutableInfo&&(this.pipelineExecutableInfo=e.pipelineExecutableInfo))},VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.prototype.reflect=function(e){},VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.createCopyFrom=function(e){let t=new VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.pipelineExecutableInfo=e.pipelineExecutableInfo,t},VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.byteLength=24,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pipelineExecutableInfo:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineInfoKHR.pNext' isn't allowed to be filled")}},pipeline:{get(){return this._pipeline},set(e){if(null!==e&&e.constructor===VkPipeline)this._pipeline=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineInfoKHR.pipeline': Expected 'VkPipeline' but got '"+typeToString(e)+"'");this._pipeline=null,this.memoryView.setBigInt64(16,BI0,!0)}}}}),VkPipelineInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this._pipeline=null,this.sType=1000269001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipeline&&(this.pipeline=e.pipeline))},VkPipelineInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineInfoKHR.prototype.reflect=function(e){},VkPipelineInfoKHR.createCopyFrom=function(e){let t=new VkPipelineInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.pipeline&&(t.pipeline=e.pipeline.constructor.createCopyFrom(e.pipeline)),t},VkPipelineInfoKHR.byteLength=24,VkPipelineInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pipeline:{byteOffset:16,byteLength:8}},Object.defineProperties(VkPipelineExecutablePropertiesKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineExecutablePropertiesKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineExecutablePropertiesKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineExecutablePropertiesKHR.pNext' isn't allowed to be filled")}},stages:{get(){return this.memoryView.getInt32(16,!0)}},name:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+20,296))||null}},description:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+276,808))||null}},subgroupSize:{get(){return this.memoryView.getUint32(532,!0)}}}),VkPipelineExecutablePropertiesKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,536)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x218"],0),this._pNext=null,this.sType=1000269002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPipelineExecutablePropertiesKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineExecutablePropertiesKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(536)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,536),0)},VkPipelineExecutablePropertiesKHR.createCopyFrom=function(e){let t=new VkPipelineExecutablePropertiesKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.stages=e.stages,t.name=e.name,t.description=e.description,t.subgroupSize=e.subgroupSize,t},VkPipelineExecutablePropertiesKHR.byteLength=536,VkPipelineExecutablePropertiesKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},stages:{byteOffset:16,byteLength:4},name:{byteOffset:20,byteLength:256},description:{byteOffset:276,byteLength:256},subgroupSize:{byteOffset:532,byteLength:4}},Object.defineProperties(VkPipelineExecutableInfoKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineExecutableInfoKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineExecutableInfoKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineExecutableInfoKHR.pNext' isn't allowed to be filled")}},pipeline:{get(){return this._pipeline},set(e){if(null!==e&&e.constructor===VkPipeline)this._pipeline=e,this.memoryView.setBigInt64(16,e.memoryView.getBigInt64(0,!0),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineExecutableInfoKHR.pipeline': Expected 'VkPipeline' but got '"+typeToString(e)+"'");this._pipeline=null,this.memoryView.setBigInt64(16,BI0,!0)}}},executableIndex:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineExecutableInfoKHR.executableIndex"),this.memoryView.setUint32(24,e,!0)}}}),VkPipelineExecutableInfoKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this._pipeline=null,this.sType=1000269003,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.pipeline&&(this.pipeline=e.pipeline),void 0!==e.executableIndex&&(this.executableIndex=e.executableIndex))},VkPipelineExecutableInfoKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineExecutableInfoKHR.prototype.reflect=function(e){},VkPipelineExecutableInfoKHR.createCopyFrom=function(e){let t=new VkPipelineExecutableInfoKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),null!==e.pipeline&&(t.pipeline=e.pipeline.constructor.createCopyFrom(e.pipeline)),t.executableIndex=e.executableIndex,t},VkPipelineExecutableInfoKHR.byteLength=32,VkPipelineExecutableInfoKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},pipeline:{byteOffset:16,byteLength:8},executableIndex:{byteOffset:24,byteLength:4}},Object.defineProperties(VkPipelineExecutableStatisticKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineExecutableStatisticKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineExecutableStatisticKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineExecutableStatisticKHR.pNext' isn't allowed to be filled")}},name:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+16,288))||null}},description:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+272,800))||null}},format:{get(){return this.memoryView.getInt32(528,!0)}},value:{get(){return this._value}}}),VkPipelineExecutableStatisticKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,544)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x220"],0),this._pNext=null,null!==this._value&&(this.memoryBuffer!==this._value.memoryBuffer?this._value=new VkPipelineExecutableStatisticValueKHR({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+536}):this._value.reset()),this.sType=1000269004,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPipelineExecutableStatisticKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineExecutableStatisticKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(544)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,544),0)},VkPipelineExecutableStatisticKHR.createCopyFrom=function(e){let t=new VkPipelineExecutableStatisticKHR;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.name=e.name,t.description=e.description,t.format=e.format,null!==e.value&&(t.value=e.value.constructor.createCopyFrom(e.value)),t},VkPipelineExecutableStatisticKHR.byteLength=544,VkPipelineExecutableStatisticKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},name:{byteOffset:16,byteLength:256},description:{byteOffset:272,byteLength:256},format:{byteOffset:528,byteLength:4},value:{byteOffset:536,byteLength:8}},Object.defineProperties(VkPipelineExecutableInternalRepresentationKHR.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineExecutableInternalRepresentationKHR.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineExecutableInternalRepresentationKHR.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineExecutableInternalRepresentationKHR.pNext' isn't allowed to be filled")}},name:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+16,288))||null},set(e){null!==e&&e.constructor===String?(this._name=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(16,getAddressFromArrayBuffer(this._name),!0)):null===e?(this._name=null,this.memoryView.setBigInt64(16,BI0,!0)):ASSERT_IS_STRING(e,"VkPipelineExecutableInternalRepresentationKHR.name")}},description:{get(){return decodeNullTerminatedUTF8String(new Uint8Array(this.memoryBuffer).subarray(this.$memoryOffset+272,800))||null},set(e){null!==e&&e.constructor===String?(this._description=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(272,getAddressFromArrayBuffer(this._description),!0)):null===e?(this._description=null,this.memoryView.setBigInt64(272,BI0,!0)):ASSERT_IS_STRING(e,"VkPipelineExecutableInternalRepresentationKHR.description")}},isText:{get(){return 0!==this.memoryView.getUint32(528,!0)},set(e){this.memoryView.setUint32(528,0|e,!0)}},dataSize:{get(){return this.memoryView.getBigInt64(536,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPipelineExecutableInternalRepresentationKHR.dataSize"),this.memoryView.setBigInt64(536,BigInt(e),!0)}},pData:{get(){return this._pData},set(e){if(null!==e&&e.constructor===ArrayBuffer)this._pData=e,this.memoryView.setBigInt64(544,getAddressFromArrayBuffer(e),!0);else{if(null!==e)throw new TypeError("Invalid type for 'VkPipelineExecutableInternalRepresentationKHR.pData': Expected 'ArrayBuffer' but got '"+typeToString(e)+"'");this._pData=null,this.memoryView.setBigInt64(544,BI0,!0)}}}}),VkPipelineExecutableInternalRepresentationKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,552)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x228"],0),this._pNext=null,this._pData=null,this.sType=1000269005,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.name&&(this.name=e.name),void 0!==e.description&&(this.description=e.description),void 0!==e.isText&&(this.isText=e.isText),void 0!==e.dataSize&&(this.dataSize=e.dataSize),void 0!==e.pData&&(this.pData=e.pData))},VkPipelineExecutableInternalRepresentationKHR.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineExecutableInternalRepresentationKHR.prototype.reflect=function(e){},VkPipelineExecutableInternalRepresentationKHR.createCopyFrom=function(e){let t=new VkPipelineExecutableInternalRepresentationKHR;if(t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.name=e.name,t.description=e.description,t.isText=e.isText,t.dataSize=e.dataSize,null!==e.pData){let r=new ArrayBuffer(e.pData.byteLength);new Uint8Array(r).set(new Uint8Array(e.pData),0),t.pData=r}return t},VkPipelineExecutableInternalRepresentationKHR.byteLength=552,VkPipelineExecutableInternalRepresentationKHR.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},name:{byteOffset:16,byteLength:256},description:{byteOffset:272,byteLength:256},isText:{byteOffset:528,byteLength:4},dataSize:{byteOffset:536,byteLength:8},pData:{byteOffset:544,byteLength:8}},Object.defineProperties(VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.pNext' isn't allowed to be filled")}},shaderDemoteToHelperInvocation:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000276e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.shaderDemoteToHelperInvocation&&(this.shaderDemoteToHelperInvocation=e.shaderDemoteToHelperInvocation))},VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.shaderDemoteToHelperInvocation=e.shaderDemoteToHelperInvocation,t},VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.byteLength=24,VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},shaderDemoteToHelperInvocation:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.pNext' isn't allowed to be filled")}},texelBufferAlignment:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000281e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.texelBufferAlignment&&(this.texelBufferAlignment=e.texelBufferAlignment))},VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.texelBufferAlignment=e.texelBufferAlignment,t},VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.byteLength=24,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},texelBufferAlignment:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.pNext' isn't allowed to be filled")}},storageTexelBufferOffsetAlignmentBytes:{get(){return this.memoryView.getBigUint64(16,!0)}},storageTexelBufferOffsetSingleTexelAlignment:{get(){return 0!==this.memoryView.getUint32(24,!0)}},uniformTexelBufferOffsetAlignmentBytes:{get(){return this.memoryView.getBigUint64(32,!0)}},uniformTexelBufferOffsetSingleTexelAlignment:{get(){return 0!==this.memoryView.getUint32(40,!0)}}}),VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,48)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x30"],0),this._pNext=null,this.sType=1000281001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(48)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,48),0)},VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.storageTexelBufferOffsetAlignmentBytes=e.storageTexelBufferOffsetAlignmentBytes,t.storageTexelBufferOffsetSingleTexelAlignment=e.storageTexelBufferOffsetSingleTexelAlignment,t.uniformTexelBufferOffsetAlignmentBytes=e.uniformTexelBufferOffsetAlignmentBytes,t.uniformTexelBufferOffsetSingleTexelAlignment=e.uniformTexelBufferOffsetSingleTexelAlignment,t},VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.byteLength=48,VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},storageTexelBufferOffsetAlignmentBytes:{byteOffset:16,byteLength:8},storageTexelBufferOffsetSingleTexelAlignment:{byteOffset:24,byteLength:4},uniformTexelBufferOffsetAlignmentBytes:{byteOffset:32,byteLength:8},uniformTexelBufferOffsetSingleTexelAlignment:{byteOffset:40,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.pNext' isn't allowed to be filled")}},subgroupSizeControl:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},computeFullSubgroups:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}}}),VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000225002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.subgroupSizeControl&&(this.subgroupSizeControl=e.subgroupSizeControl),void 0!==e.computeFullSubgroups&&(this.computeFullSubgroups=e.computeFullSubgroups))},VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceSubgroupSizeControlFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.subgroupSizeControl=e.subgroupSizeControl,t.computeFullSubgroups=e.computeFullSubgroups,t},VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.byteLength=24,VkPhysicalDeviceSubgroupSizeControlFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},subgroupSizeControl:{byteOffset:16,byteLength:4},computeFullSubgroups:{byteOffset:20,byteLength:4}},Object.defineProperties(VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.pNext' isn't allowed to be filled")}},minSubgroupSize:{get(){return this.memoryView.getUint32(16,!0)}},maxSubgroupSize:{get(){return this.memoryView.getUint32(20,!0)}},maxComputeWorkgroupSubgroups:{get(){return this.memoryView.getUint32(24,!0)}},requiredSubgroupSizeStages:{get(){return this.memoryView.getInt32(28,!0)}}}),VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000225e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(32)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,32),0)},VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceSubgroupSizeControlPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.minSubgroupSize=e.minSubgroupSize,t.maxSubgroupSize=e.maxSubgroupSize,t.maxComputeWorkgroupSubgroups=e.maxComputeWorkgroupSubgroups,t.requiredSubgroupSizeStages=e.requiredSubgroupSizeStages,t},VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.byteLength=32,VkPhysicalDeviceSubgroupSizeControlPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},minSubgroupSize:{byteOffset:16,byteLength:4},maxSubgroupSize:{byteOffset:20,byteLength:4},maxComputeWorkgroupSubgroups:{byteOffset:24,byteLength:4},requiredSubgroupSizeStages:{byteOffset:28,byteLength:4}},Object.defineProperties(VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.pNext' isn't allowed to be filled")}},requiredSubgroupSize:{get(){return this.memoryView.getUint32(16,!0)}}}),VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000225001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.requiredSubgroupSize=e.requiredSubgroupSize,t},VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.byteLength=24,VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},requiredSubgroupSize:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceLineRasterizationFeaturesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceLineRasterizationFeaturesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceLineRasterizationFeaturesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceLineRasterizationFeaturesEXT.pNext' isn't allowed to be filled")}},rectangularLines:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}},bresenhamLines:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},smoothLines:{get(){return 0!==this.memoryView.getUint32(24,!0)},set(e){this.memoryView.setUint32(24,0|e,!0)}},stippledRectangularLines:{get(){return 0!==this.memoryView.getUint32(28,!0)},set(e){this.memoryView.setUint32(28,0|e,!0)}},stippledBresenhamLines:{get(){return 0!==this.memoryView.getUint32(32,!0)},set(e){this.memoryView.setUint32(32,0|e,!0)}},stippledSmoothLines:{get(){return 0!==this.memoryView.getUint32(36,!0)},set(e){this.memoryView.setUint32(36,0|e,!0)}}}),VkPhysicalDeviceLineRasterizationFeaturesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,40)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x28"],0),this._pNext=null,this.sType=1000259e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.rectangularLines&&(this.rectangularLines=e.rectangularLines),void 0!==e.bresenhamLines&&(this.bresenhamLines=e.bresenhamLines),void 0!==e.smoothLines&&(this.smoothLines=e.smoothLines),void 0!==e.stippledRectangularLines&&(this.stippledRectangularLines=e.stippledRectangularLines),void 0!==e.stippledBresenhamLines&&(this.stippledBresenhamLines=e.stippledBresenhamLines),void 0!==e.stippledSmoothLines&&(this.stippledSmoothLines=e.stippledSmoothLines))},VkPhysicalDeviceLineRasterizationFeaturesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceLineRasterizationFeaturesEXT.prototype.reflect=function(e){},VkPhysicalDeviceLineRasterizationFeaturesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceLineRasterizationFeaturesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.rectangularLines=e.rectangularLines,t.bresenhamLines=e.bresenhamLines,t.smoothLines=e.smoothLines,t.stippledRectangularLines=e.stippledRectangularLines,t.stippledBresenhamLines=e.stippledBresenhamLines,t.stippledSmoothLines=e.stippledSmoothLines,t},VkPhysicalDeviceLineRasterizationFeaturesEXT.byteLength=40,VkPhysicalDeviceLineRasterizationFeaturesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},rectangularLines:{byteOffset:16,byteLength:4},bresenhamLines:{byteOffset:20,byteLength:4},smoothLines:{byteOffset:24,byteLength:4},stippledRectangularLines:{byteOffset:28,byteLength:4},stippledBresenhamLines:{byteOffset:32,byteLength:4},stippledSmoothLines:{byteOffset:36,byteLength:4}},Object.defineProperties(VkPhysicalDeviceLineRasterizationPropertiesEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceLineRasterizationPropertiesEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceLineRasterizationPropertiesEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceLineRasterizationPropertiesEXT.pNext' isn't allowed to be filled")}},lineSubPixelPrecisionBits:{get(){return this.memoryView.getUint32(16,!0)}}}),VkPhysicalDeviceLineRasterizationPropertiesEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000259002,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext))},VkPhysicalDeviceLineRasterizationPropertiesEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceLineRasterizationPropertiesEXT.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(24)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,24),0)},VkPhysicalDeviceLineRasterizationPropertiesEXT.createCopyFrom=function(e){let t=new VkPhysicalDeviceLineRasterizationPropertiesEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.lineSubPixelPrecisionBits=e.lineSubPixelPrecisionBits,t},VkPhysicalDeviceLineRasterizationPropertiesEXT.byteLength=24,VkPhysicalDeviceLineRasterizationPropertiesEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},lineSubPixelPrecisionBits:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPipelineRasterizationLineStateCreateInfoEXT.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationLineStateCreateInfoEXT.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationLineStateCreateInfoEXT.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineRasterizationLineStateCreateInfoEXT.pNext' isn't allowed to be filled")}},lineRasterizationMode:{get(){return this.memoryView.getInt32(16,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineRasterizationLineStateCreateInfoEXT.lineRasterizationMode"),!$VAL_R_VkLineRasterizationModeEXT(e))throw new RangeError("Invalid value for 'VkPipelineRasterizationLineStateCreateInfoEXT.lineRasterizationMode': '"+e+"' is not a value of 'VkLineRasterizationModeEXT'");this.memoryView.setInt32(16,e,!0)}},stippledLineEnable:{get(){return 0!==this.memoryView.getUint32(20,!0)},set(e){this.memoryView.setUint32(20,0|e,!0)}},lineStippleFactor:{get(){return this.memoryView.getUint32(24,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationLineStateCreateInfoEXT.lineStippleFactor"),this.memoryView.setUint32(24,e,!0)}},lineStipplePattern:{get(){return this.memoryView.getUint16(28,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineRasterizationLineStateCreateInfoEXT.lineStipplePattern"),this.memoryView.setUint16(28,e,!0)}}}),VkPipelineRasterizationLineStateCreateInfoEXT.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,32)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x20"],0),this._pNext=null,this.sType=1000259001,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.lineRasterizationMode&&(this.lineRasterizationMode=e.lineRasterizationMode),void 0!==e.stippledLineEnable&&(this.stippledLineEnable=e.stippledLineEnable),void 0!==e.lineStippleFactor&&(this.lineStippleFactor=e.lineStippleFactor),void 0!==e.lineStipplePattern&&(this.lineStipplePattern=e.lineStipplePattern))},VkPipelineRasterizationLineStateCreateInfoEXT.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineRasterizationLineStateCreateInfoEXT.prototype.reflect=function(e){},VkPipelineRasterizationLineStateCreateInfoEXT.createCopyFrom=function(e){let t=new VkPipelineRasterizationLineStateCreateInfoEXT;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.lineRasterizationMode=e.lineRasterizationMode,t.stippledLineEnable=e.stippledLineEnable,t.lineStippleFactor=e.lineStippleFactor,t.lineStipplePattern=e.lineStipplePattern,t},VkPipelineRasterizationLineStateCreateInfoEXT.byteLength=32,VkPipelineRasterizationLineStateCreateInfoEXT.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},lineRasterizationMode:{byteOffset:16,byteLength:4},stippledLineEnable:{byteOffset:20,byteLength:4},lineStippleFactor:{byteOffset:24,byteLength:4},lineStipplePattern:{byteOffset:28,byteLength:2}},Object.defineProperties(VkPipelineCompilerControlCreateInfoAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPipelineCompilerControlCreateInfoAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPipelineCompilerControlCreateInfoAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPipelineCompilerControlCreateInfoAMD.pNext' isn't allowed to be filled")}},compilerControlFlags:{get(){return this.memoryView.getInt32(16,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPipelineCompilerControlCreateInfoAMD.compilerControlFlags"),this.memoryView.setInt32(16,e,!0)}}}),VkPipelineCompilerControlCreateInfoAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000183e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.compilerControlFlags&&(this.compilerControlFlags=e.compilerControlFlags))},VkPipelineCompilerControlCreateInfoAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPipelineCompilerControlCreateInfoAMD.prototype.reflect=function(e){},VkPipelineCompilerControlCreateInfoAMD.createCopyFrom=function(e){let t=new VkPipelineCompilerControlCreateInfoAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.compilerControlFlags=e.compilerControlFlags,t},VkPipelineCompilerControlCreateInfoAMD.byteLength=24,VkPipelineCompilerControlCreateInfoAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},compilerControlFlags:{byteOffset:16,byteLength:4}},Object.defineProperties(VkPhysicalDeviceCoherentMemoryFeaturesAMD.prototype,{sType:{get(){return this.memoryView.getInt32(0,!0)},set(e){if(ASSERT_IS_NUMBER(e,"VkPhysicalDeviceCoherentMemoryFeaturesAMD.sType"),!$VAL_R_VkStructureType(e))throw new RangeError("Invalid value for 'VkPhysicalDeviceCoherentMemoryFeaturesAMD.sType': '"+e+"' is not a value of 'VkStructureType'");this.memoryView.setInt32(0,e,!0)}},pNext:{get(){return this._pNext},set(e){if(null!==e)throw new TypeError("'VkPhysicalDeviceCoherentMemoryFeaturesAMD.pNext' isn't allowed to be filled")}},deviceCoherentMemory:{get(){return 0!==this.memoryView.getUint32(16,!0)},set(e){this.memoryView.setUint32(16,0|e,!0)}}}),VkPhysicalDeviceCoherentMemoryFeaturesAMD.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,24)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x18"],0),this._pNext=null,this.sType=1000229e3,"object"==typeof e&&(void 0!==e.sType&&(this.sType=e.sType),void 0!==e.pNext&&(this.pNext=e.pNext),void 0!==e.deviceCoherentMemory&&(this.deviceCoherentMemory=e.deviceCoherentMemory))},VkPhysicalDeviceCoherentMemoryFeaturesAMD.prototype.flush=function(){return!(null!==this._pNext&&!this._pNext.flush())},VkPhysicalDeviceCoherentMemoryFeaturesAMD.prototype.reflect=function(e){},VkPhysicalDeviceCoherentMemoryFeaturesAMD.createCopyFrom=function(e){let t=new VkPhysicalDeviceCoherentMemoryFeaturesAMD;return t.sType=e.sType,null!==e.pNext&&(t.pNext=e.pNext.constructor.createCopyFrom(e.pNext)),t.deviceCoherentMemory=e.deviceCoherentMemory,t},VkPhysicalDeviceCoherentMemoryFeaturesAMD.byteLength=24,VkPhysicalDeviceCoherentMemoryFeaturesAMD.memoryLayout={sType:{byteOffset:0,byteLength:4},pNext:{byteOffset:8,byteLength:8},deviceCoherentMemory:{byteOffset:16,byteLength:4}},Object.defineProperties(VkClearColorValue.prototype,{float32:{get(){return this._float32},set(e){if(null!==e&&e.constructor===Array)this._float32=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearColorValue.float32': Expected 'Array float' but got '"+typeToString(e)+"'");this._float32=null}}},int32:{get(){return this._int32},set(e){if(null!==e&&e.constructor===Array)this._int32=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearColorValue.int32': Expected 'Array int32_t' but got '"+typeToString(e)+"'");this._int32=null}}},uint32:{get(){return this._uint32},set(e){if(null!==e&&e.constructor===Array)this._uint32=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearColorValue.uint32': Expected 'Array uint32_t' but got '"+typeToString(e)+"'");this._uint32=null}}}}),VkClearColorValue.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),this._float32=null,this._int32=null,this._uint32=null,"object"==typeof e&&(void 0!==e.float32&&(this.float32=e.float32),void 0!==e.int32&&(this.int32=e.int32),void 0!==e.uint32&&(this.uint32=e.uint32))},VkClearColorValue.prototype.flush=function(){if(null!==this._float32){let e=this._float32;if(4!==e.length)throw new RangeError("Invalid array length, expected length of '4' for 'VkClearColorValue.float32'");for(let t=0;te.float32[r])),null!==e.int32&&(t.int32=[...Array(e.int32.length)].map((t,r)=>e.int32[r])),null!==e.uint32&&(t.uint32=[...Array(e.uint32.length)].map((t,r)=>e.uint32[r])),t},VkClearColorValue.byteLength=16,VkClearColorValue.memoryLayout={float32:{byteOffset:0,byteLength:16},int32:{byteOffset:0,byteLength:16},uint32:{byteOffset:0,byteLength:16}},Object.defineProperties(VkClearValue.prototype,{color:{get(){return this._color},set(e){if(null!==e&&e.constructor===VkClearColorValue)e.flush(),this._color=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearValue.color': Expected 'VkClearColorValue' but got '"+typeToString(e)+"'");this._color=null}}},depthStencil:{get(){return this._depthStencil},set(e){if(null!==e&&e.constructor===VkClearDepthStencilValue)e.flush(),this._depthStencil=e;else{if(null!==e)throw new TypeError("Invalid type for 'VkClearValue.depthStencil': Expected 'VkClearDepthStencilValue' but got '"+typeToString(e)+"'");this._depthStencil=null}}}}),VkClearValue.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,16)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x10"],0),null!==this._color&&(this.memoryBuffer!==this._color.memoryBuffer?this._color=new VkClearColorValue({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._color.reset()),null!==this._depthStencil&&(this.memoryBuffer!==this._depthStencil.memoryBuffer?this._depthStencil=new VkClearDepthStencilValue({$memoryBuffer:this.memoryBuffer,$memoryOffset:this.$memoryOffset+0}):this._depthStencil.reset()),"object"==typeof e&&(void 0!==e.color&&(this.color=e.color),void 0!==e.depthStencil&&(this.depthStencil=e.depthStencil))},VkClearValue.prototype.flush=function(){if(null!==this._color){let e=this._color;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,16);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkClearValue.color' isn't used as shared-memory")}}if(null!==this._depthStencil){let e=this._depthStencil;if(e.flush(),this.memoryBuffer!==e.memoryBuffer){let t=new Uint8Array(e.memoryBuffer,e.$memoryOffset,8);new Uint8Array(this.memoryBuffer).set(t,0),ENABLE_SHARED_MEMORY_HINTS&&console.warn("'VkClearValue.depthStencil' isn't used as shared-memory")}}return!0},VkClearValue.prototype.reflect=function(e){},VkClearValue.createCopyFrom=function(e){let t=new VkClearValue;return null!==e.color&&(t.color=e.color.constructor.createCopyFrom(e.color)),null!==e.depthStencil&&(t.depthStencil=e.depthStencil.constructor.createCopyFrom(e.depthStencil)),t},VkClearValue.byteLength=16,VkClearValue.memoryLayout={color:{byteOffset:0,byteLength:16},depthStencil:{byteOffset:0,byteLength:8}},Object.defineProperties(VkPerformanceValueDataINTEL.prototype,{value32:{get(){return this.memoryView.getUint32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPerformanceValueDataINTEL.value32"),this.memoryView.setUint32(0,e,!0)}},value64:{get(){return this.memoryView.getBigUint64(0,!0)},set(e){ASSERT_IS_NUMBER_OR_BIGINT(e,"VkPerformanceValueDataINTEL.value64"),this.memoryView.setBigUint64(0,BigInt(e),!0)}},valueFloat:{get(){return this.memoryView.getFloat32(0,!0)},set(e){ASSERT_IS_NUMBER(e,"VkPerformanceValueDataINTEL.valueFloat"),this.memoryView.setFloat32(0,e,!0)}},valueBool:{get(){return 0!==this.memoryView.getUint32(0,!0)},set(e){this.memoryView.setUint32(0,0|e,!0)}},valueString:{get(){if(null!==this._valueString){let e=textDecoder.decode(this._valueString);return e.substr(0,e.length-1)}if(this.memoryView.getBigInt64(0,!0)!==BI0){let e=this.memoryView.getBigInt64(0,!0),t=findNullTerminatedUTF8StringLength(e),r=getArrayBufferFromAddress(e,BigInt(t));return this._valueString=r,this.valueString}return null},set(e){null!==e&&e.constructor===String?(this._valueString=textEncoder.encode(e+NULLT).buffer,this.memoryView.setBigInt64(0,getAddressFromArrayBuffer(this._valueString),!0)):null===e?(this._valueString=null,this.memoryView.setBigInt64(0,BI0,!0)):ASSERT_IS_STRING(e,"VkPerformanceValueDataINTEL.valueString")}}}),VkPerformanceValueDataINTEL.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0),this._valueString=null,"object"==typeof e&&(void 0!==e.value32&&(this.value32=e.value32),void 0!==e.value64&&(this.value64=e.value64),void 0!==e.valueFloat&&(this.valueFloat=e.valueFloat),void 0!==e.valueBool&&(this.valueBool=e.valueBool),void 0!==e.valueString&&(this.valueString=e.valueString))},VkPerformanceValueDataINTEL.prototype.flush=function(){return!0},VkPerformanceValueDataINTEL.prototype.reflect=function(e){},VkPerformanceValueDataINTEL.createCopyFrom=function(e){let t=new VkPerformanceValueDataINTEL;return t.value32=e.value32,t.value64=e.value64,t.valueFloat=e.valueFloat,t.valueBool=e.valueBool,t.valueString=e.valueString,t},VkPerformanceValueDataINTEL.byteLength=8,VkPerformanceValueDataINTEL.memoryLayout={value32:{byteOffset:0,byteLength:4},value64:{byteOffset:0,byteLength:8},valueFloat:{byteOffset:0,byteLength:4},valueBool:{byteOffset:0,byteLength:4},valueString:{byteOffset:0,byteLength:8}},Object.defineProperties(VkPipelineExecutableStatisticValueKHR.prototype,{b32:{get(){return 0!==this.memoryView.getUint32(0,!0)}},i64:{get(){return this.memoryView.getBigInt64(0,!0)}},u64:{get(){return this.memoryView.getBigUint64(0,!0)}},f64:{get(){return this.memoryView.getBigUint64(0,!0)}}}),VkPipelineExecutableStatisticValueKHR.prototype.reset=function(e){null===this.resetMemoryView&&(this.resetMemoryView=new Uint8Array(this.memoryBuffer,this.$memoryOffset,8)),this.resetMemoryView.set(STRUCT_RESET_CACHE["0x8"],0)},VkPipelineExecutableStatisticValueKHR.prototype.flush=function(){return!0},VkPipelineExecutableStatisticValueKHR.prototype.reflect=function(e){let t=getArrayBufferFromAddress(e,BigInt(8)),r=this.memoryBuffer,i=new Uint8Array(t);new Uint8Array(r).set(i.subarray(0,8),0)},VkPipelineExecutableStatisticValueKHR.createCopyFrom=function(e){let t=new VkPipelineExecutableStatisticValueKHR;return t.b32=e.b32,t.i64=e.i64,t.u64=e.u64,t.f64=e.f64,t},VkPipelineExecutableStatisticValueKHR.byteLength=8,VkPipelineExecutableStatisticValueKHR.memoryLayout={b32:{byteOffset:0,byteLength:4},i64:{byteOffset:0,byteLength:8},u64:{byteOffset:0,byteLength:8},f64:{byteOffset:0,byteLength:8}};let STRUCT_CACHE_VkBaseOutStructure={},STRUCT_CACHE_VkBaseInStructure={},STRUCT_CACHE_VkOffset2D={},STRUCT_CACHE_VkOffset3D={},STRUCT_CACHE_VkExtent2D={},STRUCT_CACHE_VkExtent3D={},STRUCT_CACHE_VkViewport={},STRUCT_CACHE_VkRect2D={},STRUCT_CACHE_VkClearRect={},STRUCT_CACHE_VkComponentMapping={},STRUCT_CACHE_VkPhysicalDeviceProperties={},STRUCT_CACHE_VkExtensionProperties={},STRUCT_CACHE_VkLayerProperties={},STRUCT_CACHE_VkApplicationInfo={},STRUCT_CACHE_VkAllocationCallbacks={},STRUCT_CACHE_VkDeviceQueueCreateInfo={},STRUCT_CACHE_VkDeviceCreateInfo={},STRUCT_CACHE_VkInstanceCreateInfo={},STRUCT_CACHE_VkQueueFamilyProperties={},STRUCT_CACHE_VkPhysicalDeviceMemoryProperties={},STRUCT_CACHE_VkMemoryAllocateInfo={},STRUCT_CACHE_VkMemoryRequirements={},STRUCT_CACHE_VkSparseImageFormatProperties={},STRUCT_CACHE_VkSparseImageMemoryRequirements={},STRUCT_CACHE_VkMemoryType={},STRUCT_CACHE_VkMemoryHeap={},STRUCT_CACHE_VkMappedMemoryRange={},STRUCT_CACHE_VkFormatProperties={},STRUCT_CACHE_VkImageFormatProperties={},STRUCT_CACHE_VkDescriptorBufferInfo={},STRUCT_CACHE_VkDescriptorImageInfo={},STRUCT_CACHE_VkWriteDescriptorSet={},STRUCT_CACHE_VkCopyDescriptorSet={},STRUCT_CACHE_VkBufferCreateInfo={},STRUCT_CACHE_VkBufferViewCreateInfo={},STRUCT_CACHE_VkImageSubresource={},STRUCT_CACHE_VkImageSubresourceLayers={},STRUCT_CACHE_VkImageSubresourceRange={},STRUCT_CACHE_VkMemoryBarrier={},STRUCT_CACHE_VkBufferMemoryBarrier={},STRUCT_CACHE_VkImageMemoryBarrier={},STRUCT_CACHE_VkImageCreateInfo={},STRUCT_CACHE_VkSubresourceLayout={},STRUCT_CACHE_VkImageViewCreateInfo={},STRUCT_CACHE_VkBufferCopy={},STRUCT_CACHE_VkSparseMemoryBind={},STRUCT_CACHE_VkSparseImageMemoryBind={},STRUCT_CACHE_VkSparseBufferMemoryBindInfo={},STRUCT_CACHE_VkSparseImageOpaqueMemoryBindInfo={},STRUCT_CACHE_VkSparseImageMemoryBindInfo={},STRUCT_CACHE_VkBindSparseInfo={},STRUCT_CACHE_VkImageCopy={},STRUCT_CACHE_VkImageBlit={},STRUCT_CACHE_VkBufferImageCopy={},STRUCT_CACHE_VkImageResolve={},STRUCT_CACHE_VkShaderModuleCreateInfo={},STRUCT_CACHE_VkDescriptorSetLayoutBinding={},STRUCT_CACHE_VkDescriptorSetLayoutCreateInfo={},STRUCT_CACHE_VkDescriptorPoolSize={},STRUCT_CACHE_VkDescriptorPoolCreateInfo={},STRUCT_CACHE_VkDescriptorSetAllocateInfo={},STRUCT_CACHE_VkSpecializationMapEntry={},STRUCT_CACHE_VkSpecializationInfo={},STRUCT_CACHE_VkPipelineShaderStageCreateInfo={},STRUCT_CACHE_VkComputePipelineCreateInfo={},STRUCT_CACHE_VkVertexInputBindingDescription={},STRUCT_CACHE_VkVertexInputAttributeDescription={},STRUCT_CACHE_VkPipelineVertexInputStateCreateInfo={},STRUCT_CACHE_VkPipelineInputAssemblyStateCreateInfo={},STRUCT_CACHE_VkPipelineTessellationStateCreateInfo={},STRUCT_CACHE_VkPipelineViewportStateCreateInfo={},STRUCT_CACHE_VkPipelineRasterizationStateCreateInfo={},STRUCT_CACHE_VkPipelineMultisampleStateCreateInfo={},STRUCT_CACHE_VkPipelineColorBlendAttachmentState={},STRUCT_CACHE_VkPipelineColorBlendStateCreateInfo={},STRUCT_CACHE_VkPipelineDynamicStateCreateInfo={},STRUCT_CACHE_VkStencilOpState={},STRUCT_CACHE_VkPipelineDepthStencilStateCreateInfo={},STRUCT_CACHE_VkGraphicsPipelineCreateInfo={},STRUCT_CACHE_VkPipelineCacheCreateInfo={},STRUCT_CACHE_VkPushConstantRange={},STRUCT_CACHE_VkPipelineLayoutCreateInfo={},STRUCT_CACHE_VkSamplerCreateInfo={},STRUCT_CACHE_VkCommandPoolCreateInfo={},STRUCT_CACHE_VkCommandBufferAllocateInfo={},STRUCT_CACHE_VkCommandBufferInheritanceInfo={},STRUCT_CACHE_VkCommandBufferBeginInfo={},STRUCT_CACHE_VkRenderPassBeginInfo={},STRUCT_CACHE_VkClearDepthStencilValue={},STRUCT_CACHE_VkClearAttachment={},STRUCT_CACHE_VkAttachmentDescription={},STRUCT_CACHE_VkAttachmentReference={},STRUCT_CACHE_VkSubpassDescription={},STRUCT_CACHE_VkSubpassDependency={},STRUCT_CACHE_VkRenderPassCreateInfo={},STRUCT_CACHE_VkEventCreateInfo={},STRUCT_CACHE_VkFenceCreateInfo={},STRUCT_CACHE_VkPhysicalDeviceFeatures={},STRUCT_CACHE_VkPhysicalDeviceSparseProperties={},STRUCT_CACHE_VkPhysicalDeviceLimits={},STRUCT_CACHE_VkSemaphoreCreateInfo={},STRUCT_CACHE_VkQueryPoolCreateInfo={},STRUCT_CACHE_VkFramebufferCreateInfo={},STRUCT_CACHE_VkDrawIndirectCommand={},STRUCT_CACHE_VkDrawIndexedIndirectCommand={},STRUCT_CACHE_VkDispatchIndirectCommand={},STRUCT_CACHE_VkSubmitInfo={},STRUCT_CACHE_VkDisplayPropertiesKHR={},STRUCT_CACHE_VkDisplayPlanePropertiesKHR={},STRUCT_CACHE_VkDisplayModeParametersKHR={},STRUCT_CACHE_VkDisplayModePropertiesKHR={},STRUCT_CACHE_VkDisplayModeCreateInfoKHR={},STRUCT_CACHE_VkDisplayPlaneCapabilitiesKHR={},STRUCT_CACHE_VkDisplaySurfaceCreateInfoKHR={},STRUCT_CACHE_VkDisplayPresentInfoKHR={},STRUCT_CACHE_VkSurfaceCapabilitiesKHR={},STRUCT_CACHE_VkWin32SurfaceCreateInfoKHR={},STRUCT_CACHE_VkSurfaceFormatKHR={},STRUCT_CACHE_VkSwapchainCreateInfoKHR={},STRUCT_CACHE_VkPresentInfoKHR={},STRUCT_CACHE_VkDebugReportCallbackCreateInfoEXT={},STRUCT_CACHE_VkValidationFlagsEXT={},STRUCT_CACHE_VkValidationFeaturesEXT={},STRUCT_CACHE_VkPipelineRasterizationStateRasterizationOrderAMD={},STRUCT_CACHE_VkDebugMarkerObjectNameInfoEXT={},STRUCT_CACHE_VkDebugMarkerObjectTagInfoEXT={},STRUCT_CACHE_VkDebugMarkerMarkerInfoEXT={},STRUCT_CACHE_VkDedicatedAllocationImageCreateInfoNV={},STRUCT_CACHE_VkDedicatedAllocationBufferCreateInfoNV={},STRUCT_CACHE_VkDedicatedAllocationMemoryAllocateInfoNV={},STRUCT_CACHE_VkExternalImageFormatPropertiesNV={},STRUCT_CACHE_VkExternalMemoryImageCreateInfoNV={},STRUCT_CACHE_VkExportMemoryAllocateInfoNV={},STRUCT_CACHE_VkImportMemoryWin32HandleInfoNV={},STRUCT_CACHE_VkExportMemoryWin32HandleInfoNV={},STRUCT_CACHE_VkWin32KeyedMutexAcquireReleaseInfoNV={},STRUCT_CACHE_VkDeviceGeneratedCommandsFeaturesNVX={},STRUCT_CACHE_VkDeviceGeneratedCommandsLimitsNVX={},STRUCT_CACHE_VkIndirectCommandsTokenNVX={},STRUCT_CACHE_VkIndirectCommandsLayoutTokenNVX={},STRUCT_CACHE_VkIndirectCommandsLayoutCreateInfoNVX={},STRUCT_CACHE_VkCmdProcessCommandsInfoNVX={},STRUCT_CACHE_VkCmdReserveSpaceForCommandsInfoNVX={},STRUCT_CACHE_VkObjectTableCreateInfoNVX={},STRUCT_CACHE_VkObjectTableEntryNVX={},STRUCT_CACHE_VkObjectTablePipelineEntryNVX={},STRUCT_CACHE_VkObjectTableDescriptorSetEntryNVX={},STRUCT_CACHE_VkObjectTableVertexBufferEntryNVX={},STRUCT_CACHE_VkObjectTableIndexBufferEntryNVX={},STRUCT_CACHE_VkObjectTablePushConstantEntryNVX={},STRUCT_CACHE_VkPhysicalDeviceFeatures2={},STRUCT_CACHE_VkPhysicalDeviceFeatures2KHR={},STRUCT_CACHE_VkPhysicalDeviceProperties2={},STRUCT_CACHE_VkPhysicalDeviceProperties2KHR={},STRUCT_CACHE_VkFormatProperties2={},STRUCT_CACHE_VkFormatProperties2KHR={},STRUCT_CACHE_VkImageFormatProperties2={},STRUCT_CACHE_VkImageFormatProperties2KHR={},STRUCT_CACHE_VkPhysicalDeviceImageFormatInfo2={},STRUCT_CACHE_VkPhysicalDeviceImageFormatInfo2KHR={},STRUCT_CACHE_VkQueueFamilyProperties2={},STRUCT_CACHE_VkQueueFamilyProperties2KHR={},STRUCT_CACHE_VkPhysicalDeviceMemoryProperties2={},STRUCT_CACHE_VkPhysicalDeviceMemoryProperties2KHR={},STRUCT_CACHE_VkSparseImageFormatProperties2={},STRUCT_CACHE_VkSparseImageFormatProperties2KHR={},STRUCT_CACHE_VkPhysicalDeviceSparseImageFormatInfo2={},STRUCT_CACHE_VkPhysicalDeviceSparseImageFormatInfo2KHR={},STRUCT_CACHE_VkPhysicalDevicePushDescriptorPropertiesKHR={},STRUCT_CACHE_VkConformanceVersionKHR={},STRUCT_CACHE_VkPhysicalDeviceDriverPropertiesKHR={},STRUCT_CACHE_VkPresentRegionsKHR={},STRUCT_CACHE_VkPresentRegionKHR={},STRUCT_CACHE_VkRectLayerKHR={},STRUCT_CACHE_VkPhysicalDeviceVariablePointersFeatures={},STRUCT_CACHE_VkPhysicalDeviceVariablePointersFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceVariablePointerFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceVariablePointerFeatures={},STRUCT_CACHE_VkExternalMemoryProperties={},STRUCT_CACHE_VkExternalMemoryPropertiesKHR={},STRUCT_CACHE_VkPhysicalDeviceExternalImageFormatInfo={},STRUCT_CACHE_VkPhysicalDeviceExternalImageFormatInfoKHR={},STRUCT_CACHE_VkExternalImageFormatProperties={},STRUCT_CACHE_VkExternalImageFormatPropertiesKHR={},STRUCT_CACHE_VkPhysicalDeviceExternalBufferInfo={},STRUCT_CACHE_VkPhysicalDeviceExternalBufferInfoKHR={},STRUCT_CACHE_VkExternalBufferProperties={},STRUCT_CACHE_VkExternalBufferPropertiesKHR={},STRUCT_CACHE_VkPhysicalDeviceIDProperties={},STRUCT_CACHE_VkPhysicalDeviceIDPropertiesKHR={},STRUCT_CACHE_VkExternalMemoryImageCreateInfo={},STRUCT_CACHE_VkExternalMemoryImageCreateInfoKHR={},STRUCT_CACHE_VkExternalMemoryBufferCreateInfo={},STRUCT_CACHE_VkExternalMemoryBufferCreateInfoKHR={},STRUCT_CACHE_VkExportMemoryAllocateInfo={},STRUCT_CACHE_VkExportMemoryAllocateInfoKHR={},STRUCT_CACHE_VkImportMemoryWin32HandleInfoKHR={},STRUCT_CACHE_VkExportMemoryWin32HandleInfoKHR={},STRUCT_CACHE_VkMemoryWin32HandlePropertiesKHR={},STRUCT_CACHE_VkMemoryGetWin32HandleInfoKHR={},STRUCT_CACHE_VkImportMemoryFdInfoKHR={},STRUCT_CACHE_VkMemoryFdPropertiesKHR={},STRUCT_CACHE_VkMemoryGetFdInfoKHR={},STRUCT_CACHE_VkWin32KeyedMutexAcquireReleaseInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceExternalSemaphoreInfo={},STRUCT_CACHE_VkPhysicalDeviceExternalSemaphoreInfoKHR={},STRUCT_CACHE_VkExternalSemaphoreProperties={},STRUCT_CACHE_VkExternalSemaphorePropertiesKHR={},STRUCT_CACHE_VkExportSemaphoreCreateInfo={},STRUCT_CACHE_VkExportSemaphoreCreateInfoKHR={},STRUCT_CACHE_VkImportSemaphoreWin32HandleInfoKHR={},STRUCT_CACHE_VkExportSemaphoreWin32HandleInfoKHR={},STRUCT_CACHE_VkD3D12FenceSubmitInfoKHR={},STRUCT_CACHE_VkSemaphoreGetWin32HandleInfoKHR={},STRUCT_CACHE_VkImportSemaphoreFdInfoKHR={},STRUCT_CACHE_VkSemaphoreGetFdInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceExternalFenceInfo={},STRUCT_CACHE_VkPhysicalDeviceExternalFenceInfoKHR={},STRUCT_CACHE_VkExternalFenceProperties={},STRUCT_CACHE_VkExternalFencePropertiesKHR={},STRUCT_CACHE_VkExportFenceCreateInfo={},STRUCT_CACHE_VkExportFenceCreateInfoKHR={},STRUCT_CACHE_VkImportFenceWin32HandleInfoKHR={},STRUCT_CACHE_VkExportFenceWin32HandleInfoKHR={},STRUCT_CACHE_VkFenceGetWin32HandleInfoKHR={},STRUCT_CACHE_VkImportFenceFdInfoKHR={},STRUCT_CACHE_VkFenceGetFdInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceMultiviewFeatures={},STRUCT_CACHE_VkPhysicalDeviceMultiviewFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceMultiviewProperties={},STRUCT_CACHE_VkPhysicalDeviceMultiviewPropertiesKHR={},STRUCT_CACHE_VkRenderPassMultiviewCreateInfo={},STRUCT_CACHE_VkRenderPassMultiviewCreateInfoKHR={},STRUCT_CACHE_VkSurfaceCapabilities2EXT={},STRUCT_CACHE_VkDisplayPowerInfoEXT={},STRUCT_CACHE_VkDeviceEventInfoEXT={},STRUCT_CACHE_VkDisplayEventInfoEXT={},STRUCT_CACHE_VkSwapchainCounterCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceGroupProperties={},STRUCT_CACHE_VkPhysicalDeviceGroupPropertiesKHR={},STRUCT_CACHE_VkMemoryAllocateFlagsInfo={},STRUCT_CACHE_VkMemoryAllocateFlagsInfoKHR={},STRUCT_CACHE_VkBindBufferMemoryInfo={},STRUCT_CACHE_VkBindBufferMemoryInfoKHR={},STRUCT_CACHE_VkBindBufferMemoryDeviceGroupInfo={},STRUCT_CACHE_VkBindBufferMemoryDeviceGroupInfoKHR={},STRUCT_CACHE_VkBindImageMemoryInfo={},STRUCT_CACHE_VkBindImageMemoryInfoKHR={},STRUCT_CACHE_VkBindImageMemoryDeviceGroupInfo={},STRUCT_CACHE_VkBindImageMemoryDeviceGroupInfoKHR={},STRUCT_CACHE_VkDeviceGroupRenderPassBeginInfo={},STRUCT_CACHE_VkDeviceGroupRenderPassBeginInfoKHR={},STRUCT_CACHE_VkDeviceGroupCommandBufferBeginInfo={},STRUCT_CACHE_VkDeviceGroupCommandBufferBeginInfoKHR={},STRUCT_CACHE_VkDeviceGroupSubmitInfo={},STRUCT_CACHE_VkDeviceGroupSubmitInfoKHR={},STRUCT_CACHE_VkDeviceGroupBindSparseInfo={},STRUCT_CACHE_VkDeviceGroupBindSparseInfoKHR={},STRUCT_CACHE_VkDeviceGroupPresentCapabilitiesKHR={},STRUCT_CACHE_VkImageSwapchainCreateInfoKHR={},STRUCT_CACHE_VkBindImageMemorySwapchainInfoKHR={},STRUCT_CACHE_VkAcquireNextImageInfoKHR={},STRUCT_CACHE_VkDeviceGroupPresentInfoKHR={},STRUCT_CACHE_VkDeviceGroupDeviceCreateInfo={},STRUCT_CACHE_VkDeviceGroupDeviceCreateInfoKHR={},STRUCT_CACHE_VkDeviceGroupSwapchainCreateInfoKHR={},STRUCT_CACHE_VkDescriptorUpdateTemplateEntry={},STRUCT_CACHE_VkDescriptorUpdateTemplateEntryKHR={},STRUCT_CACHE_VkDescriptorUpdateTemplateCreateInfo={},STRUCT_CACHE_VkDescriptorUpdateTemplateCreateInfoKHR={},STRUCT_CACHE_VkXYColorEXT={},STRUCT_CACHE_VkHdrMetadataEXT={},STRUCT_CACHE_VkDisplayNativeHdrSurfaceCapabilitiesAMD={},STRUCT_CACHE_VkSwapchainDisplayNativeHdrCreateInfoAMD={},STRUCT_CACHE_VkRefreshCycleDurationGOOGLE={},STRUCT_CACHE_VkPastPresentationTimingGOOGLE={},STRUCT_CACHE_VkPresentTimesInfoGOOGLE={},STRUCT_CACHE_VkPresentTimeGOOGLE={},STRUCT_CACHE_VkViewportWScalingNV={},STRUCT_CACHE_VkPipelineViewportWScalingStateCreateInfoNV={},STRUCT_CACHE_VkViewportSwizzleNV={},STRUCT_CACHE_VkPipelineViewportSwizzleStateCreateInfoNV={},STRUCT_CACHE_VkPhysicalDeviceDiscardRectanglePropertiesEXT={},STRUCT_CACHE_VkPipelineDiscardRectangleStateCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX={},STRUCT_CACHE_VkInputAttachmentAspectReference={},STRUCT_CACHE_VkInputAttachmentAspectReferenceKHR={},STRUCT_CACHE_VkRenderPassInputAttachmentAspectCreateInfo={},STRUCT_CACHE_VkRenderPassInputAttachmentAspectCreateInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceSurfaceInfo2KHR={},STRUCT_CACHE_VkSurfaceCapabilities2KHR={},STRUCT_CACHE_VkSurfaceFormat2KHR={},STRUCT_CACHE_VkDisplayProperties2KHR={},STRUCT_CACHE_VkDisplayPlaneProperties2KHR={},STRUCT_CACHE_VkDisplayModeProperties2KHR={},STRUCT_CACHE_VkDisplayPlaneInfo2KHR={},STRUCT_CACHE_VkDisplayPlaneCapabilities2KHR={},STRUCT_CACHE_VkSharedPresentSurfaceCapabilitiesKHR={},STRUCT_CACHE_VkPhysicalDevice16BitStorageFeatures={},STRUCT_CACHE_VkPhysicalDevice16BitStorageFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceSubgroupProperties={},STRUCT_CACHE_VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR={},STRUCT_CACHE_VkBufferMemoryRequirementsInfo2={},STRUCT_CACHE_VkBufferMemoryRequirementsInfo2KHR={},STRUCT_CACHE_VkImageMemoryRequirementsInfo2={},STRUCT_CACHE_VkImageMemoryRequirementsInfo2KHR={},STRUCT_CACHE_VkImageSparseMemoryRequirementsInfo2={},STRUCT_CACHE_VkImageSparseMemoryRequirementsInfo2KHR={},STRUCT_CACHE_VkMemoryRequirements2={},STRUCT_CACHE_VkMemoryRequirements2KHR={},STRUCT_CACHE_VkSparseImageMemoryRequirements2={},STRUCT_CACHE_VkSparseImageMemoryRequirements2KHR={},STRUCT_CACHE_VkPhysicalDevicePointClippingProperties={},STRUCT_CACHE_VkPhysicalDevicePointClippingPropertiesKHR={},STRUCT_CACHE_VkMemoryDedicatedRequirements={},STRUCT_CACHE_VkMemoryDedicatedRequirementsKHR={},STRUCT_CACHE_VkMemoryDedicatedAllocateInfo={},STRUCT_CACHE_VkMemoryDedicatedAllocateInfoKHR={},STRUCT_CACHE_VkImageViewUsageCreateInfo={},STRUCT_CACHE_VkImageViewUsageCreateInfoKHR={},STRUCT_CACHE_VkPipelineTessellationDomainOriginStateCreateInfo={},STRUCT_CACHE_VkPipelineTessellationDomainOriginStateCreateInfoKHR={},STRUCT_CACHE_VkSamplerYcbcrConversionInfo={},STRUCT_CACHE_VkSamplerYcbcrConversionInfoKHR={},STRUCT_CACHE_VkSamplerYcbcrConversionCreateInfo={},STRUCT_CACHE_VkSamplerYcbcrConversionCreateInfoKHR={},STRUCT_CACHE_VkBindImagePlaneMemoryInfo={},STRUCT_CACHE_VkBindImagePlaneMemoryInfoKHR={},STRUCT_CACHE_VkImagePlaneMemoryRequirementsInfo={},STRUCT_CACHE_VkImagePlaneMemoryRequirementsInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceSamplerYcbcrConversionFeatures={},STRUCT_CACHE_VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR={},STRUCT_CACHE_VkSamplerYcbcrConversionImageFormatProperties={},STRUCT_CACHE_VkSamplerYcbcrConversionImageFormatPropertiesKHR={},STRUCT_CACHE_VkTextureLODGatherFormatPropertiesAMD={},STRUCT_CACHE_VkConditionalRenderingBeginInfoEXT={},STRUCT_CACHE_VkProtectedSubmitInfo={},STRUCT_CACHE_VkPhysicalDeviceProtectedMemoryFeatures={},STRUCT_CACHE_VkPhysicalDeviceProtectedMemoryProperties={},STRUCT_CACHE_VkDeviceQueueInfo2={},STRUCT_CACHE_VkPipelineCoverageToColorStateCreateInfoNV={},STRUCT_CACHE_VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT={},STRUCT_CACHE_VkSampleLocationEXT={},STRUCT_CACHE_VkSampleLocationsInfoEXT={},STRUCT_CACHE_VkAttachmentSampleLocationsEXT={},STRUCT_CACHE_VkSubpassSampleLocationsEXT={},STRUCT_CACHE_VkRenderPassSampleLocationsBeginInfoEXT={},STRUCT_CACHE_VkPipelineSampleLocationsStateCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceSampleLocationsPropertiesEXT={},STRUCT_CACHE_VkMultisamplePropertiesEXT={},STRUCT_CACHE_VkSamplerReductionModeCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT={},STRUCT_CACHE_VkPipelineColorBlendAdvancedStateCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceInlineUniformBlockFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceInlineUniformBlockPropertiesEXT={},STRUCT_CACHE_VkWriteDescriptorSetInlineUniformBlockEXT={},STRUCT_CACHE_VkDescriptorPoolInlineUniformBlockCreateInfoEXT={},STRUCT_CACHE_VkPipelineCoverageModulationStateCreateInfoNV={},STRUCT_CACHE_VkImageFormatListCreateInfoKHR={},STRUCT_CACHE_VkValidationCacheCreateInfoEXT={},STRUCT_CACHE_VkShaderModuleValidationCacheCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceMaintenance3Properties={},STRUCT_CACHE_VkPhysicalDeviceMaintenance3PropertiesKHR={},STRUCT_CACHE_VkDescriptorSetLayoutSupport={},STRUCT_CACHE_VkDescriptorSetLayoutSupportKHR={},STRUCT_CACHE_VkPhysicalDeviceShaderDrawParametersFeatures={},STRUCT_CACHE_VkPhysicalDeviceShaderDrawParameterFeatures={},STRUCT_CACHE_VkPhysicalDeviceShaderFloat16Int8FeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceFloat16Int8FeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceFloatControlsPropertiesKHR={},STRUCT_CACHE_VkPhysicalDeviceHostQueryResetFeaturesEXT={},STRUCT_CACHE_VkShaderResourceUsageAMD={},STRUCT_CACHE_VkShaderStatisticsInfoAMD={},STRUCT_CACHE_VkDeviceQueueGlobalPriorityCreateInfoEXT={},STRUCT_CACHE_VkDebugUtilsObjectNameInfoEXT={},STRUCT_CACHE_VkDebugUtilsObjectTagInfoEXT={},STRUCT_CACHE_VkDebugUtilsLabelEXT={},STRUCT_CACHE_VkDebugUtilsMessengerCreateInfoEXT={},STRUCT_CACHE_VkDebugUtilsMessengerCallbackDataEXT={},STRUCT_CACHE_VkImportMemoryHostPointerInfoEXT={},STRUCT_CACHE_VkMemoryHostPointerPropertiesEXT={},STRUCT_CACHE_VkPhysicalDeviceExternalMemoryHostPropertiesEXT={},STRUCT_CACHE_VkPhysicalDeviceConservativeRasterizationPropertiesEXT={},STRUCT_CACHE_VkCalibratedTimestampInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceShaderCorePropertiesAMD={},STRUCT_CACHE_VkPhysicalDeviceShaderCoreProperties2AMD={},STRUCT_CACHE_VkPipelineRasterizationConservativeStateCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceDescriptorIndexingFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceDescriptorIndexingPropertiesEXT={},STRUCT_CACHE_VkDescriptorSetLayoutBindingFlagsCreateInfoEXT={},STRUCT_CACHE_VkDescriptorSetVariableDescriptorCountAllocateInfoEXT={},STRUCT_CACHE_VkDescriptorSetVariableDescriptorCountLayoutSupportEXT={},STRUCT_CACHE_VkAttachmentDescription2KHR={},STRUCT_CACHE_VkAttachmentReference2KHR={},STRUCT_CACHE_VkSubpassDescription2KHR={},STRUCT_CACHE_VkSubpassDependency2KHR={},STRUCT_CACHE_VkRenderPassCreateInfo2KHR={},STRUCT_CACHE_VkSubpassBeginInfoKHR={},STRUCT_CACHE_VkSubpassEndInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceTimelineSemaphoreFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceTimelineSemaphorePropertiesKHR={},STRUCT_CACHE_VkSemaphoreTypeCreateInfoKHR={},STRUCT_CACHE_VkTimelineSemaphoreSubmitInfoKHR={},STRUCT_CACHE_VkSemaphoreWaitInfoKHR={},STRUCT_CACHE_VkSemaphoreSignalInfoKHR={},STRUCT_CACHE_VkVertexInputBindingDivisorDescriptionEXT={},STRUCT_CACHE_VkPipelineVertexInputDivisorStateCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT={},STRUCT_CACHE_VkPhysicalDevicePCIBusInfoPropertiesEXT={},STRUCT_CACHE_VkCommandBufferInheritanceConditionalRenderingInfoEXT={},STRUCT_CACHE_VkPhysicalDevice8BitStorageFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceConditionalRenderingFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceVulkanMemoryModelFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceShaderAtomicInt64FeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT={},STRUCT_CACHE_VkQueueFamilyCheckpointPropertiesNV={},STRUCT_CACHE_VkCheckpointDataNV={},STRUCT_CACHE_VkPhysicalDeviceDepthStencilResolvePropertiesKHR={},STRUCT_CACHE_VkSubpassDescriptionDepthStencilResolveKHR={},STRUCT_CACHE_VkImageViewASTCDecodeModeEXT={},STRUCT_CACHE_VkPhysicalDeviceASTCDecodeFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceTransformFeedbackFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceTransformFeedbackPropertiesEXT={},STRUCT_CACHE_VkPipelineRasterizationStateStreamCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV={},STRUCT_CACHE_VkPipelineRepresentativeFragmentTestStateCreateInfoNV={},STRUCT_CACHE_VkPhysicalDeviceExclusiveScissorFeaturesNV={},STRUCT_CACHE_VkPipelineViewportExclusiveScissorStateCreateInfoNV={},STRUCT_CACHE_VkPhysicalDeviceCornerSampledImageFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceComputeShaderDerivativesFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceShaderImageFootprintFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV={},STRUCT_CACHE_VkShadingRatePaletteNV={},STRUCT_CACHE_VkPipelineViewportShadingRateImageStateCreateInfoNV={},STRUCT_CACHE_VkPhysicalDeviceShadingRateImageFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceShadingRateImagePropertiesNV={},STRUCT_CACHE_VkCoarseSampleLocationNV={},STRUCT_CACHE_VkCoarseSampleOrderCustomNV={},STRUCT_CACHE_VkPipelineViewportCoarseSampleOrderStateCreateInfoNV={},STRUCT_CACHE_VkPhysicalDeviceMeshShaderFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceMeshShaderPropertiesNV={},STRUCT_CACHE_VkDrawMeshTasksIndirectCommandNV={},STRUCT_CACHE_VkRayTracingShaderGroupCreateInfoNV={},STRUCT_CACHE_VkRayTracingPipelineCreateInfoNV={},STRUCT_CACHE_VkGeometryTrianglesNV={},STRUCT_CACHE_VkGeometryAABBNV={},STRUCT_CACHE_VkGeometryDataNV={},STRUCT_CACHE_VkGeometryNV={},STRUCT_CACHE_VkAccelerationStructureInfoNV={},STRUCT_CACHE_VkAccelerationStructureCreateInfoNV={},STRUCT_CACHE_VkBindAccelerationStructureMemoryInfoNV={},STRUCT_CACHE_VkWriteDescriptorSetAccelerationStructureNV={},STRUCT_CACHE_VkAccelerationStructureMemoryRequirementsInfoNV={},STRUCT_CACHE_VkPhysicalDeviceRayTracingPropertiesNV={},STRUCT_CACHE_VkDrmFormatModifierPropertiesListEXT={},STRUCT_CACHE_VkDrmFormatModifierPropertiesEXT={},STRUCT_CACHE_VkPhysicalDeviceImageDrmFormatModifierInfoEXT={},STRUCT_CACHE_VkImageDrmFormatModifierListCreateInfoEXT={},STRUCT_CACHE_VkImageDrmFormatModifierExplicitCreateInfoEXT={},STRUCT_CACHE_VkImageDrmFormatModifierPropertiesEXT={},STRUCT_CACHE_VkImageStencilUsageCreateInfoEXT={},STRUCT_CACHE_VkDeviceMemoryOverallocationCreateInfoAMD={},STRUCT_CACHE_VkPhysicalDeviceFragmentDensityMapFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceFragmentDensityMapPropertiesEXT={},STRUCT_CACHE_VkRenderPassFragmentDensityMapCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceScalarBlockLayoutFeaturesEXT={},STRUCT_CACHE_VkSurfaceProtectedCapabilitiesKHR={},STRUCT_CACHE_VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceDepthClipEnableFeaturesEXT={},STRUCT_CACHE_VkPipelineRasterizationDepthClipStateCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceMemoryBudgetPropertiesEXT={},STRUCT_CACHE_VkPhysicalDeviceMemoryPriorityFeaturesEXT={},STRUCT_CACHE_VkMemoryPriorityAllocateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceBufferDeviceAddressFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceBufferAddressFeaturesEXT={},STRUCT_CACHE_VkBufferDeviceAddressInfoEXT={},STRUCT_CACHE_VkBufferDeviceAddressCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceImageViewImageFormatInfoEXT={},STRUCT_CACHE_VkFilterCubicImageViewImageFormatPropertiesEXT={},STRUCT_CACHE_VkPhysicalDeviceImagelessFramebufferFeaturesKHR={},STRUCT_CACHE_VkFramebufferAttachmentsCreateInfoKHR={},STRUCT_CACHE_VkFramebufferAttachmentImageInfoKHR={},STRUCT_CACHE_VkRenderPassAttachmentBeginInfoKHR={},STRUCT_CACHE_VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceCooperativeMatrixFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceCooperativeMatrixPropertiesNV={},STRUCT_CACHE_VkCooperativeMatrixPropertiesNV={},STRUCT_CACHE_VkPhysicalDeviceYcbcrImageArraysFeaturesEXT={},STRUCT_CACHE_VkImageViewHandleInfoNVX={},STRUCT_CACHE_VkPipelineCreationFeedbackEXT={},STRUCT_CACHE_VkPipelineCreationFeedbackCreateInfoEXT={},STRUCT_CACHE_VkSurfaceFullScreenExclusiveInfoEXT={},STRUCT_CACHE_VkSurfaceFullScreenExclusiveWin32InfoEXT={},STRUCT_CACHE_VkSurfaceCapabilitiesFullScreenExclusiveEXT={},STRUCT_CACHE_VkHeadlessSurfaceCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceCoverageReductionModeFeaturesNV={},STRUCT_CACHE_VkPipelineCoverageReductionStateCreateInfoNV={},STRUCT_CACHE_VkFramebufferMixedSamplesCombinationNV={},STRUCT_CACHE_VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL={},STRUCT_CACHE_VkPerformanceValueINTEL={},STRUCT_CACHE_VkInitializePerformanceApiInfoINTEL={},STRUCT_CACHE_VkQueryPoolCreateInfoINTEL={},STRUCT_CACHE_VkPerformanceMarkerInfoINTEL={},STRUCT_CACHE_VkPerformanceStreamMarkerInfoINTEL={},STRUCT_CACHE_VkPerformanceOverrideInfoINTEL={},STRUCT_CACHE_VkPerformanceConfigurationAcquireInfoINTEL={},STRUCT_CACHE_VkPhysicalDeviceShaderClockFeaturesKHR={},STRUCT_CACHE_VkPhysicalDeviceIndexTypeUint8FeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceShaderSMBuiltinsPropertiesNV={},STRUCT_CACHE_VkPhysicalDeviceShaderSMBuiltinsFeaturesNV={},STRUCT_CACHE_VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT={},STRUCT_CACHE_VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR={},STRUCT_CACHE_VkPipelineInfoKHR={},STRUCT_CACHE_VkPipelineExecutablePropertiesKHR={},STRUCT_CACHE_VkPipelineExecutableInfoKHR={},STRUCT_CACHE_VkPipelineExecutableStatisticKHR={},STRUCT_CACHE_VkPipelineExecutableInternalRepresentationKHR={},STRUCT_CACHE_VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT={},STRUCT_CACHE_VkPhysicalDeviceSubgroupSizeControlFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceSubgroupSizeControlPropertiesEXT={},STRUCT_CACHE_VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT={},STRUCT_CACHE_VkPhysicalDeviceLineRasterizationFeaturesEXT={},STRUCT_CACHE_VkPhysicalDeviceLineRasterizationPropertiesEXT={},STRUCT_CACHE_VkPipelineRasterizationLineStateCreateInfoEXT={},STRUCT_CACHE_VkPipelineCompilerControlCreateInfoAMD={},STRUCT_CACHE_VkPhysicalDeviceCoherentMemoryFeaturesAMD={},STRUCT_CACHE_VkClearColorValue={},STRUCT_CACHE_VkClearValue={},STRUCT_CACHE_VkPerformanceValueDataINTEL={},STRUCT_CACHE_VkPipelineExecutableStatisticValueKHR={};module.exports={...VK_ENUMERATIONS,VK_MAKE_VERSION:nvk.VK_MAKE_VERSION,VK_VERSION_MAJOR:nvk.VK_VERSION_MAJOR,VK_VERSION_MINOR:nvk.VK_VERSION_MINOR,VK_VERSION_PATCH:nvk.VK_VERSION_PATCH,VK_API_VERSION_1_0:nvk.VK_API_VERSION_1_0,VK_API_VERSION_1_1:nvk.VK_API_VERSION_1_1,vkUseDevice:nvk.vkUseDevice,vkUseInstance:nvk.vkUseInstance,VulkanWindow:nvk.VulkanWindow,vkCreateInstance:nvk.vkCreateInstance,vkDestroyInstance:nvk.vkDestroyInstance,vkEnumeratePhysicalDevices:nvk.vkEnumeratePhysicalDevices,vkGetDeviceProcAddr:nvk.vkGetDeviceProcAddr,vkGetInstanceProcAddr:nvk.vkGetInstanceProcAddr,vkGetPhysicalDeviceProperties:nvk.vkGetPhysicalDeviceProperties,vkGetPhysicalDeviceQueueFamilyProperties:nvk.vkGetPhysicalDeviceQueueFamilyProperties,vkGetPhysicalDeviceMemoryProperties:nvk.vkGetPhysicalDeviceMemoryProperties,vkGetPhysicalDeviceFeatures:nvk.vkGetPhysicalDeviceFeatures,vkGetPhysicalDeviceFormatProperties:nvk.vkGetPhysicalDeviceFormatProperties,vkGetPhysicalDeviceImageFormatProperties:nvk.vkGetPhysicalDeviceImageFormatProperties,vkCreateDevice:nvk.vkCreateDevice,vkDestroyDevice:nvk.vkDestroyDevice,vkEnumerateInstanceVersion:nvk.vkEnumerateInstanceVersion,vkEnumerateInstanceLayerProperties:nvk.vkEnumerateInstanceLayerProperties,vkEnumerateInstanceExtensionProperties:nvk.vkEnumerateInstanceExtensionProperties,vkEnumerateDeviceLayerProperties:nvk.vkEnumerateDeviceLayerProperties,vkEnumerateDeviceExtensionProperties:nvk.vkEnumerateDeviceExtensionProperties,vkGetDeviceQueue:nvk.vkGetDeviceQueue,vkQueueSubmit:nvk.vkQueueSubmit,vkQueueWaitIdle:nvk.vkQueueWaitIdle,vkDeviceWaitIdle:nvk.vkDeviceWaitIdle,vkAllocateMemory:nvk.vkAllocateMemory,vkFreeMemory:nvk.vkFreeMemory,vkMapMemory:nvk.vkMapMemory,vkUnmapMemory:nvk.vkUnmapMemory,vkFlushMappedMemoryRanges:nvk.vkFlushMappedMemoryRanges,vkInvalidateMappedMemoryRanges:nvk.vkInvalidateMappedMemoryRanges,vkGetDeviceMemoryCommitment:nvk.vkGetDeviceMemoryCommitment,vkGetBufferMemoryRequirements:nvk.vkGetBufferMemoryRequirements,vkBindBufferMemory:nvk.vkBindBufferMemory,vkGetImageMemoryRequirements:nvk.vkGetImageMemoryRequirements,vkBindImageMemory:nvk.vkBindImageMemory,vkGetImageSparseMemoryRequirements:nvk.vkGetImageSparseMemoryRequirements,vkGetPhysicalDeviceSparseImageFormatProperties:nvk.vkGetPhysicalDeviceSparseImageFormatProperties,vkQueueBindSparse:nvk.vkQueueBindSparse,vkCreateFence:nvk.vkCreateFence,vkDestroyFence:nvk.vkDestroyFence,vkResetFences:nvk.vkResetFences,vkGetFenceStatus:nvk.vkGetFenceStatus,vkWaitForFences:nvk.vkWaitForFences,vkCreateSemaphore:nvk.vkCreateSemaphore,vkDestroySemaphore:nvk.vkDestroySemaphore,vkCreateEvent:nvk.vkCreateEvent,vkDestroyEvent:nvk.vkDestroyEvent,vkGetEventStatus:nvk.vkGetEventStatus,vkSetEvent:nvk.vkSetEvent,vkResetEvent:nvk.vkResetEvent,vkCreateQueryPool:nvk.vkCreateQueryPool,vkDestroyQueryPool:nvk.vkDestroyQueryPool,vkGetQueryPoolResults:nvk.vkGetQueryPoolResults,vkResetQueryPoolEXT:nvk.vkResetQueryPoolEXT,vkCreateBuffer:nvk.vkCreateBuffer,vkDestroyBuffer:nvk.vkDestroyBuffer,vkCreateBufferView:nvk.vkCreateBufferView,vkDestroyBufferView:nvk.vkDestroyBufferView,vkCreateImage:nvk.vkCreateImage,vkDestroyImage:nvk.vkDestroyImage,vkGetImageSubresourceLayout:nvk.vkGetImageSubresourceLayout,vkCreateImageView:nvk.vkCreateImageView,vkDestroyImageView:nvk.vkDestroyImageView,vkCreateShaderModule:nvk.vkCreateShaderModule,vkDestroyShaderModule:nvk.vkDestroyShaderModule,vkCreatePipelineCache:nvk.vkCreatePipelineCache,vkDestroyPipelineCache:nvk.vkDestroyPipelineCache,vkGetPipelineCacheData:nvk.vkGetPipelineCacheData,vkMergePipelineCaches:nvk.vkMergePipelineCaches,vkCreateGraphicsPipelines:nvk.vkCreateGraphicsPipelines,vkCreateComputePipelines:nvk.vkCreateComputePipelines,vkDestroyPipeline:nvk.vkDestroyPipeline,vkCreatePipelineLayout:nvk.vkCreatePipelineLayout,vkDestroyPipelineLayout:nvk.vkDestroyPipelineLayout,vkCreateSampler:nvk.vkCreateSampler,vkDestroySampler:nvk.vkDestroySampler,vkCreateDescriptorSetLayout:nvk.vkCreateDescriptorSetLayout,vkDestroyDescriptorSetLayout:nvk.vkDestroyDescriptorSetLayout,vkCreateDescriptorPool:nvk.vkCreateDescriptorPool,vkDestroyDescriptorPool:nvk.vkDestroyDescriptorPool,vkResetDescriptorPool:nvk.vkResetDescriptorPool,vkAllocateDescriptorSets:nvk.vkAllocateDescriptorSets,vkFreeDescriptorSets:nvk.vkFreeDescriptorSets,vkUpdateDescriptorSets:nvk.vkUpdateDescriptorSets,vkCreateFramebuffer:nvk.vkCreateFramebuffer,vkDestroyFramebuffer:nvk.vkDestroyFramebuffer,vkCreateRenderPass:nvk.vkCreateRenderPass,vkDestroyRenderPass:nvk.vkDestroyRenderPass,vkGetRenderAreaGranularity:nvk.vkGetRenderAreaGranularity,vkCreateCommandPool:nvk.vkCreateCommandPool,vkDestroyCommandPool:nvk.vkDestroyCommandPool,vkResetCommandPool:nvk.vkResetCommandPool,vkAllocateCommandBuffers:nvk.vkAllocateCommandBuffers,vkFreeCommandBuffers:nvk.vkFreeCommandBuffers,vkBeginCommandBuffer:nvk.vkBeginCommandBuffer,vkEndCommandBuffer:nvk.vkEndCommandBuffer,vkResetCommandBuffer:nvk.vkResetCommandBuffer,vkCmdBindPipeline:nvk.vkCmdBindPipeline,vkCmdSetViewport:nvk.vkCmdSetViewport,vkCmdSetScissor:nvk.vkCmdSetScissor,vkCmdSetLineWidth:nvk.vkCmdSetLineWidth,vkCmdSetDepthBias:nvk.vkCmdSetDepthBias,vkCmdSetBlendConstants:nvk.vkCmdSetBlendConstants,vkCmdSetDepthBounds:nvk.vkCmdSetDepthBounds,vkCmdSetStencilCompareMask:nvk.vkCmdSetStencilCompareMask,vkCmdSetStencilWriteMask:nvk.vkCmdSetStencilWriteMask,vkCmdSetStencilReference:nvk.vkCmdSetStencilReference,vkCmdBindDescriptorSets:nvk.vkCmdBindDescriptorSets,vkCmdBindIndexBuffer:nvk.vkCmdBindIndexBuffer,vkCmdBindVertexBuffers:nvk.vkCmdBindVertexBuffers,vkCmdDraw:nvk.vkCmdDraw,vkCmdDrawIndexed:nvk.vkCmdDrawIndexed,vkCmdDrawIndirect:nvk.vkCmdDrawIndirect,vkCmdDrawIndexedIndirect:nvk.vkCmdDrawIndexedIndirect,vkCmdDispatch:nvk.vkCmdDispatch,vkCmdDispatchIndirect:nvk.vkCmdDispatchIndirect,vkCmdCopyBuffer:nvk.vkCmdCopyBuffer,vkCmdCopyImage:nvk.vkCmdCopyImage,vkCmdBlitImage:nvk.vkCmdBlitImage,vkCmdCopyBufferToImage:nvk.vkCmdCopyBufferToImage,vkCmdCopyImageToBuffer:nvk.vkCmdCopyImageToBuffer,vkCmdUpdateBuffer:nvk.vkCmdUpdateBuffer,vkCmdFillBuffer:nvk.vkCmdFillBuffer,vkCmdClearColorImage:nvk.vkCmdClearColorImage,vkCmdClearDepthStencilImage:nvk.vkCmdClearDepthStencilImage,vkCmdClearAttachments:nvk.vkCmdClearAttachments,vkCmdResolveImage:nvk.vkCmdResolveImage,vkCmdSetEvent:nvk.vkCmdSetEvent,vkCmdResetEvent:nvk.vkCmdResetEvent,vkCmdWaitEvents:nvk.vkCmdWaitEvents,vkCmdPipelineBarrier:nvk.vkCmdPipelineBarrier,vkCmdBeginQuery:nvk.vkCmdBeginQuery,vkCmdEndQuery:nvk.vkCmdEndQuery,vkCmdBeginConditionalRenderingEXT:nvk.vkCmdBeginConditionalRenderingEXT,vkCmdEndConditionalRenderingEXT:nvk.vkCmdEndConditionalRenderingEXT,vkCmdResetQueryPool:nvk.vkCmdResetQueryPool,vkCmdWriteTimestamp:nvk.vkCmdWriteTimestamp,vkCmdCopyQueryPoolResults:nvk.vkCmdCopyQueryPoolResults,vkCmdPushConstants:nvk.vkCmdPushConstants,vkCmdBeginRenderPass:nvk.vkCmdBeginRenderPass,vkCmdNextSubpass:nvk.vkCmdNextSubpass,vkCmdEndRenderPass:nvk.vkCmdEndRenderPass,vkCmdExecuteCommands:nvk.vkCmdExecuteCommands,vkGetPhysicalDeviceDisplayPropertiesKHR:nvk.vkGetPhysicalDeviceDisplayPropertiesKHR,vkGetPhysicalDeviceDisplayPlanePropertiesKHR:nvk.vkGetPhysicalDeviceDisplayPlanePropertiesKHR,vkGetDisplayPlaneSupportedDisplaysKHR:nvk.vkGetDisplayPlaneSupportedDisplaysKHR,vkGetDisplayModePropertiesKHR:nvk.vkGetDisplayModePropertiesKHR,vkCreateDisplayModeKHR:nvk.vkCreateDisplayModeKHR,vkGetDisplayPlaneCapabilitiesKHR:nvk.vkGetDisplayPlaneCapabilitiesKHR,vkCreateDisplayPlaneSurfaceKHR:nvk.vkCreateDisplayPlaneSurfaceKHR,vkCreateSharedSwapchainsKHR:nvk.vkCreateSharedSwapchainsKHR,vkDestroySurfaceKHR:nvk.vkDestroySurfaceKHR,vkGetPhysicalDeviceSurfaceSupportKHR:nvk.vkGetPhysicalDeviceSurfaceSupportKHR,vkGetPhysicalDeviceSurfaceCapabilitiesKHR:nvk.vkGetPhysicalDeviceSurfaceCapabilitiesKHR,vkGetPhysicalDeviceSurfaceFormatsKHR:nvk.vkGetPhysicalDeviceSurfaceFormatsKHR,vkGetPhysicalDeviceSurfacePresentModesKHR:nvk.vkGetPhysicalDeviceSurfacePresentModesKHR,vkCreateSwapchainKHR:nvk.vkCreateSwapchainKHR,vkDestroySwapchainKHR:nvk.vkDestroySwapchainKHR,vkGetSwapchainImagesKHR:nvk.vkGetSwapchainImagesKHR,vkAcquireNextImageKHR:nvk.vkAcquireNextImageKHR,vkQueuePresentKHR:nvk.vkQueuePresentKHR,vkCreateWin32SurfaceKHR:nvk.vkCreateWin32SurfaceKHR,vkGetPhysicalDeviceWin32PresentationSupportKHR:nvk.vkGetPhysicalDeviceWin32PresentationSupportKHR,vkCreateDebugReportCallbackEXT:nvk.vkCreateDebugReportCallbackEXT,vkDestroyDebugReportCallbackEXT:nvk.vkDestroyDebugReportCallbackEXT,vkDebugReportMessageEXT:nvk.vkDebugReportMessageEXT,vkDebugMarkerSetObjectNameEXT:nvk.vkDebugMarkerSetObjectNameEXT,vkDebugMarkerSetObjectTagEXT:nvk.vkDebugMarkerSetObjectTagEXT,vkCmdDebugMarkerBeginEXT:nvk.vkCmdDebugMarkerBeginEXT,vkCmdDebugMarkerEndEXT:nvk.vkCmdDebugMarkerEndEXT,vkCmdDebugMarkerInsertEXT:nvk.vkCmdDebugMarkerInsertEXT,vkGetPhysicalDeviceExternalImageFormatPropertiesNV:nvk.vkGetPhysicalDeviceExternalImageFormatPropertiesNV,vkGetMemoryWin32HandleNV:nvk.vkGetMemoryWin32HandleNV,vkCmdProcessCommandsNVX:nvk.vkCmdProcessCommandsNVX,vkCmdReserveSpaceForCommandsNVX:nvk.vkCmdReserveSpaceForCommandsNVX,vkCreateIndirectCommandsLayoutNVX:nvk.vkCreateIndirectCommandsLayoutNVX,vkDestroyIndirectCommandsLayoutNVX:nvk.vkDestroyIndirectCommandsLayoutNVX,vkCreateObjectTableNVX:nvk.vkCreateObjectTableNVX,vkDestroyObjectTableNVX:nvk.vkDestroyObjectTableNVX,vkRegisterObjectsNVX:nvk.vkRegisterObjectsNVX,vkUnregisterObjectsNVX:nvk.vkUnregisterObjectsNVX,vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX:nvk.vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX,vkGetPhysicalDeviceFeatures2:nvk.vkGetPhysicalDeviceFeatures2,vkGetPhysicalDeviceProperties2:nvk.vkGetPhysicalDeviceProperties2,vkGetPhysicalDeviceFormatProperties2:nvk.vkGetPhysicalDeviceFormatProperties2,vkGetPhysicalDeviceImageFormatProperties2:nvk.vkGetPhysicalDeviceImageFormatProperties2,vkGetPhysicalDeviceQueueFamilyProperties2:nvk.vkGetPhysicalDeviceQueueFamilyProperties2,vkGetPhysicalDeviceMemoryProperties2:nvk.vkGetPhysicalDeviceMemoryProperties2,vkGetPhysicalDeviceSparseImageFormatProperties2:nvk.vkGetPhysicalDeviceSparseImageFormatProperties2,vkCmdPushDescriptorSetKHR:nvk.vkCmdPushDescriptorSetKHR,vkTrimCommandPool:nvk.vkTrimCommandPool,vkGetPhysicalDeviceExternalBufferProperties:nvk.vkGetPhysicalDeviceExternalBufferProperties,vkGetMemoryWin32HandleKHR:nvk.vkGetMemoryWin32HandleKHR,vkGetMemoryWin32HandlePropertiesKHR:nvk.vkGetMemoryWin32HandlePropertiesKHR,vkGetMemoryFdKHR:nvk.vkGetMemoryFdKHR,vkGetMemoryFdPropertiesKHR:nvk.vkGetMemoryFdPropertiesKHR,vkGetPhysicalDeviceExternalSemaphoreProperties:nvk.vkGetPhysicalDeviceExternalSemaphoreProperties,vkGetSemaphoreWin32HandleKHR:nvk.vkGetSemaphoreWin32HandleKHR,vkImportSemaphoreWin32HandleKHR:nvk.vkImportSemaphoreWin32HandleKHR,vkGetSemaphoreFdKHR:nvk.vkGetSemaphoreFdKHR,vkImportSemaphoreFdKHR:nvk.vkImportSemaphoreFdKHR,vkGetPhysicalDeviceExternalFenceProperties:nvk.vkGetPhysicalDeviceExternalFenceProperties,vkGetFenceWin32HandleKHR:nvk.vkGetFenceWin32HandleKHR,vkImportFenceWin32HandleKHR:nvk.vkImportFenceWin32HandleKHR,vkGetFenceFdKHR:nvk.vkGetFenceFdKHR,vkImportFenceFdKHR:nvk.vkImportFenceFdKHR,vkReleaseDisplayEXT:nvk.vkReleaseDisplayEXT,vkDisplayPowerControlEXT:nvk.vkDisplayPowerControlEXT,vkRegisterDeviceEventEXT:nvk.vkRegisterDeviceEventEXT,vkRegisterDisplayEventEXT:nvk.vkRegisterDisplayEventEXT,vkGetSwapchainCounterEXT:nvk.vkGetSwapchainCounterEXT,vkGetPhysicalDeviceSurfaceCapabilities2EXT:nvk.vkGetPhysicalDeviceSurfaceCapabilities2EXT,vkEnumeratePhysicalDeviceGroups:nvk.vkEnumeratePhysicalDeviceGroups,vkGetDeviceGroupPeerMemoryFeatures:nvk.vkGetDeviceGroupPeerMemoryFeatures,vkBindBufferMemory2:nvk.vkBindBufferMemory2,vkBindImageMemory2:nvk.vkBindImageMemory2,vkCmdSetDeviceMask:nvk.vkCmdSetDeviceMask,vkGetDeviceGroupPresentCapabilitiesKHR:nvk.vkGetDeviceGroupPresentCapabilitiesKHR,vkGetDeviceGroupSurfacePresentModesKHR:nvk.vkGetDeviceGroupSurfacePresentModesKHR,vkAcquireNextImage2KHR:nvk.vkAcquireNextImage2KHR,vkCmdDispatchBase:nvk.vkCmdDispatchBase,vkGetPhysicalDevicePresentRectanglesKHR:nvk.vkGetPhysicalDevicePresentRectanglesKHR,vkCreateDescriptorUpdateTemplate:nvk.vkCreateDescriptorUpdateTemplate,vkDestroyDescriptorUpdateTemplate:nvk.vkDestroyDescriptorUpdateTemplate,vkUpdateDescriptorSetWithTemplate:nvk.vkUpdateDescriptorSetWithTemplate,vkCmdPushDescriptorSetWithTemplateKHR:nvk.vkCmdPushDescriptorSetWithTemplateKHR,vkSetHdrMetadataEXT:nvk.vkSetHdrMetadataEXT,vkGetSwapchainStatusKHR:nvk.vkGetSwapchainStatusKHR,vkGetRefreshCycleDurationGOOGLE:nvk.vkGetRefreshCycleDurationGOOGLE,vkGetPastPresentationTimingGOOGLE:nvk.vkGetPastPresentationTimingGOOGLE,vkCmdSetViewportWScalingNV:nvk.vkCmdSetViewportWScalingNV,vkCmdSetDiscardRectangleEXT:nvk.vkCmdSetDiscardRectangleEXT,vkCmdSetSampleLocationsEXT:nvk.vkCmdSetSampleLocationsEXT,vkGetPhysicalDeviceMultisamplePropertiesEXT:nvk.vkGetPhysicalDeviceMultisamplePropertiesEXT,vkGetPhysicalDeviceSurfaceCapabilities2KHR:nvk.vkGetPhysicalDeviceSurfaceCapabilities2KHR,vkGetPhysicalDeviceSurfaceFormats2KHR:nvk.vkGetPhysicalDeviceSurfaceFormats2KHR,vkGetPhysicalDeviceDisplayProperties2KHR:nvk.vkGetPhysicalDeviceDisplayProperties2KHR,vkGetPhysicalDeviceDisplayPlaneProperties2KHR:nvk.vkGetPhysicalDeviceDisplayPlaneProperties2KHR,vkGetDisplayModeProperties2KHR:nvk.vkGetDisplayModeProperties2KHR,vkGetDisplayPlaneCapabilities2KHR:nvk.vkGetDisplayPlaneCapabilities2KHR,vkGetBufferMemoryRequirements2:nvk.vkGetBufferMemoryRequirements2,vkGetImageMemoryRequirements2:nvk.vkGetImageMemoryRequirements2,vkGetImageSparseMemoryRequirements2:nvk.vkGetImageSparseMemoryRequirements2,vkCreateSamplerYcbcrConversion:nvk.vkCreateSamplerYcbcrConversion,vkDestroySamplerYcbcrConversion:nvk.vkDestroySamplerYcbcrConversion,vkGetDeviceQueue2:nvk.vkGetDeviceQueue2,vkCreateValidationCacheEXT:nvk.vkCreateValidationCacheEXT,vkDestroyValidationCacheEXT:nvk.vkDestroyValidationCacheEXT,vkGetValidationCacheDataEXT:nvk.vkGetValidationCacheDataEXT,vkMergeValidationCachesEXT:nvk.vkMergeValidationCachesEXT,vkGetDescriptorSetLayoutSupport:nvk.vkGetDescriptorSetLayoutSupport,vkGetShaderInfoAMD:nvk.vkGetShaderInfoAMD,vkSetLocalDimmingAMD:nvk.vkSetLocalDimmingAMD,vkGetPhysicalDeviceCalibrateableTimeDomainsEXT:nvk.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT,vkGetCalibratedTimestampsEXT:nvk.vkGetCalibratedTimestampsEXT,vkSetDebugUtilsObjectNameEXT:nvk.vkSetDebugUtilsObjectNameEXT,vkSetDebugUtilsObjectTagEXT:nvk.vkSetDebugUtilsObjectTagEXT,vkQueueBeginDebugUtilsLabelEXT:nvk.vkQueueBeginDebugUtilsLabelEXT,vkQueueEndDebugUtilsLabelEXT:nvk.vkQueueEndDebugUtilsLabelEXT,vkQueueInsertDebugUtilsLabelEXT:nvk.vkQueueInsertDebugUtilsLabelEXT,vkCmdBeginDebugUtilsLabelEXT:nvk.vkCmdBeginDebugUtilsLabelEXT,vkCmdEndDebugUtilsLabelEXT:nvk.vkCmdEndDebugUtilsLabelEXT,vkCmdInsertDebugUtilsLabelEXT:nvk.vkCmdInsertDebugUtilsLabelEXT,vkCreateDebugUtilsMessengerEXT:nvk.vkCreateDebugUtilsMessengerEXT,vkDestroyDebugUtilsMessengerEXT:nvk.vkDestroyDebugUtilsMessengerEXT,vkSubmitDebugUtilsMessageEXT:nvk.vkSubmitDebugUtilsMessageEXT,vkGetMemoryHostPointerPropertiesEXT:nvk.vkGetMemoryHostPointerPropertiesEXT,vkCmdWriteBufferMarkerAMD:nvk.vkCmdWriteBufferMarkerAMD,vkCreateRenderPass2KHR:nvk.vkCreateRenderPass2KHR,vkCmdBeginRenderPass2KHR:nvk.vkCmdBeginRenderPass2KHR,vkCmdNextSubpass2KHR:nvk.vkCmdNextSubpass2KHR,vkCmdEndRenderPass2KHR:nvk.vkCmdEndRenderPass2KHR,vkGetSemaphoreCounterValueKHR:nvk.vkGetSemaphoreCounterValueKHR,vkWaitSemaphoresKHR:nvk.vkWaitSemaphoresKHR,vkSignalSemaphoreKHR:nvk.vkSignalSemaphoreKHR,vkCmdDrawIndirectCountKHR:nvk.vkCmdDrawIndirectCountKHR,vkCmdDrawIndexedIndirectCountKHR:nvk.vkCmdDrawIndexedIndirectCountKHR,vkCmdSetCheckpointNV:nvk.vkCmdSetCheckpointNV,vkGetQueueCheckpointDataNV:nvk.vkGetQueueCheckpointDataNV,vkCmdBindTransformFeedbackBuffersEXT:nvk.vkCmdBindTransformFeedbackBuffersEXT,vkCmdBeginTransformFeedbackEXT:nvk.vkCmdBeginTransformFeedbackEXT,vkCmdEndTransformFeedbackEXT:nvk.vkCmdEndTransformFeedbackEXT,vkCmdBeginQueryIndexedEXT:nvk.vkCmdBeginQueryIndexedEXT,vkCmdEndQueryIndexedEXT:nvk.vkCmdEndQueryIndexedEXT,vkCmdDrawIndirectByteCountEXT:nvk.vkCmdDrawIndirectByteCountEXT,vkCmdSetExclusiveScissorNV:nvk.vkCmdSetExclusiveScissorNV,vkCmdBindShadingRateImageNV:nvk.vkCmdBindShadingRateImageNV,vkCmdSetViewportShadingRatePaletteNV:nvk.vkCmdSetViewportShadingRatePaletteNV,vkCmdSetCoarseSampleOrderNV:nvk.vkCmdSetCoarseSampleOrderNV,vkCmdDrawMeshTasksNV:nvk.vkCmdDrawMeshTasksNV,vkCmdDrawMeshTasksIndirectNV:nvk.vkCmdDrawMeshTasksIndirectNV,vkCmdDrawMeshTasksIndirectCountNV:nvk.vkCmdDrawMeshTasksIndirectCountNV,vkCompileDeferredNV:nvk.vkCompileDeferredNV,vkCreateAccelerationStructureNV:nvk.vkCreateAccelerationStructureNV,vkDestroyAccelerationStructureNV:nvk.vkDestroyAccelerationStructureNV,vkGetAccelerationStructureMemoryRequirementsNV:nvk.vkGetAccelerationStructureMemoryRequirementsNV,vkBindAccelerationStructureMemoryNV:nvk.vkBindAccelerationStructureMemoryNV,vkCmdCopyAccelerationStructureNV:nvk.vkCmdCopyAccelerationStructureNV,vkCmdWriteAccelerationStructuresPropertiesNV:nvk.vkCmdWriteAccelerationStructuresPropertiesNV,vkCmdBuildAccelerationStructureNV:nvk.vkCmdBuildAccelerationStructureNV,vkCmdTraceRaysNV:nvk.vkCmdTraceRaysNV,vkGetRayTracingShaderGroupHandlesNV:nvk.vkGetRayTracingShaderGroupHandlesNV,vkGetAccelerationStructureHandleNV:nvk.vkGetAccelerationStructureHandleNV,vkCreateRayTracingPipelinesNV:nvk.vkCreateRayTracingPipelinesNV,vkGetImageDrmFormatModifierPropertiesEXT:nvk.vkGetImageDrmFormatModifierPropertiesEXT,vkGetBufferDeviceAddressEXT:nvk.vkGetBufferDeviceAddressEXT,vkGetPhysicalDeviceCooperativeMatrixPropertiesNV:nvk.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV,vkGetImageViewHandleNVX:nvk.vkGetImageViewHandleNVX,vkGetPhysicalDeviceSurfacePresentModes2EXT:nvk.vkGetPhysicalDeviceSurfacePresentModes2EXT,vkGetDeviceGroupSurfacePresentModes2EXT:nvk.vkGetDeviceGroupSurfacePresentModes2EXT,vkAcquireFullScreenExclusiveModeEXT:nvk.vkAcquireFullScreenExclusiveModeEXT,vkReleaseFullScreenExclusiveModeEXT:nvk.vkReleaseFullScreenExclusiveModeEXT,vkCreateHeadlessSurfaceEXT:nvk.vkCreateHeadlessSurfaceEXT,vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV:nvk.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV,vkInitializePerformanceApiINTEL:nvk.vkInitializePerformanceApiINTEL,vkUninitializePerformanceApiINTEL:nvk.vkUninitializePerformanceApiINTEL,vkCmdSetPerformanceMarkerINTEL:nvk.vkCmdSetPerformanceMarkerINTEL,vkCmdSetPerformanceStreamMarkerINTEL:nvk.vkCmdSetPerformanceStreamMarkerINTEL,vkCmdSetPerformanceOverrideINTEL:nvk.vkCmdSetPerformanceOverrideINTEL,vkAcquirePerformanceConfigurationINTEL:nvk.vkAcquirePerformanceConfigurationINTEL,vkReleasePerformanceConfigurationINTEL:nvk.vkReleasePerformanceConfigurationINTEL,vkQueueSetPerformanceConfigurationINTEL:nvk.vkQueueSetPerformanceConfigurationINTEL,vkGetPerformanceParameterINTEL:nvk.vkGetPerformanceParameterINTEL,vkGetPipelineExecutablePropertiesKHR:nvk.vkGetPipelineExecutablePropertiesKHR,vkGetPipelineExecutableStatisticsKHR:nvk.vkGetPipelineExecutableStatisticsKHR,vkGetPipelineExecutableInternalRepresentationsKHR:nvk.vkGetPipelineExecutableInternalRepresentationsKHR,vkCmdSetLineStippleEXT:nvk.vkCmdSetLineStippleEXT,VkInstance:VkInstance,VkPhysicalDevice:VkPhysicalDevice,VkDevice:VkDevice,VkQueue:VkQueue,VkCommandBuffer:VkCommandBuffer,VkDeviceMemory:VkDeviceMemory,VkCommandPool:VkCommandPool,VkBuffer:VkBuffer,VkBufferView:VkBufferView,VkImage:VkImage,VkImageView:VkImageView,VkShaderModule:VkShaderModule,VkPipeline:VkPipeline,VkPipelineLayout:VkPipelineLayout,VkSampler:VkSampler,VkDescriptorSet:VkDescriptorSet,VkDescriptorSetLayout:VkDescriptorSetLayout,VkDescriptorPool:VkDescriptorPool,VkFence:VkFence,VkSemaphore:VkSemaphore,VkEvent:VkEvent,VkQueryPool:VkQueryPool,VkFramebuffer:VkFramebuffer,VkRenderPass:VkRenderPass,VkPipelineCache:VkPipelineCache,VkObjectTableNVX:VkObjectTableNVX,VkIndirectCommandsLayoutNVX:VkIndirectCommandsLayoutNVX,VkDescriptorUpdateTemplate:VkDescriptorUpdateTemplate,VkSamplerYcbcrConversion:VkSamplerYcbcrConversion,VkValidationCacheEXT:VkValidationCacheEXT,VkAccelerationStructureNV:VkAccelerationStructureNV,VkPerformanceConfigurationINTEL:VkPerformanceConfigurationINTEL,VkDisplayKHR:VkDisplayKHR,VkDisplayModeKHR:VkDisplayModeKHR,VkSurfaceKHR:VkSurfaceKHR,VkSwapchainKHR:VkSwapchainKHR,VkDebugReportCallbackEXT:VkDebugReportCallbackEXT,VkDebugUtilsMessengerEXT:VkDebugUtilsMessengerEXT,VkBaseOutStructure:VkBaseOutStructure,VkBaseInStructure:VkBaseInStructure,VkOffset2D:VkOffset2D,VkOffset3D:VkOffset3D,VkExtent2D:VkExtent2D,VkExtent3D:VkExtent3D,VkViewport:VkViewport,VkRect2D:VkRect2D,VkClearRect:VkClearRect,VkComponentMapping:VkComponentMapping,VkPhysicalDeviceProperties:VkPhysicalDeviceProperties,VkExtensionProperties:VkExtensionProperties,VkLayerProperties:VkLayerProperties,VkApplicationInfo:VkApplicationInfo,VkAllocationCallbacks:VkAllocationCallbacks,VkDeviceQueueCreateInfo:VkDeviceQueueCreateInfo,VkDeviceCreateInfo:VkDeviceCreateInfo,VkInstanceCreateInfo:VkInstanceCreateInfo,VkQueueFamilyProperties:VkQueueFamilyProperties,VkPhysicalDeviceMemoryProperties:VkPhysicalDeviceMemoryProperties,VkMemoryAllocateInfo:VkMemoryAllocateInfo,VkMemoryRequirements:VkMemoryRequirements,VkSparseImageFormatProperties:VkSparseImageFormatProperties,VkSparseImageMemoryRequirements:VkSparseImageMemoryRequirements,VkMemoryType:VkMemoryType,VkMemoryHeap:VkMemoryHeap,VkMappedMemoryRange:VkMappedMemoryRange,VkFormatProperties:VkFormatProperties,VkImageFormatProperties:VkImageFormatProperties,VkDescriptorBufferInfo:VkDescriptorBufferInfo,VkDescriptorImageInfo:VkDescriptorImageInfo,VkWriteDescriptorSet:VkWriteDescriptorSet,VkCopyDescriptorSet:VkCopyDescriptorSet,VkBufferCreateInfo:VkBufferCreateInfo,VkBufferViewCreateInfo:VkBufferViewCreateInfo,VkImageSubresource:VkImageSubresource,VkImageSubresourceLayers:VkImageSubresourceLayers,VkImageSubresourceRange:VkImageSubresourceRange,VkMemoryBarrier:VkMemoryBarrier,VkBufferMemoryBarrier:VkBufferMemoryBarrier,VkImageMemoryBarrier:VkImageMemoryBarrier,VkImageCreateInfo:VkImageCreateInfo,VkSubresourceLayout:VkSubresourceLayout,VkImageViewCreateInfo:VkImageViewCreateInfo,VkBufferCopy:VkBufferCopy,VkSparseMemoryBind:VkSparseMemoryBind,VkSparseImageMemoryBind:VkSparseImageMemoryBind,VkSparseBufferMemoryBindInfo:VkSparseBufferMemoryBindInfo,VkSparseImageOpaqueMemoryBindInfo:VkSparseImageOpaqueMemoryBindInfo,VkSparseImageMemoryBindInfo:VkSparseImageMemoryBindInfo,VkBindSparseInfo:VkBindSparseInfo,VkImageCopy:VkImageCopy,VkImageBlit:VkImageBlit,VkBufferImageCopy:VkBufferImageCopy,VkImageResolve:VkImageResolve,VkShaderModuleCreateInfo:VkShaderModuleCreateInfo,VkDescriptorSetLayoutBinding:VkDescriptorSetLayoutBinding,VkDescriptorSetLayoutCreateInfo:VkDescriptorSetLayoutCreateInfo,VkDescriptorPoolSize:VkDescriptorPoolSize,VkDescriptorPoolCreateInfo:VkDescriptorPoolCreateInfo,VkDescriptorSetAllocateInfo:VkDescriptorSetAllocateInfo,VkSpecializationMapEntry:VkSpecializationMapEntry,VkSpecializationInfo:VkSpecializationInfo,VkPipelineShaderStageCreateInfo:VkPipelineShaderStageCreateInfo,VkComputePipelineCreateInfo:VkComputePipelineCreateInfo,VkVertexInputBindingDescription:VkVertexInputBindingDescription,VkVertexInputAttributeDescription:VkVertexInputAttributeDescription,VkPipelineVertexInputStateCreateInfo:VkPipelineVertexInputStateCreateInfo,VkPipelineInputAssemblyStateCreateInfo:VkPipelineInputAssemblyStateCreateInfo,VkPipelineTessellationStateCreateInfo:VkPipelineTessellationStateCreateInfo,VkPipelineViewportStateCreateInfo:VkPipelineViewportStateCreateInfo,VkPipelineRasterizationStateCreateInfo:VkPipelineRasterizationStateCreateInfo,VkPipelineMultisampleStateCreateInfo:VkPipelineMultisampleStateCreateInfo,VkPipelineColorBlendAttachmentState:VkPipelineColorBlendAttachmentState,VkPipelineColorBlendStateCreateInfo:VkPipelineColorBlendStateCreateInfo,VkPipelineDynamicStateCreateInfo:VkPipelineDynamicStateCreateInfo,VkStencilOpState:VkStencilOpState,VkPipelineDepthStencilStateCreateInfo:VkPipelineDepthStencilStateCreateInfo,VkGraphicsPipelineCreateInfo:VkGraphicsPipelineCreateInfo,VkPipelineCacheCreateInfo:VkPipelineCacheCreateInfo,VkPushConstantRange:VkPushConstantRange,VkPipelineLayoutCreateInfo:VkPipelineLayoutCreateInfo,VkSamplerCreateInfo:VkSamplerCreateInfo,VkCommandPoolCreateInfo:VkCommandPoolCreateInfo,VkCommandBufferAllocateInfo:VkCommandBufferAllocateInfo,VkCommandBufferInheritanceInfo:VkCommandBufferInheritanceInfo,VkCommandBufferBeginInfo:VkCommandBufferBeginInfo,VkRenderPassBeginInfo:VkRenderPassBeginInfo,VkClearDepthStencilValue:VkClearDepthStencilValue,VkClearAttachment:VkClearAttachment,VkAttachmentDescription:VkAttachmentDescription,VkAttachmentReference:VkAttachmentReference,VkSubpassDescription:VkSubpassDescription,VkSubpassDependency:VkSubpassDependency,VkRenderPassCreateInfo:VkRenderPassCreateInfo,VkEventCreateInfo:VkEventCreateInfo,VkFenceCreateInfo:VkFenceCreateInfo,VkPhysicalDeviceFeatures:VkPhysicalDeviceFeatures,VkPhysicalDeviceSparseProperties:VkPhysicalDeviceSparseProperties,VkPhysicalDeviceLimits:VkPhysicalDeviceLimits,VkSemaphoreCreateInfo:VkSemaphoreCreateInfo,VkQueryPoolCreateInfo:VkQueryPoolCreateInfo,VkFramebufferCreateInfo:VkFramebufferCreateInfo,VkDrawIndirectCommand:VkDrawIndirectCommand,VkDrawIndexedIndirectCommand:VkDrawIndexedIndirectCommand,VkDispatchIndirectCommand:VkDispatchIndirectCommand,VkSubmitInfo:VkSubmitInfo,VkDisplayPropertiesKHR:VkDisplayPropertiesKHR,VkDisplayPlanePropertiesKHR:VkDisplayPlanePropertiesKHR,VkDisplayModeParametersKHR:VkDisplayModeParametersKHR,VkDisplayModePropertiesKHR:VkDisplayModePropertiesKHR,VkDisplayModeCreateInfoKHR:VkDisplayModeCreateInfoKHR,VkDisplayPlaneCapabilitiesKHR:VkDisplayPlaneCapabilitiesKHR,VkDisplaySurfaceCreateInfoKHR:VkDisplaySurfaceCreateInfoKHR,VkDisplayPresentInfoKHR:VkDisplayPresentInfoKHR,VkSurfaceCapabilitiesKHR:VkSurfaceCapabilitiesKHR,VkWin32SurfaceCreateInfoKHR:VkWin32SurfaceCreateInfoKHR,VkSurfaceFormatKHR:VkSurfaceFormatKHR,VkSwapchainCreateInfoKHR:VkSwapchainCreateInfoKHR,VkPresentInfoKHR:VkPresentInfoKHR,VkDebugReportCallbackCreateInfoEXT:VkDebugReportCallbackCreateInfoEXT,VkValidationFlagsEXT:VkValidationFlagsEXT,VkValidationFeaturesEXT:VkValidationFeaturesEXT,VkPipelineRasterizationStateRasterizationOrderAMD:VkPipelineRasterizationStateRasterizationOrderAMD,VkDebugMarkerObjectNameInfoEXT:VkDebugMarkerObjectNameInfoEXT,VkDebugMarkerObjectTagInfoEXT:VkDebugMarkerObjectTagInfoEXT,VkDebugMarkerMarkerInfoEXT:VkDebugMarkerMarkerInfoEXT,VkDedicatedAllocationImageCreateInfoNV:VkDedicatedAllocationImageCreateInfoNV,VkDedicatedAllocationBufferCreateInfoNV:VkDedicatedAllocationBufferCreateInfoNV,VkDedicatedAllocationMemoryAllocateInfoNV:VkDedicatedAllocationMemoryAllocateInfoNV,VkExternalImageFormatPropertiesNV:VkExternalImageFormatPropertiesNV,VkExternalMemoryImageCreateInfoNV:VkExternalMemoryImageCreateInfoNV,VkExportMemoryAllocateInfoNV:VkExportMemoryAllocateInfoNV,VkImportMemoryWin32HandleInfoNV:VkImportMemoryWin32HandleInfoNV,VkExportMemoryWin32HandleInfoNV:VkExportMemoryWin32HandleInfoNV,VkWin32KeyedMutexAcquireReleaseInfoNV:VkWin32KeyedMutexAcquireReleaseInfoNV,VkDeviceGeneratedCommandsFeaturesNVX:VkDeviceGeneratedCommandsFeaturesNVX,VkDeviceGeneratedCommandsLimitsNVX:VkDeviceGeneratedCommandsLimitsNVX,VkIndirectCommandsTokenNVX:VkIndirectCommandsTokenNVX,VkIndirectCommandsLayoutTokenNVX:VkIndirectCommandsLayoutTokenNVX,VkIndirectCommandsLayoutCreateInfoNVX:VkIndirectCommandsLayoutCreateInfoNVX,VkCmdProcessCommandsInfoNVX:VkCmdProcessCommandsInfoNVX,VkCmdReserveSpaceForCommandsInfoNVX:VkCmdReserveSpaceForCommandsInfoNVX,VkObjectTableCreateInfoNVX:VkObjectTableCreateInfoNVX,VkObjectTableEntryNVX:VkObjectTableEntryNVX,VkObjectTablePipelineEntryNVX:VkObjectTablePipelineEntryNVX,VkObjectTableDescriptorSetEntryNVX:VkObjectTableDescriptorSetEntryNVX,VkObjectTableVertexBufferEntryNVX:VkObjectTableVertexBufferEntryNVX,VkObjectTableIndexBufferEntryNVX:VkObjectTableIndexBufferEntryNVX,VkObjectTablePushConstantEntryNVX:VkObjectTablePushConstantEntryNVX,VkPhysicalDeviceFeatures2:VkPhysicalDeviceFeatures2,VkPhysicalDeviceFeatures2KHR:VkPhysicalDeviceFeatures2KHR,VkPhysicalDeviceProperties2:VkPhysicalDeviceProperties2,VkPhysicalDeviceProperties2KHR:VkPhysicalDeviceProperties2KHR,VkFormatProperties2:VkFormatProperties2,VkFormatProperties2KHR:VkFormatProperties2KHR,VkImageFormatProperties2:VkImageFormatProperties2,VkImageFormatProperties2KHR:VkImageFormatProperties2KHR,VkPhysicalDeviceImageFormatInfo2:VkPhysicalDeviceImageFormatInfo2,VkPhysicalDeviceImageFormatInfo2KHR:VkPhysicalDeviceImageFormatInfo2KHR,VkQueueFamilyProperties2:VkQueueFamilyProperties2,VkQueueFamilyProperties2KHR:VkQueueFamilyProperties2KHR,VkPhysicalDeviceMemoryProperties2:VkPhysicalDeviceMemoryProperties2,VkPhysicalDeviceMemoryProperties2KHR:VkPhysicalDeviceMemoryProperties2KHR,VkSparseImageFormatProperties2:VkSparseImageFormatProperties2,VkSparseImageFormatProperties2KHR:VkSparseImageFormatProperties2KHR,VkPhysicalDeviceSparseImageFormatInfo2:VkPhysicalDeviceSparseImageFormatInfo2,VkPhysicalDeviceSparseImageFormatInfo2KHR:VkPhysicalDeviceSparseImageFormatInfo2KHR,VkPhysicalDevicePushDescriptorPropertiesKHR:VkPhysicalDevicePushDescriptorPropertiesKHR,VkConformanceVersionKHR:VkConformanceVersionKHR,VkPhysicalDeviceDriverPropertiesKHR:VkPhysicalDeviceDriverPropertiesKHR,VkPresentRegionsKHR:VkPresentRegionsKHR,VkPresentRegionKHR:VkPresentRegionKHR,VkRectLayerKHR:VkRectLayerKHR,VkPhysicalDeviceVariablePointersFeatures:VkPhysicalDeviceVariablePointersFeatures,VkPhysicalDeviceVariablePointersFeaturesKHR:VkPhysicalDeviceVariablePointersFeaturesKHR,VkPhysicalDeviceVariablePointerFeaturesKHR:VkPhysicalDeviceVariablePointerFeaturesKHR,VkPhysicalDeviceVariablePointerFeatures:VkPhysicalDeviceVariablePointerFeatures,VkExternalMemoryProperties:VkExternalMemoryProperties,VkExternalMemoryPropertiesKHR:VkExternalMemoryPropertiesKHR,VkPhysicalDeviceExternalImageFormatInfo:VkPhysicalDeviceExternalImageFormatInfo,VkPhysicalDeviceExternalImageFormatInfoKHR:VkPhysicalDeviceExternalImageFormatInfoKHR,VkExternalImageFormatProperties:VkExternalImageFormatProperties,VkExternalImageFormatPropertiesKHR:VkExternalImageFormatPropertiesKHR,VkPhysicalDeviceExternalBufferInfo:VkPhysicalDeviceExternalBufferInfo,VkPhysicalDeviceExternalBufferInfoKHR:VkPhysicalDeviceExternalBufferInfoKHR,VkExternalBufferProperties:VkExternalBufferProperties,VkExternalBufferPropertiesKHR:VkExternalBufferPropertiesKHR,VkPhysicalDeviceIDProperties:VkPhysicalDeviceIDProperties,VkPhysicalDeviceIDPropertiesKHR:VkPhysicalDeviceIDPropertiesKHR,VkExternalMemoryImageCreateInfo:VkExternalMemoryImageCreateInfo,VkExternalMemoryImageCreateInfoKHR:VkExternalMemoryImageCreateInfoKHR,VkExternalMemoryBufferCreateInfo:VkExternalMemoryBufferCreateInfo,VkExternalMemoryBufferCreateInfoKHR:VkExternalMemoryBufferCreateInfoKHR,VkExportMemoryAllocateInfo:VkExportMemoryAllocateInfo,VkExportMemoryAllocateInfoKHR:VkExportMemoryAllocateInfoKHR,VkImportMemoryWin32HandleInfoKHR:VkImportMemoryWin32HandleInfoKHR,VkExportMemoryWin32HandleInfoKHR:VkExportMemoryWin32HandleInfoKHR,VkMemoryWin32HandlePropertiesKHR:VkMemoryWin32HandlePropertiesKHR,VkMemoryGetWin32HandleInfoKHR:VkMemoryGetWin32HandleInfoKHR,VkImportMemoryFdInfoKHR:VkImportMemoryFdInfoKHR,VkMemoryFdPropertiesKHR:VkMemoryFdPropertiesKHR,VkMemoryGetFdInfoKHR:VkMemoryGetFdInfoKHR,VkWin32KeyedMutexAcquireReleaseInfoKHR:VkWin32KeyedMutexAcquireReleaseInfoKHR,VkPhysicalDeviceExternalSemaphoreInfo:VkPhysicalDeviceExternalSemaphoreInfo,VkPhysicalDeviceExternalSemaphoreInfoKHR:VkPhysicalDeviceExternalSemaphoreInfoKHR,VkExternalSemaphoreProperties:VkExternalSemaphoreProperties,VkExternalSemaphorePropertiesKHR:VkExternalSemaphorePropertiesKHR,VkExportSemaphoreCreateInfo:VkExportSemaphoreCreateInfo,VkExportSemaphoreCreateInfoKHR:VkExportSemaphoreCreateInfoKHR,VkImportSemaphoreWin32HandleInfoKHR:VkImportSemaphoreWin32HandleInfoKHR,VkExportSemaphoreWin32HandleInfoKHR:VkExportSemaphoreWin32HandleInfoKHR,VkD3D12FenceSubmitInfoKHR:VkD3D12FenceSubmitInfoKHR,VkSemaphoreGetWin32HandleInfoKHR:VkSemaphoreGetWin32HandleInfoKHR,VkImportSemaphoreFdInfoKHR:VkImportSemaphoreFdInfoKHR,VkSemaphoreGetFdInfoKHR:VkSemaphoreGetFdInfoKHR,VkPhysicalDeviceExternalFenceInfo:VkPhysicalDeviceExternalFenceInfo,VkPhysicalDeviceExternalFenceInfoKHR:VkPhysicalDeviceExternalFenceInfoKHR,VkExternalFenceProperties:VkExternalFenceProperties,VkExternalFencePropertiesKHR:VkExternalFencePropertiesKHR,VkExportFenceCreateInfo:VkExportFenceCreateInfo,VkExportFenceCreateInfoKHR:VkExportFenceCreateInfoKHR,VkImportFenceWin32HandleInfoKHR:VkImportFenceWin32HandleInfoKHR,VkExportFenceWin32HandleInfoKHR:VkExportFenceWin32HandleInfoKHR,VkFenceGetWin32HandleInfoKHR:VkFenceGetWin32HandleInfoKHR,VkImportFenceFdInfoKHR:VkImportFenceFdInfoKHR,VkFenceGetFdInfoKHR:VkFenceGetFdInfoKHR,VkPhysicalDeviceMultiviewFeatures:VkPhysicalDeviceMultiviewFeatures,VkPhysicalDeviceMultiviewFeaturesKHR:VkPhysicalDeviceMultiviewFeaturesKHR,VkPhysicalDeviceMultiviewProperties:VkPhysicalDeviceMultiviewProperties,VkPhysicalDeviceMultiviewPropertiesKHR:VkPhysicalDeviceMultiviewPropertiesKHR,VkRenderPassMultiviewCreateInfo:VkRenderPassMultiviewCreateInfo,VkRenderPassMultiviewCreateInfoKHR:VkRenderPassMultiviewCreateInfoKHR,VkSurfaceCapabilities2EXT:VkSurfaceCapabilities2EXT,VkDisplayPowerInfoEXT:VkDisplayPowerInfoEXT,VkDeviceEventInfoEXT:VkDeviceEventInfoEXT,VkDisplayEventInfoEXT:VkDisplayEventInfoEXT,VkSwapchainCounterCreateInfoEXT:VkSwapchainCounterCreateInfoEXT,VkPhysicalDeviceGroupProperties:VkPhysicalDeviceGroupProperties,VkPhysicalDeviceGroupPropertiesKHR:VkPhysicalDeviceGroupPropertiesKHR,VkMemoryAllocateFlagsInfo:VkMemoryAllocateFlagsInfo,VkMemoryAllocateFlagsInfoKHR:VkMemoryAllocateFlagsInfoKHR,VkBindBufferMemoryInfo:VkBindBufferMemoryInfo,VkBindBufferMemoryInfoKHR:VkBindBufferMemoryInfoKHR,VkBindBufferMemoryDeviceGroupInfo:VkBindBufferMemoryDeviceGroupInfo,VkBindBufferMemoryDeviceGroupInfoKHR:VkBindBufferMemoryDeviceGroupInfoKHR,VkBindImageMemoryInfo:VkBindImageMemoryInfo,VkBindImageMemoryInfoKHR:VkBindImageMemoryInfoKHR,VkBindImageMemoryDeviceGroupInfo:VkBindImageMemoryDeviceGroupInfo,VkBindImageMemoryDeviceGroupInfoKHR:VkBindImageMemoryDeviceGroupInfoKHR,VkDeviceGroupRenderPassBeginInfo:VkDeviceGroupRenderPassBeginInfo,VkDeviceGroupRenderPassBeginInfoKHR:VkDeviceGroupRenderPassBeginInfoKHR,VkDeviceGroupCommandBufferBeginInfo:VkDeviceGroupCommandBufferBeginInfo,VkDeviceGroupCommandBufferBeginInfoKHR:VkDeviceGroupCommandBufferBeginInfoKHR,VkDeviceGroupSubmitInfo:VkDeviceGroupSubmitInfo,VkDeviceGroupSubmitInfoKHR:VkDeviceGroupSubmitInfoKHR,VkDeviceGroupBindSparseInfo:VkDeviceGroupBindSparseInfo,VkDeviceGroupBindSparseInfoKHR:VkDeviceGroupBindSparseInfoKHR,VkDeviceGroupPresentCapabilitiesKHR:VkDeviceGroupPresentCapabilitiesKHR,VkImageSwapchainCreateInfoKHR:VkImageSwapchainCreateInfoKHR,VkBindImageMemorySwapchainInfoKHR:VkBindImageMemorySwapchainInfoKHR,VkAcquireNextImageInfoKHR:VkAcquireNextImageInfoKHR,VkDeviceGroupPresentInfoKHR:VkDeviceGroupPresentInfoKHR,VkDeviceGroupDeviceCreateInfo:VkDeviceGroupDeviceCreateInfo,VkDeviceGroupDeviceCreateInfoKHR:VkDeviceGroupDeviceCreateInfoKHR,VkDeviceGroupSwapchainCreateInfoKHR:VkDeviceGroupSwapchainCreateInfoKHR,VkDescriptorUpdateTemplateEntry:VkDescriptorUpdateTemplateEntry,VkDescriptorUpdateTemplateEntryKHR:VkDescriptorUpdateTemplateEntryKHR,VkDescriptorUpdateTemplateCreateInfo:VkDescriptorUpdateTemplateCreateInfo,VkDescriptorUpdateTemplateCreateInfoKHR:VkDescriptorUpdateTemplateCreateInfoKHR,VkXYColorEXT:VkXYColorEXT,VkHdrMetadataEXT:VkHdrMetadataEXT,VkDisplayNativeHdrSurfaceCapabilitiesAMD:VkDisplayNativeHdrSurfaceCapabilitiesAMD,VkSwapchainDisplayNativeHdrCreateInfoAMD:VkSwapchainDisplayNativeHdrCreateInfoAMD,VkRefreshCycleDurationGOOGLE:VkRefreshCycleDurationGOOGLE,VkPastPresentationTimingGOOGLE:VkPastPresentationTimingGOOGLE,VkPresentTimesInfoGOOGLE:VkPresentTimesInfoGOOGLE,VkPresentTimeGOOGLE:VkPresentTimeGOOGLE,VkViewportWScalingNV:VkViewportWScalingNV,VkPipelineViewportWScalingStateCreateInfoNV:VkPipelineViewportWScalingStateCreateInfoNV,VkViewportSwizzleNV:VkViewportSwizzleNV,VkPipelineViewportSwizzleStateCreateInfoNV:VkPipelineViewportSwizzleStateCreateInfoNV,VkPhysicalDeviceDiscardRectanglePropertiesEXT:VkPhysicalDeviceDiscardRectanglePropertiesEXT,VkPipelineDiscardRectangleStateCreateInfoEXT:VkPipelineDiscardRectangleStateCreateInfoEXT,VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX:VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX,VkInputAttachmentAspectReference:VkInputAttachmentAspectReference,VkInputAttachmentAspectReferenceKHR:VkInputAttachmentAspectReferenceKHR,VkRenderPassInputAttachmentAspectCreateInfo:VkRenderPassInputAttachmentAspectCreateInfo,VkRenderPassInputAttachmentAspectCreateInfoKHR:VkRenderPassInputAttachmentAspectCreateInfoKHR,VkPhysicalDeviceSurfaceInfo2KHR:VkPhysicalDeviceSurfaceInfo2KHR,VkSurfaceCapabilities2KHR:VkSurfaceCapabilities2KHR,VkSurfaceFormat2KHR:VkSurfaceFormat2KHR,VkDisplayProperties2KHR:VkDisplayProperties2KHR,VkDisplayPlaneProperties2KHR:VkDisplayPlaneProperties2KHR,VkDisplayModeProperties2KHR:VkDisplayModeProperties2KHR,VkDisplayPlaneInfo2KHR:VkDisplayPlaneInfo2KHR,VkDisplayPlaneCapabilities2KHR:VkDisplayPlaneCapabilities2KHR,VkSharedPresentSurfaceCapabilitiesKHR:VkSharedPresentSurfaceCapabilitiesKHR,VkPhysicalDevice16BitStorageFeatures:VkPhysicalDevice16BitStorageFeatures,VkPhysicalDevice16BitStorageFeaturesKHR:VkPhysicalDevice16BitStorageFeaturesKHR,VkPhysicalDeviceSubgroupProperties:VkPhysicalDeviceSubgroupProperties,VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR:VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR,VkBufferMemoryRequirementsInfo2:VkBufferMemoryRequirementsInfo2,VkBufferMemoryRequirementsInfo2KHR:VkBufferMemoryRequirementsInfo2KHR,VkImageMemoryRequirementsInfo2:VkImageMemoryRequirementsInfo2,VkImageMemoryRequirementsInfo2KHR:VkImageMemoryRequirementsInfo2KHR,VkImageSparseMemoryRequirementsInfo2:VkImageSparseMemoryRequirementsInfo2,VkImageSparseMemoryRequirementsInfo2KHR:VkImageSparseMemoryRequirementsInfo2KHR,VkMemoryRequirements2:VkMemoryRequirements2,VkMemoryRequirements2KHR:VkMemoryRequirements2KHR,VkSparseImageMemoryRequirements2:VkSparseImageMemoryRequirements2,VkSparseImageMemoryRequirements2KHR:VkSparseImageMemoryRequirements2KHR,VkPhysicalDevicePointClippingProperties:VkPhysicalDevicePointClippingProperties,VkPhysicalDevicePointClippingPropertiesKHR:VkPhysicalDevicePointClippingPropertiesKHR,VkMemoryDedicatedRequirements:VkMemoryDedicatedRequirements,VkMemoryDedicatedRequirementsKHR:VkMemoryDedicatedRequirementsKHR,VkMemoryDedicatedAllocateInfo:VkMemoryDedicatedAllocateInfo,VkMemoryDedicatedAllocateInfoKHR:VkMemoryDedicatedAllocateInfoKHR,VkImageViewUsageCreateInfo:VkImageViewUsageCreateInfo,VkImageViewUsageCreateInfoKHR:VkImageViewUsageCreateInfoKHR,VkPipelineTessellationDomainOriginStateCreateInfo:VkPipelineTessellationDomainOriginStateCreateInfo,VkPipelineTessellationDomainOriginStateCreateInfoKHR:VkPipelineTessellationDomainOriginStateCreateInfoKHR,VkSamplerYcbcrConversionInfo:VkSamplerYcbcrConversionInfo,VkSamplerYcbcrConversionInfoKHR:VkSamplerYcbcrConversionInfoKHR,VkSamplerYcbcrConversionCreateInfo:VkSamplerYcbcrConversionCreateInfo,VkSamplerYcbcrConversionCreateInfoKHR:VkSamplerYcbcrConversionCreateInfoKHR,VkBindImagePlaneMemoryInfo:VkBindImagePlaneMemoryInfo,VkBindImagePlaneMemoryInfoKHR:VkBindImagePlaneMemoryInfoKHR,VkImagePlaneMemoryRequirementsInfo:VkImagePlaneMemoryRequirementsInfo,VkImagePlaneMemoryRequirementsInfoKHR:VkImagePlaneMemoryRequirementsInfoKHR,VkPhysicalDeviceSamplerYcbcrConversionFeatures:VkPhysicalDeviceSamplerYcbcrConversionFeatures,VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR:VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR,VkSamplerYcbcrConversionImageFormatProperties:VkSamplerYcbcrConversionImageFormatProperties,VkSamplerYcbcrConversionImageFormatPropertiesKHR:VkSamplerYcbcrConversionImageFormatPropertiesKHR,VkTextureLODGatherFormatPropertiesAMD:VkTextureLODGatherFormatPropertiesAMD,VkConditionalRenderingBeginInfoEXT:VkConditionalRenderingBeginInfoEXT,VkProtectedSubmitInfo:VkProtectedSubmitInfo,VkPhysicalDeviceProtectedMemoryFeatures:VkPhysicalDeviceProtectedMemoryFeatures,VkPhysicalDeviceProtectedMemoryProperties:VkPhysicalDeviceProtectedMemoryProperties,VkDeviceQueueInfo2:VkDeviceQueueInfo2,VkPipelineCoverageToColorStateCreateInfoNV:VkPipelineCoverageToColorStateCreateInfoNV,VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT:VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT,VkSampleLocationEXT:VkSampleLocationEXT,VkSampleLocationsInfoEXT:VkSampleLocationsInfoEXT,VkAttachmentSampleLocationsEXT:VkAttachmentSampleLocationsEXT,VkSubpassSampleLocationsEXT:VkSubpassSampleLocationsEXT,VkRenderPassSampleLocationsBeginInfoEXT:VkRenderPassSampleLocationsBeginInfoEXT,VkPipelineSampleLocationsStateCreateInfoEXT:VkPipelineSampleLocationsStateCreateInfoEXT,VkPhysicalDeviceSampleLocationsPropertiesEXT:VkPhysicalDeviceSampleLocationsPropertiesEXT,VkMultisamplePropertiesEXT:VkMultisamplePropertiesEXT,VkSamplerReductionModeCreateInfoEXT:VkSamplerReductionModeCreateInfoEXT,VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT:VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT,VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT:VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT,VkPipelineColorBlendAdvancedStateCreateInfoEXT:VkPipelineColorBlendAdvancedStateCreateInfoEXT,VkPhysicalDeviceInlineUniformBlockFeaturesEXT:VkPhysicalDeviceInlineUniformBlockFeaturesEXT,VkPhysicalDeviceInlineUniformBlockPropertiesEXT:VkPhysicalDeviceInlineUniformBlockPropertiesEXT,VkWriteDescriptorSetInlineUniformBlockEXT:VkWriteDescriptorSetInlineUniformBlockEXT,VkDescriptorPoolInlineUniformBlockCreateInfoEXT:VkDescriptorPoolInlineUniformBlockCreateInfoEXT,VkPipelineCoverageModulationStateCreateInfoNV:VkPipelineCoverageModulationStateCreateInfoNV,VkImageFormatListCreateInfoKHR:VkImageFormatListCreateInfoKHR,VkValidationCacheCreateInfoEXT:VkValidationCacheCreateInfoEXT,VkShaderModuleValidationCacheCreateInfoEXT:VkShaderModuleValidationCacheCreateInfoEXT,VkPhysicalDeviceMaintenance3Properties:VkPhysicalDeviceMaintenance3Properties,VkPhysicalDeviceMaintenance3PropertiesKHR:VkPhysicalDeviceMaintenance3PropertiesKHR,VkDescriptorSetLayoutSupport:VkDescriptorSetLayoutSupport,VkDescriptorSetLayoutSupportKHR:VkDescriptorSetLayoutSupportKHR,VkPhysicalDeviceShaderDrawParametersFeatures:VkPhysicalDeviceShaderDrawParametersFeatures,VkPhysicalDeviceShaderDrawParameterFeatures:VkPhysicalDeviceShaderDrawParameterFeatures,VkPhysicalDeviceShaderFloat16Int8FeaturesKHR:VkPhysicalDeviceShaderFloat16Int8FeaturesKHR,VkPhysicalDeviceFloat16Int8FeaturesKHR:VkPhysicalDeviceFloat16Int8FeaturesKHR,VkPhysicalDeviceFloatControlsPropertiesKHR:VkPhysicalDeviceFloatControlsPropertiesKHR,VkPhysicalDeviceHostQueryResetFeaturesEXT:VkPhysicalDeviceHostQueryResetFeaturesEXT,VkShaderResourceUsageAMD:VkShaderResourceUsageAMD,VkShaderStatisticsInfoAMD:VkShaderStatisticsInfoAMD,VkDeviceQueueGlobalPriorityCreateInfoEXT:VkDeviceQueueGlobalPriorityCreateInfoEXT,VkDebugUtilsObjectNameInfoEXT:VkDebugUtilsObjectNameInfoEXT,VkDebugUtilsObjectTagInfoEXT:VkDebugUtilsObjectTagInfoEXT,VkDebugUtilsLabelEXT:VkDebugUtilsLabelEXT,VkDebugUtilsMessengerCreateInfoEXT:VkDebugUtilsMessengerCreateInfoEXT,VkDebugUtilsMessengerCallbackDataEXT:VkDebugUtilsMessengerCallbackDataEXT,VkImportMemoryHostPointerInfoEXT:VkImportMemoryHostPointerInfoEXT,VkMemoryHostPointerPropertiesEXT:VkMemoryHostPointerPropertiesEXT,VkPhysicalDeviceExternalMemoryHostPropertiesEXT:VkPhysicalDeviceExternalMemoryHostPropertiesEXT,VkPhysicalDeviceConservativeRasterizationPropertiesEXT:VkPhysicalDeviceConservativeRasterizationPropertiesEXT,VkCalibratedTimestampInfoEXT:VkCalibratedTimestampInfoEXT,VkPhysicalDeviceShaderCorePropertiesAMD:VkPhysicalDeviceShaderCorePropertiesAMD,VkPhysicalDeviceShaderCoreProperties2AMD:VkPhysicalDeviceShaderCoreProperties2AMD,VkPipelineRasterizationConservativeStateCreateInfoEXT:VkPipelineRasterizationConservativeStateCreateInfoEXT,VkPhysicalDeviceDescriptorIndexingFeaturesEXT:VkPhysicalDeviceDescriptorIndexingFeaturesEXT,VkPhysicalDeviceDescriptorIndexingPropertiesEXT:VkPhysicalDeviceDescriptorIndexingPropertiesEXT,VkDescriptorSetLayoutBindingFlagsCreateInfoEXT:VkDescriptorSetLayoutBindingFlagsCreateInfoEXT,VkDescriptorSetVariableDescriptorCountAllocateInfoEXT:VkDescriptorSetVariableDescriptorCountAllocateInfoEXT,VkDescriptorSetVariableDescriptorCountLayoutSupportEXT:VkDescriptorSetVariableDescriptorCountLayoutSupportEXT,VkAttachmentDescription2KHR:VkAttachmentDescription2KHR,VkAttachmentReference2KHR:VkAttachmentReference2KHR,VkSubpassDescription2KHR:VkSubpassDescription2KHR,VkSubpassDependency2KHR:VkSubpassDependency2KHR,VkRenderPassCreateInfo2KHR:VkRenderPassCreateInfo2KHR,VkSubpassBeginInfoKHR:VkSubpassBeginInfoKHR,VkSubpassEndInfoKHR:VkSubpassEndInfoKHR,VkPhysicalDeviceTimelineSemaphoreFeaturesKHR:VkPhysicalDeviceTimelineSemaphoreFeaturesKHR,VkPhysicalDeviceTimelineSemaphorePropertiesKHR:VkPhysicalDeviceTimelineSemaphorePropertiesKHR,VkSemaphoreTypeCreateInfoKHR:VkSemaphoreTypeCreateInfoKHR,VkTimelineSemaphoreSubmitInfoKHR:VkTimelineSemaphoreSubmitInfoKHR,VkSemaphoreWaitInfoKHR:VkSemaphoreWaitInfoKHR,VkSemaphoreSignalInfoKHR:VkSemaphoreSignalInfoKHR,VkVertexInputBindingDivisorDescriptionEXT:VkVertexInputBindingDivisorDescriptionEXT,VkPipelineVertexInputDivisorStateCreateInfoEXT:VkPipelineVertexInputDivisorStateCreateInfoEXT,VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT:VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT,VkPhysicalDevicePCIBusInfoPropertiesEXT:VkPhysicalDevicePCIBusInfoPropertiesEXT,VkCommandBufferInheritanceConditionalRenderingInfoEXT:VkCommandBufferInheritanceConditionalRenderingInfoEXT,VkPhysicalDevice8BitStorageFeaturesKHR:VkPhysicalDevice8BitStorageFeaturesKHR,VkPhysicalDeviceConditionalRenderingFeaturesEXT:VkPhysicalDeviceConditionalRenderingFeaturesEXT,VkPhysicalDeviceVulkanMemoryModelFeaturesKHR:VkPhysicalDeviceVulkanMemoryModelFeaturesKHR,VkPhysicalDeviceShaderAtomicInt64FeaturesKHR:VkPhysicalDeviceShaderAtomicInt64FeaturesKHR,VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT:VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT,VkQueueFamilyCheckpointPropertiesNV:VkQueueFamilyCheckpointPropertiesNV,VkCheckpointDataNV:VkCheckpointDataNV,VkPhysicalDeviceDepthStencilResolvePropertiesKHR:VkPhysicalDeviceDepthStencilResolvePropertiesKHR,VkSubpassDescriptionDepthStencilResolveKHR:VkSubpassDescriptionDepthStencilResolveKHR,VkImageViewASTCDecodeModeEXT:VkImageViewASTCDecodeModeEXT,VkPhysicalDeviceASTCDecodeFeaturesEXT:VkPhysicalDeviceASTCDecodeFeaturesEXT,VkPhysicalDeviceTransformFeedbackFeaturesEXT:VkPhysicalDeviceTransformFeedbackFeaturesEXT,VkPhysicalDeviceTransformFeedbackPropertiesEXT:VkPhysicalDeviceTransformFeedbackPropertiesEXT,VkPipelineRasterizationStateStreamCreateInfoEXT:VkPipelineRasterizationStateStreamCreateInfoEXT,VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV:VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV,VkPipelineRepresentativeFragmentTestStateCreateInfoNV:VkPipelineRepresentativeFragmentTestStateCreateInfoNV,VkPhysicalDeviceExclusiveScissorFeaturesNV:VkPhysicalDeviceExclusiveScissorFeaturesNV,VkPipelineViewportExclusiveScissorStateCreateInfoNV:VkPipelineViewportExclusiveScissorStateCreateInfoNV,VkPhysicalDeviceCornerSampledImageFeaturesNV:VkPhysicalDeviceCornerSampledImageFeaturesNV,VkPhysicalDeviceComputeShaderDerivativesFeaturesNV:VkPhysicalDeviceComputeShaderDerivativesFeaturesNV,VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV:VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV,VkPhysicalDeviceShaderImageFootprintFeaturesNV:VkPhysicalDeviceShaderImageFootprintFeaturesNV,VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV:VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV,VkShadingRatePaletteNV:VkShadingRatePaletteNV,VkPipelineViewportShadingRateImageStateCreateInfoNV:VkPipelineViewportShadingRateImageStateCreateInfoNV,VkPhysicalDeviceShadingRateImageFeaturesNV:VkPhysicalDeviceShadingRateImageFeaturesNV,VkPhysicalDeviceShadingRateImagePropertiesNV:VkPhysicalDeviceShadingRateImagePropertiesNV,VkCoarseSampleLocationNV:VkCoarseSampleLocationNV,VkCoarseSampleOrderCustomNV:VkCoarseSampleOrderCustomNV,VkPipelineViewportCoarseSampleOrderStateCreateInfoNV:VkPipelineViewportCoarseSampleOrderStateCreateInfoNV,VkPhysicalDeviceMeshShaderFeaturesNV:VkPhysicalDeviceMeshShaderFeaturesNV,VkPhysicalDeviceMeshShaderPropertiesNV:VkPhysicalDeviceMeshShaderPropertiesNV,VkDrawMeshTasksIndirectCommandNV:VkDrawMeshTasksIndirectCommandNV,VkRayTracingShaderGroupCreateInfoNV:VkRayTracingShaderGroupCreateInfoNV,VkRayTracingPipelineCreateInfoNV:VkRayTracingPipelineCreateInfoNV,VkGeometryTrianglesNV:VkGeometryTrianglesNV,VkGeometryAABBNV:VkGeometryAABBNV,VkGeometryDataNV:VkGeometryDataNV,VkGeometryNV:VkGeometryNV,VkAccelerationStructureInfoNV:VkAccelerationStructureInfoNV,VkAccelerationStructureCreateInfoNV:VkAccelerationStructureCreateInfoNV,VkBindAccelerationStructureMemoryInfoNV:VkBindAccelerationStructureMemoryInfoNV,VkWriteDescriptorSetAccelerationStructureNV:VkWriteDescriptorSetAccelerationStructureNV,VkAccelerationStructureMemoryRequirementsInfoNV:VkAccelerationStructureMemoryRequirementsInfoNV,VkPhysicalDeviceRayTracingPropertiesNV:VkPhysicalDeviceRayTracingPropertiesNV,VkDrmFormatModifierPropertiesListEXT:VkDrmFormatModifierPropertiesListEXT,VkDrmFormatModifierPropertiesEXT:VkDrmFormatModifierPropertiesEXT,VkPhysicalDeviceImageDrmFormatModifierInfoEXT:VkPhysicalDeviceImageDrmFormatModifierInfoEXT,VkImageDrmFormatModifierListCreateInfoEXT:VkImageDrmFormatModifierListCreateInfoEXT,VkImageDrmFormatModifierExplicitCreateInfoEXT:VkImageDrmFormatModifierExplicitCreateInfoEXT,VkImageDrmFormatModifierPropertiesEXT:VkImageDrmFormatModifierPropertiesEXT,VkImageStencilUsageCreateInfoEXT:VkImageStencilUsageCreateInfoEXT,VkDeviceMemoryOverallocationCreateInfoAMD:VkDeviceMemoryOverallocationCreateInfoAMD,VkPhysicalDeviceFragmentDensityMapFeaturesEXT:VkPhysicalDeviceFragmentDensityMapFeaturesEXT,VkPhysicalDeviceFragmentDensityMapPropertiesEXT:VkPhysicalDeviceFragmentDensityMapPropertiesEXT,VkRenderPassFragmentDensityMapCreateInfoEXT:VkRenderPassFragmentDensityMapCreateInfoEXT,VkPhysicalDeviceScalarBlockLayoutFeaturesEXT:VkPhysicalDeviceScalarBlockLayoutFeaturesEXT,VkSurfaceProtectedCapabilitiesKHR:VkSurfaceProtectedCapabilitiesKHR,VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR:VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR,VkPhysicalDeviceDepthClipEnableFeaturesEXT:VkPhysicalDeviceDepthClipEnableFeaturesEXT,VkPipelineRasterizationDepthClipStateCreateInfoEXT:VkPipelineRasterizationDepthClipStateCreateInfoEXT,VkPhysicalDeviceMemoryBudgetPropertiesEXT:VkPhysicalDeviceMemoryBudgetPropertiesEXT,VkPhysicalDeviceMemoryPriorityFeaturesEXT:VkPhysicalDeviceMemoryPriorityFeaturesEXT,VkMemoryPriorityAllocateInfoEXT:VkMemoryPriorityAllocateInfoEXT,VkPhysicalDeviceBufferDeviceAddressFeaturesEXT:VkPhysicalDeviceBufferDeviceAddressFeaturesEXT,VkPhysicalDeviceBufferAddressFeaturesEXT:VkPhysicalDeviceBufferAddressFeaturesEXT,VkBufferDeviceAddressInfoEXT:VkBufferDeviceAddressInfoEXT,VkBufferDeviceAddressCreateInfoEXT:VkBufferDeviceAddressCreateInfoEXT,VkPhysicalDeviceImageViewImageFormatInfoEXT:VkPhysicalDeviceImageViewImageFormatInfoEXT,VkFilterCubicImageViewImageFormatPropertiesEXT:VkFilterCubicImageViewImageFormatPropertiesEXT,VkPhysicalDeviceImagelessFramebufferFeaturesKHR:VkPhysicalDeviceImagelessFramebufferFeaturesKHR,VkFramebufferAttachmentsCreateInfoKHR:VkFramebufferAttachmentsCreateInfoKHR,VkFramebufferAttachmentImageInfoKHR:VkFramebufferAttachmentImageInfoKHR,VkRenderPassAttachmentBeginInfoKHR:VkRenderPassAttachmentBeginInfoKHR,VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT:VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT,VkPhysicalDeviceCooperativeMatrixFeaturesNV:VkPhysicalDeviceCooperativeMatrixFeaturesNV,VkPhysicalDeviceCooperativeMatrixPropertiesNV:VkPhysicalDeviceCooperativeMatrixPropertiesNV,VkCooperativeMatrixPropertiesNV:VkCooperativeMatrixPropertiesNV,VkPhysicalDeviceYcbcrImageArraysFeaturesEXT:VkPhysicalDeviceYcbcrImageArraysFeaturesEXT,VkImageViewHandleInfoNVX:VkImageViewHandleInfoNVX,VkPipelineCreationFeedbackEXT:VkPipelineCreationFeedbackEXT,VkPipelineCreationFeedbackCreateInfoEXT:VkPipelineCreationFeedbackCreateInfoEXT,VkSurfaceFullScreenExclusiveInfoEXT:VkSurfaceFullScreenExclusiveInfoEXT,VkSurfaceFullScreenExclusiveWin32InfoEXT:VkSurfaceFullScreenExclusiveWin32InfoEXT,VkSurfaceCapabilitiesFullScreenExclusiveEXT:VkSurfaceCapabilitiesFullScreenExclusiveEXT,VkHeadlessSurfaceCreateInfoEXT:VkHeadlessSurfaceCreateInfoEXT,VkPhysicalDeviceCoverageReductionModeFeaturesNV:VkPhysicalDeviceCoverageReductionModeFeaturesNV,VkPipelineCoverageReductionStateCreateInfoNV:VkPipelineCoverageReductionStateCreateInfoNV,VkFramebufferMixedSamplesCombinationNV:VkFramebufferMixedSamplesCombinationNV,VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL:VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL,VkPerformanceValueINTEL:VkPerformanceValueINTEL,VkInitializePerformanceApiInfoINTEL:VkInitializePerformanceApiInfoINTEL,VkQueryPoolCreateInfoINTEL:VkQueryPoolCreateInfoINTEL,VkPerformanceMarkerInfoINTEL:VkPerformanceMarkerInfoINTEL,VkPerformanceStreamMarkerInfoINTEL:VkPerformanceStreamMarkerInfoINTEL,VkPerformanceOverrideInfoINTEL:VkPerformanceOverrideInfoINTEL,VkPerformanceConfigurationAcquireInfoINTEL:VkPerformanceConfigurationAcquireInfoINTEL,VkPhysicalDeviceShaderClockFeaturesKHR:VkPhysicalDeviceShaderClockFeaturesKHR,VkPhysicalDeviceIndexTypeUint8FeaturesEXT:VkPhysicalDeviceIndexTypeUint8FeaturesEXT,VkPhysicalDeviceShaderSMBuiltinsPropertiesNV:VkPhysicalDeviceShaderSMBuiltinsPropertiesNV,VkPhysicalDeviceShaderSMBuiltinsFeaturesNV:VkPhysicalDeviceShaderSMBuiltinsFeaturesNV,VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT:VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT,VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR:VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR,VkPipelineInfoKHR:VkPipelineInfoKHR,VkPipelineExecutablePropertiesKHR:VkPipelineExecutablePropertiesKHR,VkPipelineExecutableInfoKHR:VkPipelineExecutableInfoKHR,VkPipelineExecutableStatisticKHR:VkPipelineExecutableStatisticKHR,VkPipelineExecutableInternalRepresentationKHR:VkPipelineExecutableInternalRepresentationKHR,VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT:VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT,VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT:VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT,VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT:VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT,VkPhysicalDeviceSubgroupSizeControlFeaturesEXT:VkPhysicalDeviceSubgroupSizeControlFeaturesEXT,VkPhysicalDeviceSubgroupSizeControlPropertiesEXT:VkPhysicalDeviceSubgroupSizeControlPropertiesEXT,VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT:VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT,VkPhysicalDeviceLineRasterizationFeaturesEXT:VkPhysicalDeviceLineRasterizationFeaturesEXT,VkPhysicalDeviceLineRasterizationPropertiesEXT:VkPhysicalDeviceLineRasterizationPropertiesEXT,VkPipelineRasterizationLineStateCreateInfoEXT:VkPipelineRasterizationLineStateCreateInfoEXT,VkPipelineCompilerControlCreateInfoAMD:VkPipelineCompilerControlCreateInfoAMD,VkPhysicalDeviceCoherentMemoryFeaturesAMD:VkPhysicalDeviceCoherentMemoryFeaturesAMD,VkClearColorValue:VkClearColorValue,VkClearValue:VkClearValue,VkPerformanceValueDataINTEL:VkPerformanceValueDataINTEL,VkPipelineExecutableStatisticValueKHR:VkPipelineExecutableStatisticValueKHR};