internal unsafe void MarshalTo(Interop.BufferMemoryBarrier *pointer)
 {
     pointer->SType = StructureType.BufferMemoryBarrier;
     pointer->Next  = null;
     this.Buffer?.MarshalTo(&pointer->Buffer);
     pointer->SourceAccessMask            = this.SourceAccessMask;
     pointer->DestinationAccessMask       = this.DestinationAccessMask;
     pointer->SourceQueueFamilyIndex      = this.SourceQueueFamilyIndex;
     pointer->DestinationQueueFamilyIndex = this.DestinationQueueFamilyIndex;
     pointer->Offset = this.Offset;
     pointer->Size   = this.Size;
 }
Exemple #2
0
 internal BufferMemoryBarrier(Interop.BufferMemoryBarrier* ptr)
 {
     m = ptr;
     Initialize ();
 }
Exemple #3
0
 public BufferMemoryBarrier()
 {
     m = (Interop.BufferMemoryBarrier*) Interop.Structure.Allocate (typeof (Interop.BufferMemoryBarrier));
     Initialize ();
 }