Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/overlay_private.h
| Show All 16 Lines | |||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup DNA | * \ingroup DNA | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "DRW_render.h" | |||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif | |||||
| #ifdef __APPLE__ | #ifdef __APPLE__ | ||||
| # define USE_GEOM_SHADER_WORKAROUND 1 | # define USE_GEOM_SHADER_WORKAROUND 1 | ||||
| #else | #else | ||||
| # define USE_GEOM_SHADER_WORKAROUND 0 | # define USE_GEOM_SHADER_WORKAROUND 0 | ||||
| #endif | #endif | ||||
| typedef struct OVERLAY_FramebufferList { | typedef struct OVERLAY_FramebufferList { | ||||
| struct GPUFrameBuffer *overlay_default_fb; | struct GPUFrameBuffer *overlay_default_fb; | ||||
| ▲ Show 20 Lines • Show All 589 Lines • ▼ Show 20 Lines | |||||
| GPUShader *OVERLAY_shader_volume_velocity(bool use_needle); | GPUShader *OVERLAY_shader_volume_velocity(bool use_needle); | ||||
| GPUShader *OVERLAY_shader_wireframe(bool custom_bias); | GPUShader *OVERLAY_shader_wireframe(bool custom_bias); | ||||
| GPUShader *OVERLAY_shader_wireframe_select(void); | GPUShader *OVERLAY_shader_wireframe_select(void); | ||||
| GPUShader *OVERLAY_shader_xray_fade(void); | GPUShader *OVERLAY_shader_xray_fade(void); | ||||
| OVERLAY_InstanceFormats *OVERLAY_shader_instance_formats_get(void); | OVERLAY_InstanceFormats *OVERLAY_shader_instance_formats_get(void); | ||||
| void OVERLAY_shader_free(void); | void OVERLAY_shader_free(void); | ||||
| #ifdef __cplusplus | |||||
| } | |||||
| #endif | |||||