/// <summary> /// Function to set the pipeline state for this draw call. /// </summary> /// <param name="pipelineState">The pipeline state to assign.</param> /// <returns>The fluent builder interface.</returns> /// <exception cref="ArgumentNullException">Thrown when the <paramref name="pipelineState"/> parameter is <b>null</b>.</exception> public GorgonStreamOutCallBuilder PipelineState(GorgonStreamOutPipelineState pipelineState) { _workerCall.PipelineState = pipelineState ?? throw new ArgumentNullException(nameof(pipelineState)); return(this); }
/// <summary> /// Initializes a new instance of the <see cref="GorgonStreamOutPipelineState" /> class. /// </summary> /// <param name="pipelineState">The pipeline state to copy.</param> internal GorgonStreamOutPipelineState(GorgonStreamOutPipelineState pipelineState) => PipelineState = new GorgonPipelineState(pipelineState.PipelineState);