Skip to content

Add processing_core crate and webcam support#87

Open
tychedelia wants to merge 1 commit intoprocessing:mainfrom
tychedelia:webcam
Open

Add processing_core crate and webcam support#87
tychedelia wants to merge 1 commit intoprocessing:mainfrom
tychedelia:webcam

Conversation

@tychedelia
Copy link
Member

Adds support for webcams and demonstrates a new pattern for non-rendering features.

Webcams are pretty straightforward. They are a new API Object that you can retrieve an Image from, representing the webcam's texture for this frame.

The bigger change here is the introduction of the processing_core crate and moving the primary Bevy App stuff into it. Additionally, we move the actual App initialization code into the main parent processing crate. The idea here is that that top-level crate can manage things like features and which plugins to add. You'll note that webcam is feature flagged. In practice, when we distribute our library, we will enable all features, but it's nice to give users the chance to disable features that they aren't interested in to create a smaller distribution.

Re: #85, we should follow the same pattern.

@tychedelia tychedelia requested a review from catilac March 11, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant