You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
ability to shrink all images x2 on load
this is for extreme cases when running on devices with very low video memory, so you can still retain compatibility.
This commit is contained in:
@@ -127,6 +127,11 @@ void VisualServerRaster::texture_debug_usage(List<TextureInfo> *r_info){
|
||||
rasterizer->texture_debug_usage(r_info);
|
||||
}
|
||||
|
||||
void VisualServerRaster::texture_set_shrink_all_x2_on_set_data(bool p_enable) {
|
||||
|
||||
rasterizer->texture_set_shrink_all_x2_on_set_data(p_enable);
|
||||
}
|
||||
|
||||
/* SHADER API */
|
||||
|
||||
RID VisualServerRaster::shader_create(ShaderMode p_mode) {
|
||||
|
||||
Reference in New Issue
Block a user