Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGLError ¶
func AssertGLError(importance ErrorImportance, comment string)
AssertGLError panics or logs depending on debug mode and given importance of error
func LogError ¶
func LogError(importance ErrorImportance, text string)
LogError logs a error in the graphics log
Types ¶
type ErrorImportance ¶
type ErrorImportance int
ErrorImportance defines how important/dangerous an error is. possible values: Critical, Normal, Debug
const ( Critical ErrorImportance = iota Normal Debug )
values for ErrorImportance
Click to show internal directories.
Click to hide internal directories.