diff options
Diffstat (limited to 'source/blender/draw/DRW_engine.h')
-rw-r--r-- | source/blender/draw/DRW_engine.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h index 05ecc7390d1..e8dc47245e3 100644 --- a/source/blender/draw/DRW_engine.h +++ b/source/blender/draw/DRW_engine.h @@ -30,10 +30,27 @@ struct CollectionEngineSettings; struct DRWPass; struct Material; struct Scene; +struct DrawEngineType; +struct bContext; +struct Object; -void DRW_engines_init(void); +/* Buffer and textures used by the viewport by default */ +typedef struct DefaultFramebufferList { + struct GPUFrameBuffer *default_fb; +} DefaultFramebufferList; + +typedef struct DefaultTextureList { + struct GPUTexture *color; + struct GPUTexture *depth; +} DefaultTextureList; + +void DRW_engines_register(void); void DRW_engines_free(void); +void DRW_engine_register(struct DrawEngineType *draw_engine_type); + +void DRW_draw_view(const struct bContext *C); + /* This is here because GPUViewport needs it */ void DRW_pass_free(struct DRWPass *pass); |