TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ OnRender()

void ShaderOutputNode::OnRender ( )
overridevirtual

Implements SNENode.

Definition at line 52 of file ShaderOutputNode.cpp.

53{
54 DrawHeader("Output");
55 inputPins[0]->Render();
56
57 if (!inputPins[0]->IsLinked())
58 {
59 if(ImGui::ColorPicker4("Object Color", color))
60 {
61 sharedData->d0 = color[0];
62 sharedData->d1 = color[1];
63 sharedData->d2 = color[2];
64 }
65 }
66
67 else
68 {
69 ImGui::Dummy(ImVec2(100, 40));
70 }
71}