#include <RU_PixelFunction.h>
|
virtual bool | needAllComponents () const |
|
virtual bool | eachComponentDifferent () const |
|
virtual RUPixelFunc | getPixelFunction () const |
|
virtual RUVectorFunc | getVectorFunction () const |
|
virtual void | getPixelShader (UT_String &frag_shader) |
|
void | addConstant (const char *name, UT_GPUType type, int vectorsize, const void *data, int array_size=1) |
|
void | addLocal (const char *name, UT_GPUType type, int vectorsize) |
|
void | addArray (const char *name, UT_GPUType type, int vectorsize, int width, int height, const void *data) |
|
void | addArray (const char *name, UT_GPUType type, int vectorsize, int width, int height, const void *data1, const void *data2, const void *data3, const void *data4) |
|
void | addFunction (const char *function_name, const char *code) |
|
void | usesGlobal (const char *name) |
|
int | getFunctionIndex () const |
|
int | getNumComps () const |
|
RU_PixelFunction::RU_PixelFunction |
( |
| ) |
|
|
inline |
virtual RU_PixelFunction::~RU_PixelFunction |
( |
| ) |
|
|
virtual |
void RU_PixelFunction::addConstant |
( |
const char * |
name, |
|
|
UT_GPUType |
type, |
|
|
int |
vectorsize, |
|
|
const void * |
data, |
|
|
int |
array_size = 1 |
|
) |
| |
|
protected |
void RU_PixelFunction::addFunction |
( |
const char * |
function_name, |
|
|
const char * |
code |
|
) |
| |
|
protected |
void RU_PixelFunction::addLocal |
( |
const char * |
name, |
|
|
UT_GPUType |
type, |
|
|
int |
vectorsize |
|
) |
| |
|
protected |
bool RU_PixelFunction::areAllComponentsNeeded |
( |
| ) |
const |
void RU_PixelFunction::buildPixelEngine |
( |
| ) |
|
void RU_PixelFunction::buildVectorEngine |
( |
| ) |
|
virtual bool RU_PixelFunction::eachComponentDifferent |
( |
| ) |
const |
|
inlineprotectedvirtual |
const char* RU_PixelFunction::getFunctionCode |
( |
| ) |
const |
|
inline |
int RU_PixelFunction::getFunctionIndex |
( |
| ) |
const |
|
inlineprotected |
const char* RU_PixelFunction::getLocals |
( |
| ) |
const |
|
inline |
int RU_PixelFunction::getNumComps |
( |
| ) |
const |
|
inlineprotected |
virtual RUPixelFunc RU_PixelFunction::getPixelFunction |
( |
| ) |
const |
|
protectedvirtual |
Reimplemented in RU_LevelsFunc, RU_RoundFunc, RU_CeilFunc, RU_FloorFunc, RU_InvertFunc, RU_NegateFunc, RU_AcosFunc, RU_AsinFunc, RU_AtanFunc, RU_TanhFunc, RU_TanFunc, RU_CoshFunc, RU_SinhFunc, RU_SinFunc, RU_LogFunc, RU_RaiseFunc, RU_PowerFunc, RU_SignFunc, RU_AbsFunc, RU_LookupTableFunc, RU_LookupClipFunc, RU_QuantizeFunc, RU_LimitFunc, HDK_Sample::cop2_AddFunc, RU_GammaFunc, RU_ScaleFunc, RU_MAddFunc, RU_ColorCurveFunc, RU_MultFunc, and RU_AddFunc.
virtual void RU_PixelFunction::getPixelShader |
( |
UT_String & |
frag_shader | ) |
|
|
protectedvirtual |
Reimplemented in RU_LevelsFunc, RU_RoundFunc, RU_CeilFunc, RU_FloorFunc, RU_InvertFunc, RU_NegateFunc, RU_AcosFunc, RU_AsinFunc, RU_AtanFunc, RU_TanhFunc, RU_TanFunc, RU_CoshFunc, RU_SinhFunc, RU_SinFunc, RU_LogFunc, RU_RaiseFunc, RU_PowerFunc, RU_SignFunc, RU_AbsFunc, RU_LookupClipFunc, RU_VectorFunc, RU_HSVConvertFunc, RU_NormalizeFunc, RU_ComponentFunc, RU_LengthFunc, RU_AverageFunc, RU_MinFunc, RU_MaxFunc, RU_SaturationFunc, RU_HueFunc, RU_LuminanceFunc, RU_NTSCLuminanceFunc, RU_QuantizeFunc, RU_LimitFunc, RU_GammaFunc, RU_ScaleFunc, RU_HueCurveFunc, RU_MAddFunc, RU_ColorCurveFunc, RU_MultFunc, and RU_AddFunc.
const bool* RU_PixelFunction::getScope |
( |
| ) |
const |
|
inline |
const char* RU_PixelFunction::getShaderCode |
( |
| ) |
const |
|
inline |
virtual RUVectorFunc RU_PixelFunction::getVectorFunction |
( |
| ) |
const |
|
protectedvirtual |
Reimplemented in RU_LookupTableFunc, RU_LookupClipFunc, RU_VectorFunc, RU_HSVConvertFunc, RU_NormalizeFunc, RU_ComponentFunc, RU_LengthFunc, RU_AverageFunc, RU_MinFunc, RU_MaxFunc, RU_SaturationFunc, RU_HueFunc, RU_LuminanceFunc, RU_NTSCLuminanceFunc, HDK_Sample::cop2_AddFunc, RU_HueCurveFunc, and RU_ColorReplace.
bool RU_PixelFunction::isComponentDependent |
( |
| ) |
const |
bool RU_PixelFunction::isPartialScope |
( |
| ) |
const |
bool RU_PixelFunction::isScoped |
( |
int |
i | ) |
const |
|
inline |
virtual bool RU_PixelFunction::needAllComponents |
( |
| ) |
const |
|
inlineprotectedvirtual |
Reimplemented in RU_LookupTableFunc, RU_LookupClipFunc, RU_VectorFunc, RU_HSVConvertFunc, RU_NormalizeFunc, RU_ComponentFunc, RU_LengthFunc, RU_AverageFunc, RU_MinFunc, RU_MaxFunc, RU_SaturationFunc, RU_HueFunc, RU_LuminanceFunc, RU_NTSCLuminanceFunc, HDK_Sample::cop2_AddFunc, RU_HueCurveFunc, and RU_ColorReplace.
Definition at line 87 of file RU_PixelFunction.h.
float RU_PixelFunction::processValue |
( |
float |
val, |
|
|
int |
comp |
|
) |
| const |
|
inline |
void RU_PixelFunction::processValues |
( |
float ** |
vals | ) |
const |
|
inline |
void RU_PixelFunction::setNumComps |
( |
int |
comps | ) |
|
|
inline |
void RU_PixelFunction::setScope |
( |
bool * |
scope | ) |
|
void RU_PixelFunction::usesGlobal |
( |
const char * |
name | ) |
|
|
protected |
bool RU_PixelFunction::usesNumCompsGlobal |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: