# GraphicsContext

> Class

Inheritance

* [object](https://learn.microsoft.com/dotnet/api/system.object)
* GraphicsContext

***

Inherited Members

* [Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\))

* [Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\))

* [GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

* [GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

* [MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

* [ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

* [ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

***

Namespace: UnityEngine.Pixyz.View

```csharp
[Serializable]
public class GraphicsContext
```

## Constructors

### GraphicsContext()

```csharp
public GraphicsContext()
```

### GraphicsContext(GraphicsContext)

```csharp
public GraphicsContext(GraphicsContext o)
```

Parameters

| Type                                      | Name | Description |
| ----------------------------------------- | ---- | ----------- |
| [GraphicsContext](./view_graphicscontext) | o    |             |

## Fields

### api

```csharp
public GraphicAPI api
```

Returns

| Type                            | Description |
| ------------------------------- | ----------- |
| [GraphicAPI](./view_graphicapi) |             |

### context

```csharp
public IntPtr context
```

Returns

| Type                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) |             |
