# I3DShShadableTree Struct Reference
[Shell Interfaces]

Inheritance diagram for I3DShShadableTree:

List of all members.

## Public Member Functions
virtual I3DShTreeElement *MCCOMAPI | GetThisTree ()=0
| returns the I3DShTreeElementinterface
virtual MCCOMErr MCCOMAPI | SetShader (I3DShMasterShader *masterShader)=0
virtual MCCOMErr MCCOMAPI | GetShader (I3DShMasterShader **masterShader)=0

## Detailed Description

Interface that allows accessing the shader applied to a group or an instance

## Member Function Documentation

virtual MCCOMErr MCCOMAPI I3DShShadableTree::GetShader | ( | I3DShMasterShader ** | masterShader | ) | `[pure virtual]`

Gets the master shader applied to the tree (either a group or an instance)

Parameters:

  | masterShader | the master shader

virtual I3DShTreeElement* MCCOMAPI I3DShShadableTree::GetThisTree | ( |  | ) | `[pure virtual]`

returns the I3DShTreeElementinterface

virtual MCCOMErr MCCOMAPI I3DShShadableTree::SetShader | ( | I3DShMasterShader * | masterShader | ) | `[pure virtual]`

Sets a Master shader on a tree (either a group or an instance)

Parameters:

  | masterShader | the master shader

The documentation for this struct was generated from the following file:

- I3DShShadableTree.h