MCPcopy Index your code
hub / github.com/EngoEngine/engo / getShadersPtr

Function getShadersPtr

common/render_js.go:7–9  ·  view source on GitHub ↗
(a, b Shader)

Source from the content-addressed store, hash-verified

5import "fmt"
6
7func getShadersPtr(a, b Shader) (string, string) {
8 return fmt.Sprintf("%p", a), fmt.Sprintf("%p", b)
9}
10
11func compareShaders(a, b Shader) bool {
12 return a == b

Callers 1

LessMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected