VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
makVrv::DtBlurShaderGenerator Class Reference

Static Public Member Functions

static float * generateGaussianWeightsAndWidth (int &width, float s)
 Three helper functions for the DtHdrDrawable. These create a blur shader based on the inputs. More...
 
static float * generateTriangleWeights (int width)
 generate the triangle weights for a given width More...
 
static unsigned int generate1DConvolutionFP_filter_ComputeShader (const float *weights, int width, bool vertical, bool tex2D, int imgWidth, int imgHeight, const std::string &preprocessorString, const std::string &preAmble)
 generate the compute shader for given weights and width, More...
 

Member Function Documentation

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:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)