mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
29 lines
952 B
C++
29 lines
952 B
C++
|
#ifndef RASTERIZER_CANVAS_RD_H
|
||
|
#define RASTERIZER_CANVAS_RD_H
|
||
|
|
||
|
#include "servers/visual/rasterizer/rasterizer.h"
|
||
|
|
||
|
class RasterizerCanvasRD : public RasterizerCanvas {
|
||
|
public:
|
||
|
RID light_internal_create() { return RID(); }
|
||
|
void light_internal_update(RID p_rid, Light *p_light) {}
|
||
|
void light_internal_free(RID p_rid) {}
|
||
|
|
||
|
void canvas_begin(){};
|
||
|
void canvas_end(){};
|
||
|
|
||
|
void canvas_render_items(Item *p_item_list, int p_z, const Color &p_modulate, Light *p_light, const Transform2D &p_transform){};
|
||
|
void canvas_debug_viewport_shadows(Light *p_lights_with_shadow){};
|
||
|
|
||
|
void canvas_light_shadow_buffer_update(RID p_buffer, const Transform2D &p_light_xform, int p_light_mask, float p_near, float p_far, LightOccluderInstance *p_occluders, CameraMatrix *p_xform_cache) {}
|
||
|
|
||
|
void reset_canvas() {}
|
||
|
|
||
|
void draw_window_margins(int *p_margins, RID *p_margin_textures) {}
|
||
|
|
||
|
RasterizerCanvasRD() {}
|
||
|
~RasterizerCanvasRD() {}
|
||
|
};
|
||
|
|
||
|
#endif // RASTERIZER_CANVAS_RD_H
|