MCPcopy
hub / github.com/EngoEngine/engo / Error

Method Error

common/render_shaders.go:186–188  ·  view source on GitHub ↗

Error implements the error interface.

()

Source from the content-addressed store, hash-verified

184
185// Error implements the error interface.
186func (v VertexShaderCompilationError) Error() string {
187 return fmt.Sprintf("an error occurred compiling the vertex shader: %s", strings.Trim(v.OpenGLError, "\r\n"))
188}
189
190// FragmentShaderCompilationError is returned whenever the `LoadShader` method was unable to compile your Fragment-shader (GLSL)
191type FragmentShaderCompilationError struct {

Callers 15

TestSetScaleOnResizeFunction · 0.45
TestHeadlessFunction · 0.45
TestScaleOnResizeFunction · 0.45
TestGameWidthHeightFunction · 0.45
TestSetFPSLimitFunction · 0.45
TestRunNegativeMSAAPanicFunction · 0.45
TestRunStandardInputsFunction · 0.45
TestRunHeadlessFunction · 0.45
TestOverrideCloseActionFunction · 0.45
TestSceneSwitchingFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestSetScaleOnResizeFunction · 0.36
TestHeadlessFunction · 0.36
TestScaleOnResizeFunction · 0.36
TestGameWidthHeightFunction · 0.36
TestSetFPSLimitFunction · 0.36
TestRunNegativeMSAAPanicFunction · 0.36
TestRunStandardInputsFunction · 0.36
TestRunHeadlessFunction · 0.36
TestOverrideCloseActionFunction · 0.36
TestSceneSwitchingFunction · 0.36