MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addConnector

Method addConnector

Engine/source/shaderGen/customShaderFeature.cpp:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void CustomShaderFeatureData::addConnector(String name, String type, String elementName)
156{
157#ifdef TORQUE_D3D11
158 if (GFX->getAdapterType() == GFXAdapterType::Direct3D11)
159 mFeatureHLSL->addConnector(name, type, elementName);
160#endif
161#ifdef TORQUE_OPENGL
162 if (GFX->getAdapterType() == GFXAdapterType::OpenGL)
163 mFeatureGLSL->addConnector(name, type, elementName);
164#endif
165}
166
167void CustomShaderFeatureData::addVertTexCoord(String name)
168{

Callers 1

Calls 1

getAdapterTypeMethod · 0.45

Tested by

no test coverage detected