Blender  V2.93
DRW_engine_types.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * Copyright 2016, Blender Foundation.
17  */
18 
23 #pragma once
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 /* Buffer and textures used by the viewport by default */
30 typedef struct DefaultFramebufferList {
39 
40 typedef struct DefaultTextureList {
41  struct GPUTexture *color;
45  struct GPUTexture *depth;
48 
49 #ifdef __cplusplus
50 }
51 #endif
struct DefaultFramebufferList DefaultFramebufferList
struct DefaultTextureList DefaultTextureList
struct GPUFrameBuffer GPUFrameBuffer
struct GPUTexture GPUTexture
Definition: GPU_texture.h:33
struct GPUFrameBuffer * overlay_only_fb
struct GPUFrameBuffer * in_front_fb
struct GPUFrameBuffer * depth_only_fb
struct GPUFrameBuffer * overlay_fb
struct GPUFrameBuffer * stereo_comp_fb
struct GPUFrameBuffer * default_fb
struct GPUFrameBuffer * color_only_fb
struct GPUTexture * depth
struct GPUTexture * color_overlay_stereo
struct GPUTexture * depth_in_front
struct GPUTexture * color_overlay
struct GPUTexture * color
struct GPUTexture * color_stereo