/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h
Creates a bound shader state instance which encapsulates a decl, vertex shader and pixel shader CAUTION: Even though this is marked as threadsafe, it is only valid to call from the render thread or the RHI thread. It need not be threadsafe unless the RHI support parallel translation. CAUTION: Platforms that support RHIThread but don't actually have a threadsafe implementation must flush internally withFScopedRHIThreadStallerStallRHIThread(FRHICommandListExecutor::GetImmediateCommandList()); when the call is from the render thread
virtual FBoundShaderStateRHIRef RHICreateBoundShaderState ( [FRHIVertexDeclaration](API\Runtime\RHI\FRHIVertexDeclaration) * VertexDeclaration, [FRHIVertexShader](API\Runtime\RHI\FRHIVertexShader) * VertexShader, [FRHIPixelShader](API\Runtime\RHI\FRHIPixelShader) * PixelShader, [FRHIGeometryShader](API\Runtime\RHI\FRHIGeometryShader) * GeometryShader )