|
ObjectivelyGPU
Object oriented graphics framework for SDL3 and C
|
GraphicsPipeline wraps an SDL_GPUGraphicsPipeline, owning its handle.
More...
Go to the source code of this file.
Data Structures | |
| struct | GraphicsPipeline |
An SDL_GPUGraphicsPipeline: the compiled vertex/fragment program plus all fixed-function render state (blend, rasteriser, depth/stencil, targets). More... | |
Typedefs | |
| typedef struct RenderDevice | RenderDevice |
| typedef struct GraphicsPipeline | GraphicsPipeline |
Functions | |
| OBJECTIVELYGPU_EXPORT Class * | _GraphicsPipeline (void) |
Variables | |
| OBJECTIVELYGPU_EXPORT const SDL_GPUColorTargetBlendState | GPU_BlendStateOpaque |
| Opaque blending: source color overwrites the destination (no blending). | |
| OBJECTIVELYGPU_EXPORT const SDL_GPUColorTargetBlendState | GPU_BlendStateAlpha |
Straight (non-premultiplied) alpha blending: src·srcA + dst·(1 - srcA). | |
| OBJECTIVELYGPU_EXPORT const SDL_GPUColorTargetBlendState | GPU_BlendStatePremultipliedAlpha |
Premultiplied alpha blending: src + dst·(1 - srcA). | |
| OBJECTIVELYGPU_EXPORT const SDL_GPUColorTargetBlendState | GPU_BlendStateAdditive |
Additive blending: src·srcA + dst, for glow, particles, and light accumulation. | |
| OBJECTIVELYGPU_EXPORT const SDL_GPUGraphicsPipelineCreateInfo | GPU_GraphicsPipeline3D |
3D world geometry: triangle list, solid fill, back-face culling (CCW front), depth test and write enabled with LESS_OR_EQUAL. | |
| OBJECTIVELYGPU_EXPORT const SDL_GPUGraphicsPipelineCreateInfo | GPU_GraphicsPipeline2D |
| 2D UI and sprites: triangle list, solid fill, no culling, no depth test. | |
GraphicsPipeline wraps an SDL_GPUGraphicsPipeline, owning its handle.
| typedef struct GraphicsPipeline GraphicsPipeline |
| typedef struct RenderDevice RenderDevice |
| OBJECTIVELYGPU_EXPORT Class * _GraphicsPipeline | ( | void | ) |