Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/g3n/engine
/ NewBasic
Function
NewBasic
material/basic.go:13–19 ·
view source on GitHub ↗
NewBasic returns a pointer to a new Basic material
()
Source
from the content-addressed store, hash-verified
11
12
// NewBasic returns a pointer to a new Basic material
13
func
NewBasic() *Basic {
14
15
mb := new(Basic)
16
mb.Material.Init()
17
mb.SetShader(
"basic"
)
18
return
mb
19
}
Callers
3
newNode
Method · 0.92
NewGrid
Function · 0.92
NewAxes
Function · 0.92
Calls
2
SetShader
Method · 0.80
Init
Method · 0.45
Tested by
no test coverage detected