---
page_type: sample
description: "Demonstrates how to implement the CPixel class for use by a display driver."
languages:
- cpp
products:
- windows
- windows-wdk
---

# PixLib sample

The PixLib sample demonstrates how to implement the **CPixel** class for use by a display driver.

For more information, see the WDK documentation topic, [CPixel Support Methods for Lightweight MIP Maps](https://docs.microsoft.com/windows-hardware/drivers/display/cpixel-support-methods-for-lightweight-mip-maps).
