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

Method init

Engine/source/materials/matInstance.cpp:276–288  ·  view source on GitHub ↗

---------------------------------------------------------------------------- Init ----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

274// Init
275//----------------------------------------------------------------------------
276bool MatInstance::init( const FeatureSet &features,
277 const GFXVertexFormat *vertexFormat )
278{
279 AssertFatal( vertexFormat, "MatInstance::init - Got null vertex format!" );
280
281 mFeatureList = features;
282 mVertexFormat = vertexFormat;
283
284 SAFE_DELETE(mProcessedMaterial);
285 mIsValid = processMaterial();
286
287 return mIsValid;
288}
289
290
291//----------------------------------------------------------------------------

Callers 6

initMatInstancesMethod · 0.45
processMaterialMethod · 0.45
_createShaderMethod · 0.45
createMatInstanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected