/// <summary> /// /// </summary> /// <param name="pointer"> /// </param> internal unsafe void MarshalTo(SharpVk.Interop.AttachmentDescriptionStencilLayout *pointer) { pointer->SType = StructureType.AttachmentDescriptionStencilLayoutVersion; pointer->Next = null; pointer->StencilInitialLayout = this.StencilInitialLayout; pointer->StencilFinalLayout = this.StencilFinalLayout; }
/// <summary> /// /// </summary> /// <param name="pointer"> /// </param> internal static unsafe AttachmentDescriptionStencilLayout MarshalFrom(SharpVk.Interop.AttachmentDescriptionStencilLayout *pointer) { AttachmentDescriptionStencilLayout result = default(AttachmentDescriptionStencilLayout); result.StencilInitialLayout = pointer->StencilInitialLayout; result.StencilFinalLayout = pointer->StencilFinalLayout; return(result); }