@gtkx/gl 1.0.0-rc.3 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -1,4 +1,8 @@
1
+ /** @public */
1
2
  export * from "./generated/commands.js";
3
+ /** @public */
2
4
  export * from "./generated/enums.js";
5
+ /** @public */
3
6
  export type * from "./generated/types.js";
7
+ /** @public */
4
8
  export * from "./overrides.js";
package/src/overrides.ts CHANGED
@@ -21,6 +21,7 @@ import {
21
21
  } from "./generated/enums.js";
22
22
 
23
23
  type LengthQuery = (id: GLuint, pname: GLenum) => GLint;
24
+ /** Arguments the driver hands the raw debug callback: source, type, id, severity, message length, and text. */
24
25
  type DebugCallbackArgs = [GLenum, GLenum, GLuint, GLenum, number, string];
25
26
 
26
27
  /**
@@ -41,7 +42,7 @@ type DebugMessage = {
41
42
 
42
43
  /**
43
44
  * Callback invoked for each GL debug message reported by the driver.
44
- * @param message The message reported by the driver.
45
+ * @param message - The message reported by the driver.
45
46
  */
46
47
  type DebugMessageCallback = (message: DebugMessage) => void;
47
48