1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +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:
Juan Linietsky
2016-05-04 12:36:51 -03:00
committed by Ariel Manzur
parent 4bc494ae2e
commit d6e30256ad
11 changed files with 103 additions and 2 deletions

View File

@@ -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) {