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



commit 394cf55fa75c0cf66964f8b6f384457f7aba181e
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]