# UniformFormat

Class · category: Graphics

Source: https://github.com/playcanvas/engine/blob/f059dc005842f76e052cdf44d8370c8c7ec475ac/src/platform/graphics/uniform-buffer-format.js#L48

A class storing description of an individual uniform, stored inside a uniform buffer.

## Constructors

### constructor

```ts
new UniformFormat(name: string, type: number, count?: number)
```

Create a new UniformFormat instance.

**Parameters**

- `name` (`string`): The name of the uniform.
- `type` (`number`): The type of the uniform. One of the UNIFORMTYPE_*** constants.
- `count` (`number`, optional, default `0`): The number of elements in the array. Defaults to 0, which represents
  a single element (not an array).

## Accessors

### isArrayType

```ts
get isArrayType(): boolean
```

True if this is an array of elements (i.e. count > 0)
