1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Ability to set flags via code in StreamTexture, as some users find it useful. Fixes #14526.

This commit is contained in:
Juan Linietsky
2017-12-26 12:49:54 -03:00
parent b411029e31
commit edd3bd8cb8

View File

@@ -707,6 +707,8 @@ Ref<Image> StreamTexture::get_data() const {
}
void StreamTexture::set_flags(uint32_t p_flags) {
flags = p_flags;
VS::get_singleton()->texture_set_flags(texture, flags);
}
void StreamTexture::reload_from_file() {