Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_framebuffer.h
| Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | #define GPU_framebuffer_clear_stencil(fb, stencil) \ | ||||
| GPU_framebuffer_clear(fb, GPU_STENCIL_BIT, NULL, 0.0f, stencil) | GPU_framebuffer_clear(fb, GPU_STENCIL_BIT, NULL, 0.0f, stencil) | ||||
| #define GPU_framebuffer_clear_depth_stencil(fb, depth, stencil) \ | #define GPU_framebuffer_clear_depth_stencil(fb, depth, stencil) \ | ||||
| GPU_framebuffer_clear(fb, GPU_DEPTH_BIT | GPU_STENCIL_BIT, NULL, depth, stencil) | GPU_framebuffer_clear(fb, GPU_DEPTH_BIT | GPU_STENCIL_BIT, NULL, depth, stencil) | ||||
| #define GPU_framebuffer_clear_color_depth_stencil(fb, col, depth, stencil) \ | #define GPU_framebuffer_clear_color_depth_stencil(fb, col, depth, stencil) \ | ||||
| GPU_framebuffer_clear(fb, GPU_COLOR_BIT | GPU_DEPTH_BIT | GPU_STENCIL_BIT, col, depth, stencil) | GPU_framebuffer_clear(fb, GPU_COLOR_BIT | GPU_DEPTH_BIT | GPU_STENCIL_BIT, col, depth, stencil) | ||||
| void GPU_framebuffer_multi_clear(GPUFrameBuffer *fb, const float (*clear_cols)[4]); | |||||
| void GPU_framebuffer_read_depth(GPUFrameBuffer *fb, int x, int y, int w, int h, float *data); | void GPU_framebuffer_read_depth(GPUFrameBuffer *fb, int x, int y, int w, int h, float *data); | ||||
| void GPU_framebuffer_read_color( | void GPU_framebuffer_read_color( | ||||
| GPUFrameBuffer *fb, int x, int y, int w, int h, int channels, int slot, float *data); | GPUFrameBuffer *fb, int x, int y, int w, int h, int channels, int slot, float *data); | ||||
| void GPU_framebuffer_blit(GPUFrameBuffer *fb_read, | void GPU_framebuffer_blit(GPUFrameBuffer *fb_read, | ||||
| int read_slot, | int read_slot, | ||||
| GPUFrameBuffer *fb_write, | GPUFrameBuffer *fb_write, | ||||
| int write_slot, | int write_slot, | ||||
| Show All 36 Lines | |||||