Fusion.Drivers.Graphics.GraphicsDevice.Clear C# (CSharp) 메소드

Clear() 공개 메소드

Clear depth stencil surface
public Clear ( DepthStencilSurface surface, float depth = 1, byte stencil ) : void
surface DepthStencilSurface
depth float
stencil byte
리턴 void
		public void Clear ( DepthStencilSurface surface, float depth = 1, byte stencil = 0 )
		{
			lock (deviceContext) {
				deviceContext.ClearDepthStencilView( surface.DSV, DepthStencilClearFlags.Depth|DepthStencilClearFlags.Stencil, depth, stencil );
			}
		}

Same methods

GraphicsDevice::Clear ( RenderTargetSurface surface, Color4 color ) : void
GraphicsDevice::Clear ( StructuredBuffer buffer, Int4 values ) : void