[gtk/ebassi/for-master: 4/9] docs: Annotate the GL shader objects




commit 8b898818c2aa43f2b01480d2d211115a931ed6e5
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Dec 1 14:16:45 2020 +0000

    docs: Annotate the GL shader objects

 gsk/gskglshader.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/gsk/gskglshader.h b/gsk/gskglshader.h
index 57bf941730..2e98e5cb12 100644
--- a/gsk/gskglshader.h
+++ b/gsk/gskglshader.h
@@ -32,10 +32,20 @@ G_BEGIN_DECLS
 
 #define GSK_TYPE_SHADER_ARGS_BUILDER    (gsk_shader_args_builder_get_type ())
 
+/**
+ * GskShaderArgsBuilder:
+ *
+ * An object to build the uniforms data for a #GskGLShader.
+ */
 typedef struct _GskShaderArgsBuilder GskShaderArgsBuilder;
 
 #define GSK_TYPE_GL_SHADER (gsk_gl_shader_get_type ())
 
+/**
+ * GskGLShader:
+ *
+ * An object representing a GL shader program.
+ */
 GDK_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (GskGLShader, gsk_gl_shader, GSK, GL_SHADER, GObject)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]