/// <summary> /// /// </summary> internal static unsafe IndirectCommandsToken MarshalFrom(SharpVk.Interop.NVidia.Experimental.IndirectCommandsToken *pointer) { IndirectCommandsToken result = default(IndirectCommandsToken); result.TokenType = pointer->TokenType; result.Buffer = new SharpVk.Buffer(default(SharpVk.Device), pointer->Buffer); result.Offset = pointer->Offset; return(result); }
/// <summary> /// /// </summary> internal unsafe void MarshalTo(SharpVk.Interop.NVidia.Experimental.IndirectCommandsToken *pointer) { pointer->TokenType = this.TokenType; pointer->Buffer = this.Buffer?.handle ?? default(SharpVk.Interop.Buffer); pointer->Offset = this.Offset; }