Expand description
Constructors§
Source§new PipelineTriangleFlat(renderer: Renderer): PipelineTriangleFlat
new PipelineTriangleFlat(renderer: Renderer): PipelineTriangleFlat
Constructor for PipelineTriangleFlat
Properties§
Methods§
Source§build(mesh: VectorLayer): void
build(mesh: VectorLayer): void
Builds the pipeline with the provided mesh data.
Source§createVertexBuffers(mesh: VectorLayer): void
createVertexBuffers(mesh: VectorLayer): 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(mesh: VectorLayer): void
updateVertexBuffers(mesh: VectorLayer): void
Updates the vertex buffers with the provided mesh data.
PipelineTriangleFlat is a rendering pipeline for drawing flat triangles in 2D space. It uses WebGPU to render triangles based on the provided mesh data.