00001 /*---------------------------------------------------------------------------*\ 00002 * OpenSG * 00003 * * 00004 * * 00005 * Copyright (C) 2000-2002 by the OpenSG Forum * 00006 * * 00007 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 00008 * * 00009 \*---------------------------------------------------------------------------*/ 00010 /*---------------------------------------------------------------------------*\ 00011 * License * 00012 * * 00013 * This library is free software; you can redistribute it and/or modify it * 00014 * under the terms of the GNU Library General Public License as published * 00015 * by the Free Software Foundation, version 2. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, but * 00018 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00020 * Library General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Library General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00025 * * 00026 \*---------------------------------------------------------------------------*/ 00027 /*---------------------------------------------------------------------------*\ 00028 * Changes * 00029 * * 00030 * * 00031 * * 00032 * * 00033 * * 00034 * * 00035 \*---------------------------------------------------------------------------*/ 00036 00037 //--------------------------------------------------------------------------- 00038 // Includes 00039 //--------------------------------------------------------------------------- 00040 00041 #include <OSGConfig.h> 00042 00043 OSG_BEGIN_NAMESPACE 00044 00045 inline 00046 UInt32 SHLChunk::getStaticClassId(void) 00047 { 00048 return getStaticClass()->getId(); 00049 } 00050 00051 inline 00052 const StateChunkClass *SHLChunk::getStaticClass(void) 00053 { 00054 return &SHLChunk::_class; 00055 } 00056 00057 inline 00058 UInt32 SHLChunk::getFuncUniform1i(void) 00059 { 00060 return _funcUniform1i; 00061 } 00062 00063 inline 00064 UInt32 SHLChunk::getFuncUniform1iv(void) 00065 { 00066 return _funcUniform1iv; 00067 } 00068 00069 inline 00070 UInt32 SHLChunk::getFuncUniform2iv(void) 00071 { 00072 return _funcUniform2iv; 00073 } 00074 00075 inline 00076 UInt32 SHLChunk::getFuncUniform3iv(void) 00077 { 00078 return _funcUniform3iv; 00079 } 00080 00081 inline 00082 UInt32 SHLChunk::getFuncUniform4iv(void) 00083 { 00084 return _funcUniform4iv; 00085 } 00086 00087 inline 00088 UInt32 SHLChunk::getFuncUniform1f(void) 00089 { 00090 return _funcUniform1f; 00091 } 00092 00093 inline 00094 UInt32 SHLChunk::getFuncUniform1fv(void) 00095 { 00096 return _funcUniform1fv; 00097 } 00098 00099 inline 00100 UInt32 SHLChunk::getFuncUniform2fv(void) 00101 { 00102 return _funcUniform2fv; 00103 } 00104 00105 inline 00106 UInt32 SHLChunk::getFuncUniform3fv(void) 00107 { 00108 return _funcUniform3fv; 00109 } 00110 00111 inline 00112 UInt32 SHLChunk::getFuncUniform4fv(void) 00113 { 00114 return _funcUniform4fv; 00115 } 00116 00117 inline 00118 UInt32 SHLChunk::getFuncUniformMatrix4fv(void) 00119 { 00120 return _funcUniformMatrix4fv; 00121 } 00122 00123 inline 00124 UInt32 SHLChunk::getFuncGetUniformiv(void) 00125 { 00126 return _funcGetUniformiv; 00127 } 00128 00129 inline 00130 UInt32 SHLChunk::getFuncGetUniformfv(void) 00131 { 00132 return _funcGetUniformfv; 00133 } 00134 00135 OSG_END_NAMESPACE 00136 00137 #define OSGSHLCHUNK_INLINE_CVSID "@(#)$Id: OSGSHLChunk.inl,v 1.5 2007/03/09 18:11:48 a-m-z Exp $"
1.5.5