texture property

Texture? get texture

The most recent frame, or null before the first capture completes.

The object changes identity on every capture, so re-read it when drawing rather than caching it.

Implementation

gpu.Texture? get texture => _texture;