Pixel Namespace
Describes aspects of a pixel as read from a Viewport.
Enumeration
| Name | Description |
|---|---|
| Pixel.GeometryType | Describes the type of geometry that produced the Pixel.Data. |
| Pixel.Planarity | Describes the planarity of the foremost geometry which produced the pixel. |
| Pixel.Selector | Bit-mask by which callers of readPixels specify which aspects are of interest. |
Class
| Name | Description |
|---|---|
| Pixel.Data | Describes a single pixel within a Pixel.Buffer. |
Interface
| Name | Description |
|---|---|
| Pixel.Buffer | A rectangular array of pixels as read from a Viewport's frame buffer. |
| Pixel.HitProps | Describes a subset of HitDetailProps computed from a Pixel.Data, suitable for constructing a HitDetail. |
Type Alias
| Name | Description |
|---|---|
| Pixel.Receiver | A function which receives the results of a call to readPixels. |
Defined in
Last Updated: 29 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.