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

Method Initialize

trinity/Shader/Parameter/TriVariableParameter.cpp:45–56  ·  view source on GitHub ↗

---------------------------------------------------------------

Source from the content-addressed store, hash-verified

43
44// ---------------------------------------------------------------
45bool TriVariableParameter::Initialize()
46{
47 if( !m_variableName.empty() )
48 {
49 m_variable = GlobalStore().GetVariable( m_variableName.c_str() );
50 }
51 else
52 {
53 m_variable = NULL;
54 }
55 return true;
56}
57
58// ---------------------------------------------------------------
59bool TriVariableParameter::CopyToResourceSet(

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
GetVariableMethod · 0.45

Tested by

no test coverage detected