Interface IDrawFilter ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Decides which materials of which nodes are drawn, such as a tool hiding tools materials. The renderer draws every material as it says, and leaves the rest to whoever sets RenderSettings.DrawFilter.
csharp
public interface IDrawFilterMethods ​
GetVisibility(SceneNode, RenderMaterial) ​
Gets how a node draws one of its materials.
csharp
DrawVisibility GetVisibility(SceneNode node, RenderMaterial material)Parameters ​
node SceneNode
The node.
material RenderMaterial
The material of one of its draws.
Returns ​
How the draw is drawn.

