TSdlGpuBlitInfo
A record containing parameters for a blit command.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Properties
| Name | Description |
|---|---|
| ClearColor | The color to clear the destination region to before the blit. Ignored if LoadOp is not TSdlGpuLoadOp.Clear. |
| Cycle | true cycles the destination texture if it is already bound. |
| Destination | The destination region for the blit. |
| Filter | The filter mode used when blitting. |
| FlipMode | The flip mode for the source region. |
| LoadOp | What is done with the contents of the destination before the blit. |
| Source | The source region for the blit. |
Property Descriptions
ClearColor
The color to clear the destination region to before the blit. Ignored if LoadOp is not TSdlGpuLoadOp.Clear.
property ClearColor: TSdlColorF read GetClearColor write SetClearColor
Type: TSdlColorF
Cycle
true cycles the destination texture if it is already bound.
property Cycle: Boolean read FHandle.cycle write FHandle.cycle
Type: Boolean
Destination
The destination region for the blit.
property Destination: PSdlGpuBlitRegion read GetDestination
Type: PSdlGpuBlitRegion
Filter
The filter mode used when blitting.
property Filter: TSdlGpuFilter read GetFilter write SetFilter
Type: TSdlGpuFilter
FlipMode
The flip mode for the source region.
property FlipMode: TSdlFlipMode read GetFlipMode write SetFlipMode
Type: TSdlFlipMode
LoadOp
What is done with the contents of the destination before the blit.
property LoadOp: TSdlGpuLoadOp read GetLoadOp write SetLoadOp
Type: TSdlGpuLoadOp
Source
The source region for the blit.
property Source: PSdlGpuBlitRegion read GetSource
Type: PSdlGpuBlitRegion