Ejemplo n.º 1
0
 internal unsafe void MarshalTo(SharpVk.Interop.Khronos.PhysicalDevice16BitStorageFeatures *pointer)
 {
     pointer->SType = StructureType.PhysicalDevice16bitStorageFeaturesKhr;
     pointer->Next  = null;
     pointer->StorageBuffer16BitAccess           = this.StorageBuffer16BitAccess;
     pointer->UniformAndStorageBuffer16BitAccess = this.UniformAndStorageBuffer16BitAccess;
     pointer->StoragePushConstant16 = this.StoragePushConstant16;
     pointer->StorageInputOutput16  = this.StorageInputOutput16;
 }
Ejemplo n.º 2
0
        internal static unsafe PhysicalDevice16BitStorageFeatures MarshalFrom(SharpVk.Interop.Khronos.PhysicalDevice16BitStorageFeatures *pointer)
        {
            PhysicalDevice16BitStorageFeatures result = default(PhysicalDevice16BitStorageFeatures);

            result.StorageBuffer16BitAccess           = pointer->StorageBuffer16BitAccess;
            result.UniformAndStorageBuffer16BitAccess = pointer->UniformAndStorageBuffer16BitAccess;
            result.StoragePushConstant16 = pointer->StoragePushConstant16;
            result.StorageInputOutput16  = pointer->StorageInputOutput16;
            return(result);
        }