internal unsafe void MarshalTo(Interop.BufferCreateInfo *pointer) { pointer->SType = StructureType.BufferCreateInfo; pointer->Next = null; pointer->QueueFamilyIndices = this.QueueFamilyIndices == null ? null : Interop.HeapUtil.MarshalTo(this.QueueFamilyIndices); pointer->QueueFamilyIndexCount = (uint)(this.QueueFamilyIndices?.Length ?? 0); pointer->Flags = this.Flags; pointer->Size = this.Size; pointer->Usage = this.Usage; pointer->SharingMode = this.SharingMode; }
internal BufferCreateInfo(Interop.BufferCreateInfo* ptr) { m = ptr; Initialize (); }
public BufferCreateInfo() { m = (Interop.BufferCreateInfo*) Interop.Structure.Allocate (typeof (Interop.BufferCreateInfo)); Initialize (); }