|
Blender V4.3
|
#include "gpu_shader_create_info.hh"Go to the source code of this file.
Macros | |
Variations Declaration | |
| #define | BASIC_FINAL_VARIATION(name, ...) GPU_SHADER_CREATE_INFO(name).additional_info(__VA_ARGS__).do_static_compilation(true); |
| #define | BASIC_CLIPPING_VARIATIONS(prefix, ...) |
| #define | BASIC_CONSERVATIVE_VARIATIONS(prefix, ...) |
| #define | BASIC_OBTYPE_VARIATIONS(prefix, ...) |
Functions | |
Conservative Rasterization | |
Allow selection of sub-pixel objects. | |
| geometry_layout (PrimitiveIn::TRIANGLES, PrimitiveOut::TRIANGLE_STRIP, 3) .geometry_source("basic_conservative_depth_geom.glsl") | |
Object types | |
| vertex_in (0, Type::VEC3, "pos") .vertex_source("basic_depth_vert.glsl") .additional_info("draw_mesh") | |
| vertex_source ("basic_depth_pointcloud_vert.glsl") .additional_info("draw_pointcloud") | |
| vertex_source ("basic_depth_curves_vert.glsl") .additional_info("draw_hair") | |
| define ("CONSERVATIVE_RASTER") .vertex_source("basic_depth_pointcloud_vert.glsl") .additional_info("draw_pointcloud") | |
Depth shader types. | |
| GPU_SHADER_CREATE_INFO (basic_depth).fragment_source("basic_depth_frag.glsl") | |
| BASIC_OBTYPE_VARIATIONS (basic_depth, "basic_depth", "draw_globals") | |
| #define BASIC_CLIPPING_VARIATIONS | ( | prefix, | |
| ... ) |
Definition at line 56 of file basic_depth_info.hh.
| #define BASIC_CONSERVATIVE_VARIATIONS | ( | prefix, | |
| ... ) |
Definition at line 60 of file basic_depth_info.hh.
| #define BASIC_FINAL_VARIATION | ( | name, | |
| ... ) GPU_SHADER_CREATE_INFO(name).additional_info(__VA_ARGS__).do_static_compilation(true); |
Definition at line 53 of file basic_depth_info.hh.
| #define BASIC_OBTYPE_VARIATIONS | ( | prefix, | |
| ... ) |
Definition at line 65 of file basic_depth_info.hh.
| BASIC_OBTYPE_VARIATIONS | ( | basic_depth | , |
| "basic_depth" | , | ||
| "draw_globals" | ) |
| define | ( | "CONSERVATIVE_RASTER" | ) |
| geometry_layout | ( | PrimitiveIn::TRIANGLES | , |
| PrimitiveOut::TRIANGLE_STRIP | , | ||
| 3 | ) |
| GPU_SHADER_CREATE_INFO | ( | basic_depth | ) |
| vertex_in | ( | 0 | , |
| Type::VEC3 | , | ||
| "pos" | ) |
| vertex_source | ( | "basic_depth_curves_vert.glsl" | ) |
| vertex_source | ( | "basic_depth_pointcloud_vert.glsl" | ) |