1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +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
parent 0fa5154c0a
commit 89d87294db
11 changed files with 103 additions and 2 deletions

View File

@@ -196,6 +196,8 @@ public:
virtual String texture_get_path(RID p_texture) const=0;
virtual void texture_debug_usage(List<VS::TextureInfo> *r_info)=0;
virtual void texture_set_shrink_all_x2_on_set_data(bool p_enable)=0;
/* SHADER API */
virtual RID shader_create(VS::ShaderMode p_mode=VS::SHADER_MATERIAL)=0;