| static float* makVrv::DtBlurShaderGenerator::generateGaussianWeightsAndWidth |
( |
int & |
width, |
|
|
float |
s |
|
) |
| |
|
static |
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'
| static float* makVrv::DtBlurShaderGenerator::generateTriangleWeights |
( |
int |
width | ) |
|
|
static |
generate the triangle weights for a given width
| static unsigned int makVrv::DtBlurShaderGenerator::generate1DConvolutionFP_filter_ComputeShader |
( |
const float * |
weights, |
|
|
int |
width, |
|
|
bool |
vertical, |
|
|
bool |
tex2D, |
|
|
int |
imgWidth, |
|
|
int |
imgHeight, |
|
|
const std::string & |
preprocessorString, |
|
|
const std::string & |
preAmble |
|
) |
| |
|
static |
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)
The documentation for this class was generated from the following file: