Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenShadingLanguage
/ set_inst
Method
set_inst
src/liboslexec/runtimeoptimize.cpp:140–147 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
138
139
140
void
141
OSOProcessorBase::set_inst (int newlayer)
142
{
143
m_layer = newlayer;
144
m_inst = group()[m_layer];
145
ASSERT (m_inst != NULL);
146
set_debug ();
147
}
148
149
150
Callers
nothing calls this directly
Calls
2
group
Function · 0.85
clear
Method · 0.45
Tested by
no test coverage detected