「利用者:Jwilkins/VFX/Misc/DebugStringMarkers」の版間の差分

提供: wiki
移動先: 案内検索
(Created page with "= Debug String Markers = Header File: <tt>GPU_utility.h</tt> Some ''OpenGL'' drivers and extensions provide an debug API whose sole purpose is send a string to a log where it c...")
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 06:04時点における最新版

Debug String Markers

Header File: GPU_utility.h

Some OpenGL drivers and extensions provide an debug API whose sole purpose is send a string to a log where it can be observed by a debugging tool.

Instead of using those APIs directly, use the provided GPU_STRING_MARKER(msg) macro. Here msg is a null terminated const char array.

String markers can be enabled or disabled at compile time depending on the value of the preprocessor macro GPU_ENABLE_STRING_MARKER (0 to disable and 1 to enable).