adskRenderPassUtilities.h File Reference


Detailed Description

Utility functions for use with render passes.

#include <string>
#include "adskShaderSDKNamespaceBegin.h"
#include "adskShaderSDKNamespaceEnd.h"
#include "adskExport.h"

Include dependency graph for adskRenderPassUtilities.h:
This graph shows which files directly or indirectly include this file:

Functions

bool  contributesToPass (const int pPassIndex, const char *pContributionMap)
  Determine whether an object or a light contributes to a given pass.

Function Documentation

bool contributesToPass ( const int  pPassIndex,
const char *  pContributionMap  
)

Determine whether an object or a light contributes to a given pass.

This function is used to evaluate whether a specific pass receives a shading contribution from the current object.

Parameters:
[in]  pPassIndex  The index of the pass to query.
[in]  pContributionMap  The encoding string to be queried.
Returns:
True if the light/object is enabled, false otherwise.

Autodesk® Maya® 2012 © 2010 Autodesk, Inc. All rights reserved. Generated with doxygen 1.5.6