summaryrefslogtreecommitdiff
path: root/servers/camera_server.h
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2020-12-08 22:51:48 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2020-12-09 12:12:36 +0100
commit2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 (patch)
tree5648e173188bd43a31624dda5e6e5cc02e31dbc4 /servers/camera_server.h
parent90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff)
Cleanup unused engine code
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();