Expand description
Crate for making plug-ins for the webcam application camlet.
See https://camlet.pommicket.com/doc/quickstart_rust.html for a guide on how to use this library.
Structs§
- Command
- A command from camlet to the plug-in.
- Command
Camera Connected _camera_connectedcommand — sent whenever a new camera is connected.- Command
Camera Disconnected _camera_disconnectedcommand — sent whenever a camera is disconnected.- Command
Frame framecommand — sent whenever a new frame is rendered.- Command
Grabbed _grabbedcommand — sent when a texture is “grabbed”- Command
Init initcommand — sent when the plug-in is loaded.- Command
KeyDown _key_downcommand — sent whenever the user presses a key.- Command
KeyUp _key_upcommand — sent whenever the user releases a key.- Command
Mouse Down _mouse_downcommand — Sent whenever a mouse button is pressed.- Command
Mouse Scroll _mouse_scrollcommand — Sent whenever the mouse is scrolled.- Command
Mouse Up _mouse_upcommand — Sent whenever a mouse button is released.- Command
Photo photocommand — sent when a photo is about to be taken.- Command
Photo Error _photo_errorcommand — Sent when a photo fails to be taken.- Command
Photo Ok _photo_okcommand — Sent when a photo is saved to disk.- Command
Quit quitcommand — sent when camlet quits.- Command
Setting _settingcommand — sent when a setting value is set/changed.- Command
Video Start video_startcommand — Sent when a video recording is about to start.- Command
Video Started _video_startedcommand — Sent when a video recording is started.- Command
Video Stop _video_stopcommand — Sent when a video recording is stopped.- Error
- Some kind of error
- Shader
- A shader for camlet
Enums§
- Download
Format - Format for downloading textures with CommandFrame::download_texture.
- Photo
Format - File format for photo
- Texture
Source - Source of a texture for CommandGrabbed.
Traits§
- Plugin
- A camlet plug-in
- Uniform
Value - A value which can be passed through a shader uniform