コード例 #1
0
ファイル: Shader.cpp プロジェクト: aoighost/osg
void Shader::compileShader( osg::State& state ) const
{
    PerContextShader* pcs = getPCS( state.getContextID() );
    if( pcs ) pcs->compileShader( state );
}
コード例 #2
0
ファイル: Shader.cpp プロジェクト: BlitzMaxModules/osg.mod
void Shader::compileShader( unsigned int contextID ) const
{
    PerContextShader* pcs = getPCS( contextID );
    if( pcs ) pcs->compileShader();
}