MeshLib C++ Docs
Loading...
Searching...
No Matches
MRShaderBlocks.h
Go to the documentation of this file.
1#pragma once
2#include "exports.h"
3#include <string>
4
5namespace MR
6{
7
8enum class ShaderTransparencyMode : char
9{
10 None,
13};
14
15MRVIEWER_API std::string getPickerFragmentShader( bool points, bool cornerMode = true );
16
17MRVIEWER_API std::string getFragmentShaderClippingBlock();
18
19MRVIEWER_API std::string getFragmentShaderPointSizeBlock();
20
21MRVIEWER_API std::string getFragmentShaderOnlyOddBlock( bool sampleMask );
22
23MRVIEWER_API std::string getFragmentShaderHeaderBlock( bool gl4, bool alphaSort );
24
25MRVIEWER_API std::string getFragmentShaderEndBlock( ShaderTransparencyMode transparencyMode );
26
27MRVIEWER_API std::string getShaderMainBeginBlock( bool addDepthPeelSamplers );
28
29}
@ None
special value not to limit path in one slice
Definition MRVoxelPath.h:33
Definition MRCameraOrientationPlugin.h:8
ShaderTransparencyMode
Definition MRShaderBlocks.h:9
MRVIEWER_API std::string getFragmentShaderOnlyOddBlock(bool sampleMask)
MRVIEWER_API std::string getFragmentShaderClippingBlock()
MRVIEWER_API std::string getFragmentShaderEndBlock(ShaderTransparencyMode transparencyMode)
MRVIEWER_API std::string getFragmentShaderPointSizeBlock()
MRVIEWER_API std::string getFragmentShaderHeaderBlock(bool gl4, bool alphaSort)
MRVIEWER_API std::string getPickerFragmentShader(bool points, bool cornerMode=true)
MRVIEWER_API std::string getShaderMainBeginBlock(bool addDepthPeelSamplers)