MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getFragmentShaderClippingBlock

Function getFragmentShaderClippingBlock

source/MRViewer/MRShaderBlocks.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50std::string getFragmentShaderClippingBlock()
51{
52 return R"(
53 if (useClippingPlane && dot(world_pos,vec3(clippingPlane))>clippingPlane.w)
54 discard;
55)";
56}
57
58std::string getFragmentShaderPointSizeBlock()
59{

Callers 5

getLinesFragmentShaderFunction · 0.85
getPickerFragmentShaderFunction · 0.85
getMeshFragmentShaderFunction · 0.85
getPointsFragmentShaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected