예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pointer">
 /// </param>
 internal unsafe void MarshalTo(SharpVk.Interop.PhysicalDevice8BitStorageFeatures *pointer)
 {
     pointer->SType = StructureType.PhysicalDevice8bitStorageFeaturesVersion;
     pointer->Next  = null;
     pointer->StorageBuffer8BitAccess           = this.StorageBuffer8BitAccess;
     pointer->UniformAndStorageBuffer8BitAccess = this.UniformAndStorageBuffer8BitAccess;
     pointer->StoragePushConstant8 = this.StoragePushConstant8;
 }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="pointer">
        /// </param>
        internal static unsafe PhysicalDevice8BitStorageFeatures MarshalFrom(SharpVk.Interop.PhysicalDevice8BitStorageFeatures *pointer)
        {
            PhysicalDevice8BitStorageFeatures result = default(PhysicalDevice8BitStorageFeatures);

            result.StorageBuffer8BitAccess           = pointer->StorageBuffer8BitAccess;
            result.UniformAndStorageBuffer8BitAccess = pointer->UniformAndStorageBuffer8BitAccess;
            result.StoragePushConstant8 = pointer->StoragePushConstant8;
            return(result);
        }