Shader gets the shader used by the RenderComponent.
()
| 120 | |
| 121 | // Shader gets the shader used by the RenderComponent. |
| 122 | func (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. |
nothing calls this directly
no test coverage detected