Exemplo n.º 1
0
 internal unsafe void MarshalTo(Interop.DeviceQueueCreateInfo *pointer)
 {
     pointer->SType            = StructureType.DeviceQueueCreateInfo;
     pointer->Next             = null;
     pointer->QueuePriorities  = this.QueuePriorities == null ? null : Interop.HeapUtil.MarshalTo(this.QueuePriorities);
     pointer->QueueCount       = (uint)(this.QueuePriorities?.Length ?? 0);
     pointer->Flags            = this.Flags;
     pointer->QueueFamilyIndex = this.QueueFamilyIndex;
 }
Exemplo n.º 2
0
 internal DeviceQueueCreateInfo(Interop.DeviceQueueCreateInfo* ptr)
 {
     m = ptr;
     Initialize ();
 }
Exemplo n.º 3
0
 public DeviceQueueCreateInfo()
 {
     m = (Interop.DeviceQueueCreateInfo*) Interop.Structure.Allocate (typeof (Interop.DeviceQueueCreateInfo));
     Initialize ();
 }