# PhysicsWorld.RenderingMode

> Controls drawing and rendering is allowed. NOTE: Drawing and rendering are always available in the Unity Editor however rendering requires compute buffer support on any device it is used without which no rendering will occur.

## Definition

* **Type:** Enum
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public enum PhysicsWorld.RenderingMode
```

## Fields

| Value                                                                                                                  | Description                                                                           |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [AnyPlayer](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/renderingmode/anyplayer.md)                 | Drawing and rendering is available in the Editor and any player build.                |
| [DevelopmentPlayer](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/renderingmode/developmentplayer.md) | Drawing and rendering is available in both the Editor and a Development player build. |
| [EditorOnly](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/renderingmode/editoronly.md)               | Drawing and rendering is only available in the Editor and not in a player build.      |
