[]
ID3D11DeviceContext
[Guid("c0bfa96c-e089-44fb-8eaf-26f8796190da")]
public class OutputMergerStage : CppObject, IDisposable
Initializes a new instance of the OutputMergerStage class.
public OutputMergerStage(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
Constant SimultaneousRenderTargetCount.
public const int SimultaneousRenderTargetCount = 8
Gets or sets the blend factor.
public ColorF BlendFactor { get; set; }
The blend factor.
Gets or sets the blend sample mask.
public int BlendSampleMask { get; set; }
The blend sample mask.
Gets or sets the state of the blend.
public BlendState BlendState { get; set; }
The state of the blend.
Gets or sets the depth stencil reference.
public int DepthStencilReference { get; set; }
The depth stencil reference.
Gets or sets the state of the depth stencil.
public DepthStencilState DepthStencilState { get; set; }
The state of the depth stencil.
Get the {{blend state}} of the output-merger stage.
public BlendState GetBlendState(out ColorF blendFactor, out int sampleMaskRef)
blendFactor ColorFsampleMaskRef intvoid ID3D11DeviceContext::OMGetBlendState([Out, Optional] ID3D11BlendState** ppBlendState,[Out, Optional] SHARPDX_COLOR4* BlendFactor,[Out, Optional] unsigned int* pSampleMask)
public void GetBlendState(out BlendState blendStateOut, out ColorF blendFactor, out int sampleMaskRef)
blendStateOut BlendStateblendFactor ColorFsampleMaskRef intvoid ID3D11DeviceContext::OMGetDepthStencilState([Out, Optional] ID3D11DepthStencilState** ppDepthStencilState,[Out, Optional] unsigned int* pStencilRef)
public void GetDepthStencilState(out DepthStencilState depthStencilStateOut, out int stencilRefRef)
depthStencilStateOut DepthStencilStatestencilRefRef intGets the {{depth-stencil}} state of the output-merger stage.
public DepthStencilState GetDepthStencilState(out int stencilRefRef)
stencilRefRef intGet references to the render targets that are available to the {{output-merger stage}}.
public DepthStencilView GetRenderTargets()
Get references to the render targets and the depth-stencil buffer that are available to the {{output-merger stage}}.
public RenderTargetView[] GetRenderTargets(int numViews, out DepthStencilView depthStencilViewRef)
numViews intdepthStencilViewRef DepthStencilViewvoid ID3D11DeviceContext::OMGetRenderTargets([In] unsigned int NumViews,[Out, Buffer, Optional] ID3D11RenderTargetView** ppRenderTargetViews,[Out, Optional] ID3D11DepthStencilView** ppDepthStencilView)
public DepthStencilView GetRenderTargets(int numViews, RenderTargetView[] renderTargetViewsOut)
numViews intrenderTargetViewsOut RenderTargetView[]Get references to the render targets that are available to the {{output-merger stage}}.
public RenderTargetView[] GetRenderTargets(int numViews)
numViews intvoid ID3D11DeviceContext::OMGetRenderTargetsAndUnorderedAccessViews([In] unsigned int NumRTVs,[Out, Buffer, Optional] ID3D11RenderTargetView** ppRenderTargetViews,[Out, Optional] ID3D11DepthStencilView** ppDepthStencilView,[In] unsigned int UAVStartSlot,[In] unsigned int NumUAVs,[Out, Buffer, Optional] ID3D11UnorderedAccessView** ppUnorderedAccessViews)
public DepthStencilView GetRenderTargetsAndUnorderedAccessViews(int numRTVs, RenderTargetView[] renderTargetViewsOut, int uAVStartSlot, int numUAVs, UnorderedAccessView[] unorderedAccessViewsOut)
numRTVs intrenderTargetViewsOut RenderTargetView[]uAVStartSlot intnumUAVs intunorderedAccessViewsOut UnorderedAccessView[]Gets an array of views for an unordered resource.
public UnorderedAccessView[] GetUnorderedAccessViews(int startSlot, int count)
startSlot intcount intUnbinds all depth-stencil buffer and render targets from the output-merger stage.
public void ResetTargets()
void ID3D11DeviceContext::OMSetBlendState([In, Optional] ID3D11BlendState* pBlendState,[In, Optional] const SHARPDX_COLOR4* BlendFactor,[In] unsigned int SampleMask)
public void SetBlendState(BlendState blendStateRef, ColorF? blendFactor = null, int sampleMask = -1)
blendStateRef BlendStateblendFactor ColorF?sampleMask intSet the blend state of the output-merger stage.
[CLSCompliant(false)]
public void SetBlendState(BlendState blendStateRef, ColorF? blendFactor, uint sampleMask)
blendStateRef BlendStateblendFactor ColorF?sampleMask uintvoid ID3D11DeviceContext::OMSetDepthStencilState([In, Optional] ID3D11DepthStencilState* pDepthStencilState,[In] unsigned int StencilRef)
public void SetDepthStencilState(DepthStencilState depthStencilStateRef, int stencilRef = 0)
depthStencilStateRef DepthStencilStatestencilRef intBinds a depth stencil view and a render target view to the output-merger stage keeping existing unordered access views bindings.
public void SetRenderTargets(DepthStencilView depthStencilView, RenderTargetView renderTargetView)
depthStencilView DepthStencilViewrenderTargetView RenderTargetViewBinds a depth stencil view and a render target view to the output-merger stage keeping existing unordered access views bindings.
public void SetRenderTargets(DepthStencilView depthStencilView, params RenderTargetView[] renderTargetViews)
depthStencilView DepthStencilViewrenderTargetViews RenderTargetView[]Binds a render target view to the output-merger stage keeping existing unordered access views bindings.
public void SetRenderTargets(RenderTargetView renderTargetView)
renderTargetView RenderTargetViewvoid ID3D11DeviceContext::OMSetRenderTargets([In] unsigned int NumViews,[In] const void** ppRenderTargetViews,[In, Optional] ID3D11DepthStencilView* pDepthStencilView)
public void SetRenderTargets(int numViews, IntPtr renderTargetViewsOut, DepthStencilView depthStencilViewRef)
numViews intrenderTargetViewsOut System.IntPtrdepthStencilViewRef DepthStencilViewvoid ID3D11DeviceContext::OMSetRenderTargetsAndUnorderedAccessViews([In] unsigned int NumRTVs,[In, Buffer, Optional] const void** ppRenderTargetViews,[In, Optional] ID3D11DepthStencilView* pDepthStencilView,[In] unsigned int UAVStartSlot,[In] unsigned int NumUAVs,[In, Buffer, Optional] const void** ppUnorderedAccessViews,[In, Buffer, Optional] const void* pUAVInitialCounts)
public void SetRenderTargetsAndUnorderedAccessViews(int numRTVs, IntPtr renderTargetViewsOut, DepthStencilView depthStencilViewRef, int uAVStartSlot, int numUAVs, IntPtr unorderedAccessViewsOut, IntPtr uAVInitialCountsRef)
numRTVs intrenderTargetViewsOut System.IntPtrdepthStencilViewRef DepthStencilViewuAVStartSlot intnumUAVs intunorderedAccessViewsOut System.IntPtruAVInitialCountsRef System.IntPtrBinds a set of render targets to the output-merger stage and clear the depth stencil view.
public void SetTargets(ComArray<RenderTargetView> renderTargetViews)
renderTargetViews ComArray<RenderTargetView>Binds a depth-stencil buffer and a set of render targets to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, ComArray<RenderTargetView> renderTargetViews)
depthStencilView DepthStencilViewrenderTargetViews ComArray<RenderTargetView>Binds a depth-stencil buffer, a set of unordered access views, and a single render target to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, RenderTargetView renderTargetView, int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] initialLengths)
depthStencilView DepthStencilViewrenderTargetView RenderTargetViewstartSlot intunorderedAccessViews UnorderedAccessView[]initialLengths int[]Binds a depth-stencil buffer, a set of unordered access views, and a single render target to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, RenderTargetView renderTargetView, int startSlot, UnorderedAccessView[] unorderedAccessViews)
depthStencilView DepthStencilViewrenderTargetView RenderTargetViewstartSlot intunorderedAccessViews UnorderedAccessView[]Binds a depth-stencil buffer and a single render target to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, RenderTargetView renderTargetView)
depthStencilView DepthStencilViewrenderTargetView RenderTargetViewBinds a depth-stencil buffer and a set of render targets to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, params RenderTargetView[] renderTargetViews)
depthStencilView DepthStencilViewrenderTargetViews RenderTargetView[]Binds a depth-stencil buffer and a set of render targets to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, int renderTargetCount, RenderTargetView[] renderTargetViews)
depthStencilView DepthStencilViewrenderTargetCount intrenderTargetViews RenderTargetView[]Binds a depth-stencil buffer, a set of unordered access views, and a set of render targets to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, int startSlot, UnorderedAccessView[] unorderedAccessViews, params RenderTargetView[] renderTargetViews)
depthStencilView DepthStencilViewstartSlot intunorderedAccessViews UnorderedAccessView[]renderTargetViews RenderTargetView[]Binds a depth-stencil buffer, a set of unordered access views, and a set of render targets to the output-merger stage.
public void SetTargets(DepthStencilView depthStencilView, int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] initialLengths, params RenderTargetView[] renderTargetViews)
depthStencilView DepthStencilViewstartSlot intunorderedAccessViews UnorderedAccessView[]initialLengths int[]renderTargetViews RenderTargetView[]Binds a set of unordered access views and a single render target to the output-merger stage.
public void SetTargets(RenderTargetView renderTargetView, int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] initialLengths)
renderTargetView RenderTargetViewstartSlot intunorderedAccessViews UnorderedAccessView[]initialLengths int[]Binds a set of unordered access views and a single render target to the output-merger stage.
public void SetTargets(RenderTargetView renderTargetView, int startSlot, UnorderedAccessView[] unorderedAccessViews)
renderTargetView RenderTargetViewstartSlot intunorderedAccessViews UnorderedAccessView[]Binds a single render target to the output-merger stage.
public void SetTargets(RenderTargetView renderTargetView)
renderTargetView RenderTargetViewBind one or more render targets atomically and the depth-stencil buffer to the output-merger stage.
public void SetTargets(params RenderTargetView[] renderTargetViews)
renderTargetViews RenderTargetView[]Binds a set of unordered access views and a set of render targets to the output-merger stage.
public void SetTargets(int startSlot, UnorderedAccessView[] unorderedAccessViews, params RenderTargetView[] renderTargetViews)
startSlot intunorderedAccessViews UnorderedAccessView[]renderTargetViews RenderTargetView[]Binds a set of unordered access views and a set of render targets to the output-merger stage.
public void SetTargets(int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] initialLengths, params RenderTargetView[] renderTargetViews)
startSlot intunorderedAccessViews UnorderedAccessView[]initialLengths int[]renderTargetViews RenderTargetView[]Sets an array of views for an unordered resource keeping existing render targets bindings.
public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView, int uavInitialCount)
startSlot intunorderedAccessView UnorderedAccessViewuavInitialCount intSets an array of views for an unordered resource keeping existing render targets bindings.
public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView)
startSlot intunorderedAccessView UnorderedAccessViewSets an array of views for an unordered resource keeping existing render targets bindings.
public void SetUnorderedAccessViews(int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] uavInitialCounts)
startSlot intunorderedAccessViews UnorderedAccessView[]uavInitialCounts int[]Sets an array of views for an unordered resource keeping existing render targets bindings.
public void SetUnorderedAccessViews(int startSlot, params UnorderedAccessView[] unorderedAccessViews)
startSlot intunorderedAccessViews UnorderedAccessView[]Performs an explicit conversion from System.IntPtr to OutputMergerStage.
public static explicit operator OutputMergerStage(IntPtr nativePointer)
nativePointer System.IntPtr