adskRenderPassUtilities.h File Reference


Detailed Description

Utility functions for use with render passes.

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

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

Functions

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

Function Documentation

ADSK_SHADERSDK_EXPORT 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® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. Generated with doxygen 1.5.6