/// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.BufferViewCreateInfo *pointer)
 {
     pointer->SType = StructureType.BufferViewCreateInfo;
     pointer->Next  = null;
     if (this.Flags != null)
     {
         pointer->Flags = this.Flags.Value;
     }
     else
     {
         pointer->Flags = default(SharpVk.BufferViewCreateFlags);
     }
     pointer->Buffer = this.Buffer?.handle ?? default(SharpVk.Interop.Buffer);
     pointer->Format = this.Format;
     pointer->Offset = this.Offset;
     pointer->Range  = this.Range;
 }
Exemple #2
0
 public static extern SharpVk.Result vkCreateBufferView(SharpVk.Interop.Device device, SharpVk.Interop.BufferViewCreateInfo *createInfo, SharpVk.Interop.AllocationCallbacks *allocator, SharpVk.Interop.BufferView *view);