> Development branch documentation · commit 327c05c78d2f528e4f4a679fcc7a77d9aa161f48
> Package versions: @zenfg/webgpu 0.1.0, @zenfg/snapshot 0.1.0, @zenfg/inspector 0.1.0, zenfg 0.1.0, zenfg-snapshot 0.1.0
> Source: https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/inspector/src/styles.ts#L1028

[ZenFG TypeScript API](/zenfg/docs/api/index.md) / [inspector](/zenfg/docs/api/inspector/index.md) / [root](/zenfg/docs/api/inspector/root/index.md) / ensureFrameGraphInspectorStyles

# Function: ensureFrameGraphInspectorStyles()

> **ensureFrameGraphInspectorStyles**(): `void`

Defined in: [inspector/src/styles.ts:1028](https://github.com/uinosoft/zenfg/blob/327c05c78d2f528e4f4a679fcc7a77d9aa161f48/packages/inspector/src/styles.ts#L1028)

Installs the inspector's shared stylesheet in the current document once.

## Returns

`void`

## Remarks

This is safe to call repeatedly and is a no-op during server-side
rendering. `FrameGraphInspector` calls it automatically.
