LayerShader Class Reference

#include <lib_layershader.h>

Inheritance diagram for LayerShader:

Detailed Description

Represents a layer shader.
The Layer shader can contain several layers of different types (shaders, folders, effects).
It looks like this:


Public Member Functions

LayerShaderLayerGetFirstLayer ()
- Public Member Functions inherited from BaseShader
BaseShaderGetNext (void)
BaseShaderGetPred (void)
BaseShaderGetUp (void)
BaseShaderGetDown (void)
BaseShaderGetDownLast (void)
INITRENDERRESULT InitRender (const InitRenderStruct &is)
void FreeRender (void)
Vector Sample (ChannelData *cd)
Vector SampleBump (ChannelData *cd, SAMPLEBUMP bumpflags)
BaseBitmapGetBitmap (void)
SHADERINFO GetRenderInfo (void)
Bool Compare (BaseShader *dst)
Bool IsColorManagementOff (BaseDocument *doc)
BaseShaderGetSubsurfaceShader (Float &bestmpl)
Bool HasGPURendererSupport () const
GL_MESSAGE GlMessage (Int32 type, void *data)
void DestroyGLImage (BaseDocument *doc)
void InvalidateGLImage (BaseDocument *doc)

Private Member Functions

 LayerShader ()
 ~LayerShader ()

Additional Inherited Members

- Static Public Member Functions inherited from BaseShader
static BaseShaderAlloc (Int32 type)
static void Free (BaseShader *&ps)
- Static Public Member Functions inherited from BaseList2D
static BaseList2DAlloc (Int32 type)
static void Free (BaseList2D *&bl)

Constructor & Destructor Documentation

LayerShader ( )
~LayerShader ( )

Member Function Documentation

LayerShaderLayer* GetFirstLayer ( )

Returns the first layer of the shader.

To navigate through all the layers of a layer shader, get its first layer then use LayerShaderLayer::GetNext.
The first layer in the layer shader. The layer shader owns the pointed layer.