/// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.DeviceQueueInfo2 *pointer)
 {
     pointer->Next             = null;
     pointer->Flags            = this.Flags;
     pointer->QueueFamilyIndex = this.QueueFamilyIndex;
     pointer->QueueIndex       = this.QueueIndex;
 }
        /// <summary>
        ///
        /// </summary>
        internal static unsafe DeviceQueueInfo2 MarshalFrom(SharpVk.Interop.DeviceQueueInfo2 *pointer)
        {
            DeviceQueueInfo2 result = default(DeviceQueueInfo2);

            result.Flags            = pointer->Flags;
            result.QueueFamilyIndex = pointer->QueueFamilyIndex;
            result.QueueIndex       = pointer->QueueIndex;
            return(result);
        }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pointer">
 /// </param>
 internal unsafe void MarshalTo(SharpVk.Interop.DeviceQueueInfo2 *pointer)
 {
     pointer->SType = StructureType.DeviceQueueInfo2;
     pointer->Next  = null;
     if (this.Flags != null)
     {
         pointer->Flags = this.Flags.Value;
     }
     else
     {
         pointer->Flags = default(SharpVk.DeviceQueueCreateFlags);
     }
     pointer->QueueFamilyIndex = this.QueueFamilyIndex;
     pointer->QueueIndex       = this.QueueIndex;
 }