TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
ShaderTextureNode()
ShaderTextureNode::ShaderTextureNode
(
GLSLHandler
*
handler
,
ShaderTextureManager
*
textureManager
)
Definition at line
153
of file
ShaderTextureNode.cpp
.
154
:
SNENode
(handler), textureManager(textureManager)
155
{
156
name =
"Texture"
;
157
headerColor = ImColor(SHADER_TEXTURE_NODE_COLOR);
158
outputPins.push_back(
new
SNEPin
(NodeEditorPinType::Output, SNEPinType::SNEPinType_Float3));
159
texture =
new
Texture2D
(GetExecutableDir() + PATH_SEPARATOR
"Data"
PATH_SEPARATOR
"textures"
PATH_SEPARATOR
"white.png"
);
160
textureManager->Register(
this
);
161
}
SNENode
Definition:
ShaderNodeEditor.h:54
SNEPin
Definition:
ShaderNodeEditor.h:43
Texture2D
Definition:
Texture2D.h:8
ShaderTextureNode
Generated on Thu Apr 7 2022 14:10:54 for TerraForge3D by
1.9.3