Skip to content

engines: support Intersects feature #3746

@hermet

Description

@hermet

Support pixel-level accurate marquee hit detection by gl, wgpu

See: Intersects example (Sw Engine)

2025-08-26-12-15-23.mp4

Need to implement:

    virtual bool RenderMethod::intersectsShape(RenderData data, const RenderRegion& region) = 0;
    virtual bool RenderMethod::intersectsImage(RenderData data, const RenderRegion& region) = 0;

Reference: #3660

Metadata

Metadata

Labels

featureNew feature additionsglOpenGL/WebGL render backendwebgpuWebGPU render backend

Type

No type

Projects

Status

Done 1.0

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions