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

Method Shader

common/render.go:122–125  ·  view source on GitHub ↗

Shader gets the shader used by the RenderComponent.

()

Source from the content-addressed store, hash-verified

120
121// Shader gets the shader used by the RenderComponent.
122func (r *RenderComponent) Shader() Shader {
123 r.ensureShader()
124 return r.shader
125}
126
127// SetZIndex sets the order that the RenderComponent is drawn to the screen. Higher z-indices are drawn on top of
128// lower ones if they overlap.

Callers

nothing calls this directly

Calls 1

ensureShaderMethod · 0.95

Tested by

no test coverage detected