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;
 }
Exemple #2
0
 internal BufferCreateInfo(Interop.BufferCreateInfo* ptr)
 {
     m = ptr;
     Initialize ();
 }
Exemple #3
0
 public BufferCreateInfo()
 {
     m = (Interop.BufferCreateInfo*) Interop.Structure.Allocate (typeof (Interop.BufferCreateInfo));
     Initialize ();
 }