Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/DRW_render.h
| Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | typedef struct DefaultFramebufferList { | ||||
| struct GPUFrameBuffer *default_fb; | struct GPUFrameBuffer *default_fb; | ||||
| struct GPUFrameBuffer *overlay_fb; | struct GPUFrameBuffer *overlay_fb; | ||||
| struct GPUFrameBuffer *in_front_fb; | struct GPUFrameBuffer *in_front_fb; | ||||
| struct GPUFrameBuffer *color_only_fb; | struct GPUFrameBuffer *color_only_fb; | ||||
| struct GPUFrameBuffer *depth_only_fb; | struct GPUFrameBuffer *depth_only_fb; | ||||
| struct GPUFrameBuffer *overlay_only_fb; | struct GPUFrameBuffer *overlay_only_fb; | ||||
| } DefaultFramebufferList; | } DefaultFramebufferList; | ||||
| typedef struct DefaultTextureList { | typedef struct DefaultTextureList { | ||||
jbakker: Remove this struct and use the one defined in `DRW_engine.h` | |||||
| struct GPUTexture *color; | struct GPUTexture *color; | ||||
| struct GPUTexture *color_overlay; | struct GPUTexture *color_overlay; | ||||
| /* Do not use any of the next textures as they aren't active */ | |||||
| struct GPUTexture *UNUSED_color; | |||||
| struct GPUTexture *UNUSED_color_overlay; | |||||
| struct GPUTexture *depth; | struct GPUTexture *depth; | ||||
| struct GPUTexture *depth_in_front; | struct GPUTexture *depth_in_front; | ||||
| } DefaultTextureList; | } DefaultTextureList; | ||||
| #endif | #endif | ||||
| /* Textures */ | /* Textures */ | ||||
| typedef enum { | typedef enum { | ||||
| DRW_TEX_FILTER = (1 << 0), | DRW_TEX_FILTER = (1 << 0), | ||||
| ▲ Show 20 Lines • Show All 531 Lines • Show Last 20 Lines | |||||
Remove this struct and use the one defined in DRW_engine.h