Ability to set flags via code in StreamTexture, as some users find it useful. Fixes #14526.
This commit is contained in:
parent
b411029e31
commit
edd3bd8cb8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user