MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / mark_entry_layer

Method mark_entry_layer

src/liboslexec/instance.cpp:805–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803
804
805void
806ShaderGroup::mark_entry_layer (int layer)
807{
808 if (layer >= 0 && layer < nlayers() && ! m_layers[layer]->entry_layer()) {
809 m_layers[layer]->entry_layer(true);
810 ++m_num_entry_layers;
811 }
812}
813
814
815

Callers

nothing calls this directly

Calls 1

entry_layerMethod · 0.80

Tested by

no test coverage detected