/// <summary> /// /// </summary> internal unsafe void MarshalTo(SharpVk.Interop.NVidia.Experimental.ObjectTableDescriptorSetEntry *pointer) { pointer->Type = this.Type; pointer->Flags = this.Flags; pointer->PipelineLayout = this.PipelineLayout?.handle ?? default(SharpVk.Interop.PipelineLayout); pointer->DescriptorSet = this.DescriptorSet?.handle ?? default(SharpVk.Interop.DescriptorSet); }
/// <summary> /// /// </summary> internal static unsafe ObjectTableDescriptorSetEntry MarshalFrom(SharpVk.Interop.NVidia.Experimental.ObjectTableDescriptorSetEntry *pointer) { ObjectTableDescriptorSetEntry result = default(ObjectTableDescriptorSetEntry); result.Type = pointer->Type; result.Flags = pointer->Flags; result.PipelineLayout = new SharpVk.PipelineLayout(default(SharpVk.Device), pointer->PipelineLayout); result.DescriptorSet = new SharpVk.DescriptorSet(default(SharpVk.DescriptorPool), pointer->DescriptorSet); return(result); }