Fusion.Drivers.Graphics.GraphicsDevice.Clear C# (CSharp) Méthode

Clear() public méthode

Clear depth stencil surface
public Clear ( DepthStencilSurface surface, float depth = 1, byte stencil ) : void
surface DepthStencilSurface
depth float
stencil byte
Résultat 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