Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.ImageViewCreateInfo *pointer)
 {
     pointer->SType = StructureType.ImageViewCreateInfo;
     pointer->Next  = null;
     if (this.Flags != null)
     {
         pointer->Flags = this.Flags.Value;
     }
     else
     {
         pointer->Flags = default(SharpVk.ImageViewCreateFlags);
     }
     pointer->Image            = this.Image?.handle ?? default(SharpVk.Interop.Image);
     pointer->ViewType         = this.ViewType;
     pointer->Format           = this.Format;
     pointer->Components       = this.Components;
     pointer->SubresourceRange = this.SubresourceRange;
 }
Ejemplo n.º 2
0
 public static extern SharpVk.Result vkCreateImageView(SharpVk.Interop.Device device, SharpVk.Interop.ImageViewCreateInfo *createInfo, SharpVk.Interop.AllocationCallbacks *allocator, SharpVk.Interop.ImageView *view);