| makVrv::DtBlurShaderGenerator::DtBlurShaderGenerator |
( |
| ) |
|
| virtual makVrv::DtBlurShaderGenerator::~DtBlurShaderGenerator |
( |
| ) |
|
|
virtual |
| virtual const float* makVrv::DtBlurShaderGenerator::generateGaussianWeightsAndWidth |
( |
int & |
width, |
|
|
float |
s |
|
) |
| |
|
virtual |
Three helper functions for the DtHdrDrawable. These create a blur shader based on the inputs.
generate the gaussian weights and width for a given 's'
| virtual const float* makVrv::DtBlurShaderGenerator::generateTriangleWeights |
( |
int |
width | ) |
|
|
virtual |
generate the triangle weights for a given width
| virtual DtGlProgram* makVrv::DtBlurShaderGenerator::generate1DConvolutionFilterComputeShader |
( |
const float * |
weights, |
|
|
int |
width, |
|
|
bool |
vertical, |
|
|
bool |
tex2D, |
|
|
int |
imgWidth, |
|
|
int |
imgHeight, |
|
|
bool |
isMultiview, |
|
|
const std::string & |
preprocessorString, |
|
|
const std::string & |
preAmble |
|
) |
| |
|
virtual |
generate the compute shader for given weights and width,
vertical indicates whether this is a vertical or horizontal filter imgWidth image width for which this filter runs on imgHeight image height for which this filter runs on preprocessorString preprocessor options preAmble preamble (version, etc)
| virtual void makVrv::DtBlurShaderGenerator::deleteWeights |
( |
void |
| ) |
|
|
protectedvirtual |
| float* makVrv::DtBlurShaderGenerator::myWeights |
|
protected |
The documentation for this class was generated from the following file: