예제 #1
0
 internal unsafe void MarshalTo(SharpVk.Interop.SemaphoreCreateInfo *pointer)
 {
     pointer->SType = StructureType.SemaphoreCreateInfo;
     pointer->Next  = null;
     if (this.Flags != null)
     {
         pointer->Flags = this.Flags.Value;
     }
     else
     {
         pointer->Flags = default(SharpVk.SemaphoreCreateFlags);
     }
 }
예제 #2
0
 public static extern SharpVk.Result vkCreateSemaphore(SharpVk.Interop.Device device, SharpVk.Interop.SemaphoreCreateInfo *createInfo, SharpVk.Interop.AllocationCallbacks *allocator, SharpVk.Interop.Semaphore *semaphore);