MCPcopy
hub / github.com/g3n/engine / findProfileCOMMON

Function findProfileCOMMON

loader/collada/material.go:256–265  ·  view source on GitHub ↗
(ef *Effect)

Source from the content-addressed store, hash-verified

254}
255
256func findProfileCOMMON(ef *Effect) *ProfileCOMMON {
257
258 for _, pi := range ef.Profile {
259 pc, ok := pi.(*ProfileCOMMON)
260 if ok {
261 return pc
262 }
263 }
264 return nil
265}
266
267func findNewparam(dom *Collada, uri string) *Newparam {
268

Callers 1

NewMaterialMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected