CF_PixelFormatOp¶
Category: graphics
GitHub: cute_graphics.h
The various supported operations a pixel format can perform.
Values¶
| Enum | Description |
|---|---|
CF_PIXELFORMAT_OP_NEAREST_FILTER |
Nearest-neighbor filtering. Good for pixel art. |
CF_PIXELFORMAT_OP_BILINEAR_FILTER |
Bilinear filtering, good general purpose option. |
CF_PIXELFORMAT_OP_RENDER_TARGET |
Used to render to a texture. |
CF_PIXELFORMAT_OP_ALPHA_BLENDING |
Performs hardware-accelerated alpha-blending. |
CF_PIXELFORMAT_OP_MSAA |
Performs hardware-accelerated multi-sample antialiasing. |
CF_PIXELFORMAT_OP_DEPTH |
Performs hardware-accelerated depth-culling. |
Remarks¶
Not all types are supported on each backend. Be sure to check with cf_query_pixel_format if a particular pixel format is available for your use-case.