adskRenderPassUtilities.h File Reference
Detailed Description
Utility functions for use with render passes.
#include <adskExport.h>
#include <string>
#include "adskShaderSDKNamespaceBegin.h"
#include "adskShaderSDKNamespaceEnd.h"
|
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.