| ClearFlags Enumeration | Language: | 
      
      
      Specifies the buffer to use when calling the Device.Clear method.
      Definition
      
        
          
            | Visual Basic | Public Enum ClearFlags | 
          
            | C# | public enum ClearFlags | 
          
            | C++ | public enum class ClearFlags | 
          
            | JScript | public enum ClearFlags | 
        
      
      Members
      
        
          
            | Member | Value | Description | 
          
            | Target | 1 | Specifies a render target. | 
          
            | Stencil | 4 | Specifies a stencil buffer. | 
          
            | ZBuffer | 2 | Specifies a z-buffer. | 
        
      
      Enumeration Information
      
        
          
            | Namespace | Microsoft.DirectX.Direct3D | 
          
            | Assembly | Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) | 
          
            | Strong Name | Microsoft.DirectX.Direct3D,
       Version=1.0.900.0,
       Culture=neutral,
       PublicKeyToken=d3231b57b74a1492 | 
        
      
      
      Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
      
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center