/// <summary> /// Initialize new instance of <see cref="RenderPassRenderTargetDescription"/> struct. /// </summary> /// <param name="cpuDescriptor">The CPU <see cref="CpuDescriptorHandle"/> handle corresponding to the render target view(s) (RTVs).</param> /// <param name="beginningAccess">The access to the RTV(s) requested at the transition into a render pass.</param> /// <param name="endingAccess">The access to the RTV(s) requested at the transition out of a render pass.</param> public RenderPassRenderTargetDescription( CpuDescriptorHandle cpuDescriptor, RenderPassBeginningAccess beginningAccess, RenderPassEndingAccess endingAccess) { CpuDescriptor = cpuDescriptor; BeginningAccess = beginningAccess; EndingAccess = endingAccess; }
public void ClearDepthStencilView(CpuDescriptorHandle depthStencilView, ClearFlags clearFlags, float depth, byte stencil, params RawRectangle[] rectangles) { if (rectangles.Length == 0) { ClearDepthStencilView(depthStencilView, clearFlags, depth, stencil, 0, null); } else { ClearDepthStencilView(depthStencilView, clearFlags, depth, stencil, rectangles.Length, rectangles); } }
public void ClearRenderTargetView(CpuDescriptorHandle renderTargetView, Color4 colorRGBA, params RawRectangle[] rectangles) { if (rectangles.Length == 0) { ClearRenderTargetView(renderTargetView, colorRGBA, 0, null); } else { ClearRenderTargetView(renderTargetView, colorRGBA, rectangles.Length, rectangles); } }
public void ClearRenderTargetView(CpuDescriptorHandle renderTargetView, in System.Drawing.Color color)
public void ClearRenderTargetView(CpuDescriptorHandle renderTargetView, in Color4 colorRGBA, params Rect[] rectangles)