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

Method Init

gui/chart.go:729–736  ·  view source on GitHub ↗
(color *math32.Color)

Source from the content-addressed store, hash-verified

727}
728
729func (cm *chartMaterial) Init(color *math32.Color) {
730
731 cm.Material.Init()
732 cm.SetShader("shaderChart")
733 cm.SetShaderUnique(true)
734 cm.uniColor.Init("MatColor")
735 cm.color = *color
736}
737
738func (cm *chartMaterial) RenderSetup(gs *gls.GLS) {
739

Callers

nothing calls this directly

Calls 3

SetShaderMethod · 0.80
SetShaderUniqueMethod · 0.80
InitMethod · 0.45

Tested by

no test coverage detected