# C1.Util.DX.Direct3D11.OutputMergerStage.GetBlendState

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct3D11_OutputMergerStage_GetBlendState_" data-uid="C1.Util.DX.Direct3D11.OutputMergerStage.GetBlendState*">GetBlendState Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct3D11_OutputMergerStage_GetBlendState_" data-uid="C1.Util.DX.Direct3D11.OutputMergerStage.GetBlendState*"></a>
<h4 id="C1_Util_DX_Direct3D11_OutputMergerStage_GetBlendState_C1_Util_DX_ColorF__System_Int32__" data-uid="C1.Util.DX.Direct3D11.OutputMergerStage.GetBlendState(C1.Util.DX.ColorF@,System.Int32@)">GetBlendState(out ColorF, out int)</h4>
<div class="markdown level1 summary"><p>Get the {{blend state}} of the output-merger stage.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public BlendState GetBlendState(out ColorF blendFactor, out int sampleMaskRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetBlendState(ByRef blendFactor As ColorF, ByRef sampleMaskRef As Integer) As BlendState</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ColorF.html">ColorF</a></td>
      <td><span class="parametername">blendFactor</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sampleMaskRef</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.BlendState.html">BlendState</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_Direct3D11_OutputMergerStage_GetBlendState_" data-uid="C1.Util.DX.Direct3D11.OutputMergerStage.GetBlendState*"></a>
<h4 id="C1_Util_DX_Direct3D11_OutputMergerStage_GetBlendState_C1_Util_DX_Direct3D11_BlendState__C1_Util_DX_ColorF__System_Int32__" data-uid="C1.Util.DX.Direct3D11.OutputMergerStage.GetBlendState(C1.Util.DX.Direct3D11.BlendState@,C1.Util.DX.ColorF@,System.Int32@)">GetBlendState(out BlendState, out ColorF, out int)</h4>
<div class="markdown level1 summary"><p>void ID3D11DeviceContext::OMGetBlendState([Out, Optional] ID3D11BlendState** ppBlendState,[Out, Optional] SHARPDX_COLOR4* BlendFactor,[Out, Optional] unsigned int* pSampleMask)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetBlendState(out BlendState blendStateOut, out ColorF blendFactor, out int sampleMaskRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetBlendState(ByRef blendStateOut As BlendState, ByRef blendFactor As ColorF, ByRef sampleMaskRef As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Direct3D11.BlendState.html">BlendState</a></td>
      <td><span class="parametername">blendStateOut</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.ColorF.html">ColorF</a></td>
      <td><span class="parametername">blendFactor</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">sampleMaskRef</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
