Expand description
Constructors§
Source§new PipelineTriangleBorder(renderer: Renderer): PipelineTriangleBorder
new PipelineTriangleBorder(renderer: Renderer): PipelineTriangleBorder
Constructor for PipelineBorderFlat
Properties§
Methods§
Source§build(borders: Triangles2DLayer): void
build(borders: Triangles2DLayer): void
Builds the pipeline with the provided border data.
Source§createVertexBuffers(borders: Triangles2DLayer): void
createVertexBuffers(borders: Triangles2DLayer): void
Creates the vertex buffers for the pipeline.
Source§updateCameraUniforms(camera: Camera): void
updateCameraUniforms(camera: Camera): void
Updates the camera uniform buffers with the current camera state.
Source§updateColorUniforms(layer: Layer): void
updateColorUniforms(layer: Layer): void
Updates the color uniform buffers with the current layer state.
Source§updateVertexBuffers(borders: Triangles2DLayer): void
updateVertexBuffers(borders: Triangles2DLayer): void
Updates the vertex buffers with the provided border data.
PipelineBorderFlat is a rendering pipeline for drawing flat borders of triangles in 2D space. It uses WebGPU to render lines based on the provided border data.