ShaderDef.IsShaderFamily
 
 
 

ShaderDef.IsShaderFamily operator

Introduced

v9.0 (2011)

Description

Checks whether this shader definition belongs to the specified shader family or not. See ShaderDef.AddShaderFamily for more information about shader families.

C# Syntax

Boolean ShaderDef.IsShaderFamily( String in_str );

Scripting Syntax

oBoolean = ShaderDef.IsShaderFamily( in_str );

Return Value

Boolean

Parameters

Parameter Type Description
in_str siShaderFamilyType The shader family to check.

See Also

ShaderDef.AddShaderFamily ShaderDef.PrimaryShaderFamily ShaderDef.ShaderFamilies Shader Families