Example #1
0
 /// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.MemoryAllocateInfo *pointer)
 {
     pointer->SType           = StructureType.MemoryAllocateInfo;
     pointer->Next            = null;
     pointer->AllocationSize  = this.AllocationSize;
     pointer->MemoryTypeIndex = this.MemoryTypeIndex;
 }
Example #2
0
 public static extern SharpVk.Result vkAllocateMemory(SharpVk.Interop.Device device, SharpVk.Interop.MemoryAllocateInfo *allocateInfo, SharpVk.Interop.AllocationCallbacks *allocator, SharpVk.Interop.DeviceMemory *memory);