SimpleColorOperationComputation< ColorOperationShaderParameters, ColorOperationShaderResult > Class Template Reference

#include <adskColorOperationShader.h>
Collaboration diagram for SimpleColorOperationComputation< ColorOperationShaderParameters, ColorOperationShaderResult >:
Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename ColorOperationShaderParameters, typename ColorOperationShaderResult>
class SimpleColorOperationComputation< ColorOperationShaderParameters, ColorOperationShaderResult >

Base class for color operations that have a single color input.

Provided for convenience. It predefines the branchCount, initialize and finalize methods. Only the evaluateBranch() and computeAndCompositeResult() methods need to be implemented. In this use case, all initialization code and parameter evaluations are implemented in the evaluateBranch method, which will only be called once. All transform operations are performed in computeAndCompositeResult.


Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. Generated with doxygen 1.5.6