# RefCountedObject

Class · category: Framework

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/core/ref-counted-object.js#L6

Base class that implements reference counting for objects.

## Accessors

### refCount

```ts
get refCount(): number
```

Gets the current reference count.

## Methods

### decRefCount

```ts
decRefCount(): void
```

Decrements the reference counter.

### incRefCount

```ts
incRefCount(): void
```

Increments the reference counter.
