# BufferID(ulong)

> Create a new BufferID.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.LightTransport](/engine/6000.5/script-reference/unityengine/lighttransport.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public BufferID(ulong value)
```

### Parameters

**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): The value to construct the BufferID.

### Remarks

Creates a BufferID from a raw value. This constructor can be used to create BufferIDs from handles or pointers.

The value is implementation-specific and can represent:

* Memory pointers in CPU implementations.
* GPU buffer handles in GPU implementations.
* Indices into internal buffer tables or other implementation-defined identifiers.

**Note:** This is an advanced feature that permits unsafe code for advanced use cases. BufferIDs should typically be obtained through [IDeviceContext.CreateBuffer](/engine/6000.5/script-reference/unityengine/lighttransport/idevicecontext/createbuffer.md) rather than constructing them manually.
