Blender
V2.93
source
blender
draw
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
{
31
struct
GPUFrameBuffer
*
default_fb
;
32
struct
GPUFrameBuffer
*
overlay_fb
;
33
struct
GPUFrameBuffer
*
in_front_fb
;
34
struct
GPUFrameBuffer
*
color_only_fb
;
35
struct
GPUFrameBuffer
*
depth_only_fb
;
36
struct
GPUFrameBuffer
*
overlay_only_fb
;
37
struct
GPUFrameBuffer
*
stereo_comp_fb
;
38
}
DefaultFramebufferList
;
39
40
typedef
struct
DefaultTextureList
{
41
struct
GPUTexture
*
color
;
42
struct
GPUTexture
*
color_overlay
;
43
struct
GPUTexture
*
color_stereo
;
44
struct
GPUTexture
*
color_overlay_stereo
;
45
struct
GPUTexture
*
depth
;
46
struct
GPUTexture
*
depth_in_front
;
47
}
DefaultTextureList
;
48
49
#ifdef __cplusplus
50
}
51
#endif
DefaultFramebufferList
struct DefaultFramebufferList DefaultFramebufferList
DefaultTextureList
struct DefaultTextureList DefaultTextureList
GPUFrameBuffer
struct GPUFrameBuffer GPUFrameBuffer
Definition:
GPU_framebuffer.h:58
GPUTexture
struct GPUTexture GPUTexture
Definition:
GPU_texture.h:33
DefaultFramebufferList
Definition:
DRW_engine_types.h:30
DefaultFramebufferList::overlay_only_fb
struct GPUFrameBuffer * overlay_only_fb
Definition:
DRW_engine_types.h:36
DefaultFramebufferList::in_front_fb
struct GPUFrameBuffer * in_front_fb
Definition:
DRW_engine_types.h:33
DefaultFramebufferList::depth_only_fb
struct GPUFrameBuffer * depth_only_fb
Definition:
DRW_engine_types.h:35
DefaultFramebufferList::overlay_fb
struct GPUFrameBuffer * overlay_fb
Definition:
DRW_engine_types.h:32
DefaultFramebufferList::stereo_comp_fb
struct GPUFrameBuffer * stereo_comp_fb
Definition:
DRW_engine_types.h:37
DefaultFramebufferList::default_fb
struct GPUFrameBuffer * default_fb
Definition:
DRW_engine_types.h:31
DefaultFramebufferList::color_only_fb
struct GPUFrameBuffer * color_only_fb
Definition:
DRW_engine_types.h:34
DefaultTextureList
Definition:
DRW_engine_types.h:40
DefaultTextureList::depth
struct GPUTexture * depth
Definition:
DRW_engine_types.h:45
DefaultTextureList::color_overlay_stereo
struct GPUTexture * color_overlay_stereo
Definition:
DRW_engine_types.h:44
DefaultTextureList::depth_in_front
struct GPUTexture * depth_in_front
Definition:
DRW_engine_types.h:46
DefaultTextureList::color_overlay
struct GPUTexture * color_overlay
Definition:
DRW_engine_types.h:42
DefaultTextureList::color
struct GPUTexture * color
Definition:
DRW_engine_types.h:41
DefaultTextureList::color_stereo
struct GPUTexture * color_stereo
Definition:
DRW_engine_types.h:43
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1