summaryrefslogtreecommitdiff
path: root/servers/camera_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/camera_server.h')
-rw-r--r--servers/camera_server.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/servers/camera_server.h b/servers/camera_server.h
index 54acce006a..e09b883eee 100644
--- a/servers/camera_server.h
+++ b/servers/camera_server.h
@@ -95,15 +95,16 @@ public:
int get_feed_index(int p_id);
Ref<CameraFeed> get_feed_by_id(int p_id);
- // add and remove feeds
+ // Add and remove feeds.
void add_feed(const Ref<CameraFeed> &p_feed);
void remove_feed(const Ref<CameraFeed> &p_feed);
- // get our feeds
+ // Get our feeds.
Ref<CameraFeed> get_feed(int p_index);
int get_feed_count();
Array get_feeds();
+ // Intended for use with custom CameraServer implementation.
RID feed_texture(int p_id, FeedImage p_texture);
CameraServer();