# Class DebugRenderBuffers

The vertex and color buffers for debug-redering the physics scene.

- Defined in pipeline/debug_render_pipeline.d.ts:8

#####
Index

### Constructors

constructor

### Properties

colors
vertices

## Constructors

### constructor

- new DebugRenderBuffers(vertices, colors): DebugRenderBuffers

- #### Parameters

  - vertices: Float32Array
  - colors: Float32Array

  #### Returns DebugRenderBuffers

  - Defined in pipeline/debug_render_pipeline.d.ts:22

## Properties

### colors

colors: Float32Array

The color buffer. There is one color per vertex, and each color has four consecutive components (in RGBA format).

- Defined in pipeline/debug_render_pipeline.d.ts:21

### vertices

vertices: Float32Array

The lines to render. This is a flat array containing all the lines to render. Each line is described as two consecutive point. Each point is described as two (in 2D) or three (in 3D) consecutive floats. For example, in 2D, the array: `[1, 2, 3, 4, 5, 6, 7, 8]` describes the two segments `[[1, 2], [3, 4]]` and `[[5, 6], [7, 8]]`.

- Defined in pipeline/debug_render_pipeline.d.ts:16