Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_state.h
| Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | typedef enum GPUFilterFunction { | ||||
| GPU_LINEAR | GPU_LINEAR | ||||
| } GPUFilterFunction; | } GPUFilterFunction; | ||||
| void GPU_blend(bool enable); | void GPU_blend(bool enable); | ||||
| void GPU_blend_set_func(GPUBlendFunction sfactor, GPUBlendFunction dfactor); | void GPU_blend_set_func(GPUBlendFunction sfactor, GPUBlendFunction dfactor); | ||||
| void GPU_blend_set_func_separate( | void GPU_blend_set_func_separate( | ||||
| GPUBlendFunction src_rgb, GPUBlendFunction dst_rgb, | GPUBlendFunction src_rgb, GPUBlendFunction dst_rgb, | ||||
| GPUBlendFunction src_alpha, GPUBlendFunction dst_alpha); | GPUBlendFunction src_alpha, GPUBlendFunction dst_alpha); | ||||
| void GPU_depth_range(float near, float far); | |||||
| void GPU_depth_test(bool enable); | void GPU_depth_test(bool enable); | ||||
| bool GPU_depth_test_enabled(void); | bool GPU_depth_test_enabled(void); | ||||
| void GPU_line_smooth(bool enable); | void GPU_line_smooth(bool enable); | ||||
| void GPU_line_stipple(bool enable); | void GPU_line_stipple(bool enable); | ||||
| void GPU_line_width(float width); | void GPU_line_width(float width); | ||||
| void GPU_point_size(float size); | void GPU_point_size(float size); | ||||
| void GPU_polygon_smooth(bool enable); | void GPU_polygon_smooth(bool enable); | ||||
| void GPU_scissor(int x, int y, int width, int height); | void GPU_scissor(int x, int y, int width, int height); | ||||
| void GPU_scissor_get_f(float coords[4]); | void GPU_scissor_get_f(float coords[4]); | ||||
| void GPU_scissor_get_i(int coords[4]); | void GPU_scissor_get_i(int coords[4]); | ||||
| void GPU_viewport_size_get_f(float coords[4]); | void GPU_viewport_size_get_f(float coords[4]); | ||||
| void GPU_viewport_size_get_i(int coords[4]); | void GPU_viewport_size_get_i(int coords[4]); | ||||
| #endif /* __GPU_STATE_H__ */ | #endif /* __GPU_STATE_H__ */ | ||||