MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getWarningMatInstance

Method getWarningMatInstance

Engine/source/materials/materialManager.cpp:216–222  ·  view source on GitHub ↗

Gets the global warning material instance, callers should not free this copy

Source from the content-addressed store, hash-verified

214
215// Gets the global warning material instance, callers should not free this copy
216BaseMatInstance * MaterialManager::getWarningMatInstance()
217{
218 if (!mWarningInst)
219 mWarningInst = createWarningMatInstance();
220
221 return mWarningInst;
222}
223
224#ifndef TORQUE_SHIPPING
225BaseMatInstance * MaterialManager::createMeshDebugMatInstance(const ColorF &meshColor)

Callers 2

prepRenderImageMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected