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

Function getFragmentShaderPointSizeBlock

source/MRViewer/MRShaderBlocks.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58std::string getFragmentShaderPointSizeBlock()
59{
60 return R"(
61 if (length(gl_PointCoord - vec2(0.5)) > 0.5)
62 discard;
63)";
64}
65
66std::string getFragmentShaderOnlyOddBlock( bool sampleMask /*= false */ )
67{

Callers 3

getPickerFragmentShaderFunction · 0.85
getPointsFragmentShaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected