|
Developer Documentation
|
Public Member Functions | |
| void | modifyFragmentIO (ShaderGenerator *_shader) |
| Add your own inputs/outputs to the fragment shader. | |
| void | modifyFragmentBeginCode (QStringList *_code) |
| Append code the the fragment shader. | |
| void | modifyFragmentEndCode (QStringList *_code) |
| Append code the the fragment shader. | |
Public Member Functions inherited from ACG::ShaderModifier | |
| virtual void | modifyVertexIO (ShaderGenerator *_shader) |
| Add your own inputs/outputs to the vertex shader. | |
| virtual void | modifyVertexBeginCode (QStringList *_code) |
| Append code the the vertex shader. | |
| virtual void | modifyVertexEndCode (QStringList *_code) |
| Append code the the vertex shader. | |
| virtual void | modifyGeometryIO (ShaderGenerator *_shader) |
| Add your own inputs/outputs to the geometry shader. | |
| virtual void | modifyTessControlIO (ShaderGenerator *_shader) |
| Add your own inputs/outputs to the tessellation control shader. | |
| virtual void | modifyTessEvalIO (ShaderGenerator *_shader) |
| Add your own inputs/outputs to the tessellation evaluation shader. | |
| virtual void | modifyLightingCode (QStringList *_code, int _lightId, ShaderGenLightType _lightType) |
| Modify the default lighting code of the shader generator. | |
| virtual bool | replaceDefaultLightingCode () |
| Specify whether this modifier replaces or extends the default lighting code. | |
| unsigned int | getID () |
| Returns the modifier ID. | |
| operator std::vector< unsigned int > () const | |
| std::vector< unsigned int > | operator| (const std::vector< unsigned int > &_v) const |
Static Public Attributes | |
| static PeelDualLayerModifier | instance |
Additional Inherited Members | |
Static Public Member Functions inherited from ACG::ShaderModifier | |
| static ShaderModifier * | loadFromFile (QString _filename) |
| Load a modifier from file. | |
Definition at line 110 of file DepthPeeling.cc.
|
inlinevirtual |
Append code the the fragment shader.
Refer to the generation structure (Shader Generator ) to see where your code is added and which variables you can modify. Use
to insert your code here
| _code | string list of shader code. |
Reimplemented from ACG::ShaderModifier.
Definition at line 124 of file DepthPeeling.cc.
|
inlinevirtual |
Append code the the fragment shader.
Refer to the generation structure (Shader Generator ) to see where your code is added and which variables you can modify. Use
to insert your code here.
| _code | string list of shader code. |
Reimplemented from ACG::ShaderModifier.
Definition at line 163 of file DepthPeeling.cc.
|
inlinevirtual |
Add your own inputs/outputs to the fragment shader.
your implementation may look like this:
| _shader | shader interface |
Reimplemented from ACG::ShaderModifier.
Definition at line 114 of file DepthPeeling.cc.
|
static |
Definition at line 179 of file DepthPeeling.cc.