Home
last modified time | relevance | path

Searched refs:GetObjID (Results 1 – 4 of 4) sorted by relevance

/dports/games/spring/spring_98.0/rts/Rendering/Env/
H A DBumpWater.cpp653 uniforms[ 0] = glGetUniformLocation( shader->GetObjID(), "SurfaceColor" ); in GetUniformLocations()
654 uniforms[ 1] = glGetUniformLocation( shader->GetObjID(), "PlaneColor" ); in GetUniformLocations()
655 uniforms[ 2] = glGetUniformLocation( shader->GetObjID(), "DiffuseColor" ); in GetUniformLocations()
661 uniforms[ 8] = glGetUniformLocation( shader->GetObjID(), "SunDir" ); in GetUniformLocations()
662 uniforms[ 9] = glGetUniformLocation( shader->GetObjID(), "FresnelMin" ); in GetUniformLocations()
663 uniforms[10] = glGetUniformLocation( shader->GetObjID(), "FresnelMax" ); in GetUniformLocations()
664 uniforms[11] = glGetUniformLocation( shader->GetObjID(), "FresnelPower" ); in GetUniformLocations()
666 uniforms[13] = glGetUniformLocation( shader->GetObjID(), "BlurBase" ); in GetUniformLocations()
667 uniforms[14] = glGetUniformLocation( shader->GetObjID(), "BlurExponent" ); in GetUniformLocations()
670 uniforms[17] = glGetUniformLocation( shader->GetObjID(), "PerlinAmp" ); in GetUniformLocations()
[all …]
/dports/games/spring/spring_98.0/rts/Rendering/Shaders/
H A DShader.cpp301 glBindProgramARB(so->GetType(), so->GetObjID()); in Enable()
459 glDetachShader(oldProgID, so->GetObjID()); in Reload()
476 glAttachShader(objID, so->GetObjID()); in Reload()
494 glAttachShader(objID, so->GetObjID()); in AttachShaderObject()
H A DShader.h38 unsigned int GetObjID() const { return objID; } in GetObjID() function
203 unsigned int GetObjID() const { return objID; } in GetObjID() function
/dports/games/spring/spring_98.0/rts/Rendering/Env/Decals/
H A DDecalsDrawerGL4.cpp446 GLuint uniformBlockIndex = glGetUniformBlockIndex(decalShader->GetObjID(), "SGroundLighting");
450 …glGetActiveUniformBlockiv(decalShader->GetObjID(), uniformBlockIndex, GL_UNIFORM_BLOCK_DATA_SIZE, …
472 glUniformBlockBinding(decalShader->GetObjID(), uniformBlockIndex, 5);