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; }
internal BufferMemoryBarrier(Interop.BufferMemoryBarrier* ptr) { m = ptr; Initialize (); }
public BufferMemoryBarrier() { m = (Interop.BufferMemoryBarrier*) Interop.Structure.Allocate (typeof (Interop.BufferMemoryBarrier)); Initialize (); }