Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_basic_shader.h
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
| /* Keep these in sync with gpu_shader_basic_frag.glsl */ | /* Keep these in sync with gpu_shader_basic_frag.glsl */ | ||||
| typedef enum GPUBasicShaderStipple { | typedef enum GPUBasicShaderStipple { | ||||
| GPU_SHADER_STIPPLE_HALFTONE = 0, | GPU_SHADER_STIPPLE_HALFTONE = 0, | ||||
| GPU_SHADER_STIPPLE_QUARTTONE = 1, | GPU_SHADER_STIPPLE_QUARTTONE = 1, | ||||
| GPU_SHADER_STIPPLE_CHECKER_8PX = 2, | GPU_SHADER_STIPPLE_CHECKER_8PX = 2, | ||||
| GPU_SHADER_STIPPLE_HEXAGON = 3, | GPU_SHADER_STIPPLE_HEXAGON = 3, | ||||
| GPU_SHADER_STIPPLE_DIAG_STRIPES = 4, | GPU_SHADER_STIPPLE_DIAG_STRIPES = 4, | ||||
| GPU_SHADER_STIPPLE_DIAG_STRIPES_SWAP = 5, | GPU_SHADER_STIPPLE_DIAG_STRIPES_SWAP = 5, | ||||
| GPU_SHADER_STIPPLE_S3D_INTERLACE_ROW = 6, | |||||
| GPU_SHADER_STIPPLE_S3D_INTERLACE_ROW_SWAP = 7, | |||||
| GPU_SHADER_STIPPLE_S3D_INTERLACE_COLUMN = 8, | |||||
| GPU_SHADER_STIPPLE_S3D_INTERLACE_COLUMN_SWAP = 9, | |||||
| GPU_SHADER_STIPPLE_S3D_INTERLACE_CHECKER = 10, | |||||
| GPU_SHADER_STIPPLE_S3D_INTERLACE_CHECKER_SWAP = 11 | |||||
| } GPUBasicShaderStipple; | } GPUBasicShaderStipple; | ||||
| void GPU_basic_shaders_init(void); | void GPU_basic_shaders_init(void); | ||||
| void GPU_basic_shaders_exit(void); | void GPU_basic_shaders_exit(void); | ||||
| void GPU_basic_shader_bind(int options); | void GPU_basic_shader_bind(int options); | ||||
| void GPU_basic_shader_bind_enable(int options); | void GPU_basic_shader_bind_enable(int options); | ||||
| void GPU_basic_shader_bind_disable(int options); | void GPU_basic_shader_bind_disable(int options); | ||||
| ▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines | |||||