SDL3Renderer.CreateParticlePipelineForBlendMode(BlendMode, GPUTextureFormat) Method
Definition
Namespace: Brine2D.Rendering
Creates a two-slot instanced graphics pipeline for particle rendering.
- Slot 0 — per-vertex, pitch = 8: float2 Corner from the static unit-quad VB.
- Slot 1 — per-instance, pitch = 48: ParticleInstance from the instance buffer.
Vertex attribute layout:
|
C#
private nint CreateParticlePipelineForBlendMode(Brine2D.Rendering.BlendMode blendMode, SDL3.SDL.GPUTextureFormat targetFormat);
Parameters
blendMode BlendMode
targetFormat SDL3.SDL.GPUTextureFormat