internal unsafe void MarshalTo(Interop.ImageMemoryBarrier *pointer) { pointer->SType = StructureType.ImageMemoryBarrier; pointer->Next = null; this.Image?.MarshalTo(&pointer->Image); pointer->SourceAccessMask = this.SourceAccessMask; pointer->DestinationAccessMask = this.DestinationAccessMask; pointer->OldLayout = this.OldLayout; pointer->NewLayout = this.NewLayout; pointer->SourceQueueFamilyIndex = this.SourceQueueFamilyIndex; pointer->DestinationQueueFamilyIndex = this.DestinationQueueFamilyIndex; pointer->SubresourceRange = this.SubresourceRange; }
internal ImageMemoryBarrier(Interop.ImageMemoryBarrier* ptr) { m = ptr; Initialize (); }
public ImageMemoryBarrier() { m = (Interop.ImageMemoryBarrier*) Interop.Structure.Allocate (typeof (Interop.ImageMemoryBarrier)); Initialize (); }