Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/DRW_engine_types.h
| Show All 14 Lines | |||||
| * | * | ||||
| * Copyright 2016, Blender Foundation. | * Copyright 2016, Blender Foundation. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup draw | * \ingroup draw | ||||
| */ | */ | ||||
| #ifndef __DRW_ENGINE_TYPES_H__ | #pragma once | ||||
| #define __DRW_ENGINE_TYPES_H__ | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* Buffer and textures used by the viewport by default */ | /* Buffer and textures used by the viewport by default */ | ||||
| typedef struct DefaultFramebufferList { | typedef struct DefaultFramebufferList { | ||||
| struct GPUFrameBuffer *default_fb; | struct GPUFrameBuffer *default_fb; | ||||
| Show All 12 Lines | typedef struct DefaultTextureList { | ||||
| struct GPUTexture *color_overlay_stereo; | struct GPUTexture *color_overlay_stereo; | ||||
| struct GPUTexture *depth; | struct GPUTexture *depth; | ||||
| struct GPUTexture *depth_in_front; | struct GPUTexture *depth_in_front; | ||||
| } DefaultTextureList; | } DefaultTextureList; | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __DRW_ENGINE_H__ */ | |||||