Namespace ValveResourceFormat.Renderer.Editor.ToolRender ​
Classes ​
| Name | Description |
|---|---|
| ToolGeometry | The shapes a ToolRenderContext draws, batched by what they are drawn with, and the GL objects they are drawn from once uploaded. |
| ToolPickTargets | What a ToolRenderContext draws inside its pick objects, which a ray through the cursor picks the nearest of. This is how Hammer finds the part of a tool under the cursor: by the faces and handles it draws for it, including those drawn in ToolRenderMode.PickProxy only to be picked. |
| ToolRenderContext | Draws the shapes of the editor the way Hammer's tool render context does: a stack of render modes that say whether shapes are lines or faces, opaque or blended, hidden by the scene or over it, a stack of transforms, and a draw color and line width that the shapes take as they are drawn. What is drawn goes into a ToolGeometry. |
| ToolRenderModes | The flags and layer of each ToolRenderMode. |
| ToolSceneNode | Tool shapes that are part of the scene, such as what an entity's helpers draw while it is not selected. They are culled and shown with the layer they are on, drawn in the tools pass, and picked with the scene. |
| ToolsPass | Draws the selection outline and the tool shapes over the final image, as Hammer draws its tool layers: hidden by the scene and by each other unless their mode draws them over it, blended in linear space, and multisampled with the scene. |
Structs ​
| Name | Description |
|---|---|
| ToolLabel | Text written at a point, facing the screen. |
Enums ​
| Name | Description |
|---|---|
| ToolFaceSides | Which sides of the faces of a shape are drawn. |
| ToolHandleType | The shape of a handle, a marker that keeps its size on the screen. |
| ToolRenderLayer | Where the shapes of each mode are drawn, in the order the layers are drawn. |
| ToolRenderMode | How the editor draws its tool shapes: lines or faces, opaque or blended, over the scene or not. |
| ToolRenderModeFlags | What a ToolRenderMode draws with. |

