internal unsafe void MarshalTo(Interop.ImageCreateInfo *pointer) { pointer->SType = StructureType.ImageCreateInfo; 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->ImageType = this.ImageType; pointer->Format = this.Format; pointer->Extent = this.Extent; pointer->MipLevels = this.MipLevels; pointer->ArrayLayers = this.ArrayLayers; pointer->Samples = this.Samples; pointer->Tiling = this.Tiling; pointer->Usage = this.Usage; pointer->SharingMode = this.SharingMode; pointer->InitialLayout = this.InitialLayout; }
internal ImageCreateInfo(Interop.ImageCreateInfo* ptr) { m = ptr; Initialize (); }
public ImageCreateInfo() { m = (Interop.ImageCreateInfo*) Interop.Structure.Allocate (typeof (Interop.ImageCreateInfo)); Initialize (); }