1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2006 by the OpenSG Forum *
7 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
9 \*---------------------------------------------------------------------------*/
10 /*---------------------------------------------------------------------------*\
13 * This library is free software; you can redistribute it and/or modify it *
14 * under the terms of the GNU Library General Public License as published *
15 * by the Free Software Foundation, version 2. *
17 * This library is distributed in the hope that it will be useful, but *
18 * WITHOUT ANY WARRANTY; without even the implied warranty of *
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
20 * Library General Public License for more details. *
22 * You should have received a copy of the GNU Library General Public *
23 * License along with this library; if not, write to the Free Software *
24 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
26 \*---------------------------------------------------------------------------*/
27 /*---------------------------------------------------------------------------*\
35 \*---------------------------------------------------------------------------*/
37 //---------------------------------------------------------------------------
39 //---------------------------------------------------------------------------
44 const StateChunkClass *ShaderExecutableChunk::getStaticClass(void)
46 return &ShaderExecutableChunk::_class;
50 UInt32 ShaderExecutableChunk::getStaticClassId(void)
52 return getStaticClass()->getId();
56 const ShaderExecutableChunk::MFFragmentShaderType *
57 ShaderExecutableChunk::getMFFragmentShader(void)
59 return &_mfFragmentShader;
63 const ShaderExecutableChunk::MFGeometryShaderType *
64 ShaderExecutableChunk::getMFGeometryShader(void)
66 return &_mfGeometryShader;
70 const ShaderExecutableChunk::MFTessEvaluationShaderType *
71 ShaderExecutableChunk::getMFTessEvaluationShader(void)
73 return &_mfTessEvaluationShader;
77 const ShaderExecutableChunk::MFTessControlShaderType *
78 ShaderExecutableChunk::getMFTessControlShader(void)
80 return &_mfTessControlShader;
84 const ShaderExecutableChunk::MFVertexShaderType *
85 ShaderExecutableChunk::getMFVertexShader(void)
87 return &_mfVertexShader;