aboutsummaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_raster.h
diff options
context:
space:
mode:
authorJuan Linietsky2014-06-27 23:21:45 -0300
committerJuan Linietsky2014-06-27 23:21:45 -0300
commit2af2a84a03fd707cfa4c682aff34d722343d8985 (patch)
tree50d064e8bba7d5efb5974e3fa3a67e076fb5ef8b /servers/visual/visual_server_raster.h
parent1cc96a4d7440d9e8a20f7dbf17cf5771170de83d (diff)
downloadgodot-2af2a84a03fd707cfa4c682aff34d722343d8985.tar.gz
godot-2af2a84a03fd707cfa4c682aff34d722343d8985.tar.zst
godot-2af2a84a03fd707cfa4c682aff34d722343d8985.zip
Misc Fixes
========== -NOTIFICATION_WM_QUIT fixed on android (seems tha way this is reported changed in newer sdk) -WIP implementation of APK Expansion APIs for publishing games larger than 50mb in Play Store -Feaures in the new tutorials are all present in the sourcecode -This (hopefully) should get rid of the animation list order getting corrupted -Improved 3D Scene Importer (Skeletons, Animations and other stuff were not being merged). Anything missing? -In code editor, the automatic syntax checker will only use file_exists() to check preload() else it might freeze the editor too much while typing if the preload is a big resource -Fixed bugs in PolygonPathFinder, stil pending to do a node and a demo
Diffstat (limited to 'servers/visual/visual_server_raster.h')
-rw-r--r--servers/visual/visual_server_raster.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/servers/visual/visual_server_raster.h b/servers/visual/visual_server_raster.h
index ddc30bb2e..0368780bf 100644
--- a/servers/visual/visual_server_raster.h
+++ b/servers/visual/visual_server_raster.h
@@ -691,9 +691,10 @@ public:
virtual void shader_set_mode(RID p_shader,ShaderMode p_mode);
virtual ShaderMode shader_get_mode(RID p_shader) const;
- virtual void shader_set_code(RID p_shader, const String& p_vertex, const String& p_fragment,int p_vertex_ofs=0,int p_fragment_ofs=0);
+ virtual void shader_set_code(RID p_shader, const String& p_vertex, const String& p_fragment,const String& p_light,int p_vertex_ofs=0,int p_fragment_ofs=0,int p_light_ofs=0);
virtual String shader_get_vertex_code(RID p_shader) const;
virtual String shader_get_fragment_code(RID p_shader) const;
+ virtual String shader_get_light_code(RID p_shader) const;
virtual void shader_get_param_list(RID p_shader, List<PropertyInfo> *p_param_list) const;
@@ -710,11 +711,8 @@ public:
virtual void material_set_flag(RID p_material, MaterialFlag p_flag,bool p_enabled);
virtual bool material_get_flag(RID p_material,MaterialFlag p_flag) const;
- virtual void material_set_hint(RID p_material, MaterialHint p_hint,bool p_enabled);
- virtual bool material_get_hint(RID p_material,MaterialHint p_hint) const;
-
- virtual void material_set_shade_model(RID p_material, MaterialShadeModel p_model);
- virtual MaterialShadeModel material_get_shade_model(RID p_material) const;
+ virtual void material_set_depth_draw_mode(RID p_material, MaterialDepthDrawMode p_mode);
+ virtual MaterialDepthDrawMode material_get_depth_draw_mode(RID p_material) const;
virtual void material_set_blend_mode(RID p_material,MaterialBlendMode p_mode);
virtual MaterialBlendMode material_get_blend_mode(RID p_material) const;
@@ -736,16 +734,16 @@ public:
virtual void fixed_material_set_texture(RID p_material,FixedMaterialParam p_parameter, RID p_texture);
virtual RID fixed_material_get_texture(RID p_material,FixedMaterialParam p_parameter) const;
- virtual void fixed_material_set_detail_blend_mode(RID p_material,MaterialBlendMode p_mode);
- virtual MaterialBlendMode fixed_material_get_detail_blend_mode(RID p_material) const;
-
-
virtual void fixed_material_set_texcoord_mode(RID p_material,FixedMaterialParam p_parameter, FixedMaterialTexCoordMode p_mode);
virtual FixedMaterialTexCoordMode fixed_material_get_texcoord_mode(RID p_material,FixedMaterialParam p_parameter) const;
+
virtual void fixed_material_set_uv_transform(RID p_material,const Transform& p_transform);
virtual Transform fixed_material_get_uv_transform(RID p_material) const;
+ virtual void fixed_material_set_light_shader(RID p_material,FixedMaterialLightShader p_shader);
+ virtual FixedMaterialLightShader fixed_material_get_light_shader(RID p_material) const;
+
virtual void fixed_material_set_point_size(RID p_material,float p_size);
virtual float fixed_material_get_point_size(RID p_material) const;