# Class DebugRenderPipeline

A pipeline for rendering the physics scene.

To avoid leaking WASM resources, this MUST be freed manually with `debugRenderPipeline.free()` once you are done using it (and all the rigid-bodies it created).

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

#####
Index

### Constructors

constructor

### Properties

colors
raw
vertices

### Methods

free
render

## Constructors

### constructor

- new DebugRenderPipeline(raw?): DebugRenderPipeline

- #### Parameters

  - `Optional` raw: RawDebugRenderPipeline

  #### Returns DebugRenderPipeline

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

## Properties

### colors

colors: Float32Array

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

### raw

raw: RawDebugRenderPipeline

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

### vertices

vertices: Float32Array

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

## Methods

### free

- free(): void

- Release the WASM memory occupied by this serialization pipeline.

  #### Returns void

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

### render

- render(bodies, colliders, impulse_joints, multibody_joints, narrow_phase, filterFlags?, filterPredicate?): void

- #### Parameters

  - bodies: RigidBodySet
  - colliders: ColliderSet
  - impulse_joints: ImpulseJointSet
  - multibody_joints: MultibodyJointSet
  - narrow_phase: NarrowPhase
  - `Optional` filterFlags: QueryFilterFlags
  - `Optional` filterPredicate: ((collider) => boolean)
    - - (collider): boolean

      - #### Parameters

        - collider: Collider

        #### Returns boolean

  #### Returns void

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