mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
3f335ce3d4
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
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
|