MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetShaderProgram

Method SetShaderProgram

trinityal/dx12/Tr2RenderContextDx12.cpp:324–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324ALResult Tr2RenderContextAL::SetShaderProgram( const Tr2ShaderProgramAL& shader ) throw()
325{
326 if( !( m_psoDescription.m_shaderProgram == shader ) )
327 {
328 m_psoDescription.m_shaderProgram = shader;
329 m_dirtyPso = true;
330 }
331 return S_OK;
332}
333
334ALResult Tr2RenderContextAL::SetTopology( Tr2RenderContextEnum::Topology topology ) throw()
335{

Callers 6

BeginManagedRenderingMethod · 0.45
ApplyShaderProgramMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
RenderMethod · 0.45

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
RenderMethod · 0.36