summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-04 12:53:00 -0600
committersanine <sanine.not@pm.me>2023-02-04 12:53:00 -0600
commitef5142f0d044b3480790606536c492719c6e73ef (patch)
tree8c7abad469ddfddeee5aabe537761a13a83d64ce /include
parentdb4aaea68f40f43e10ce73852630c94227001235 (diff)
implement kai_read_accessor()
Diffstat (limited to 'include')
-rw-r--r--include/kalmia.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/kalmia.h b/include/kalmia.h
index 615753c..06a555b 100644
--- a/include/kalmia.h
+++ b/include/kalmia.h
@@ -81,5 +81,15 @@ struct ka_param_t {
char *semantic;
};
+struct ka_accessor_t {
+ unsigned int count; /* required */
+ unsigned int offset; /* default 0 */
+ char *source; /* required */
+ unsigned int stride; /* default 1 */
+
+ unsigned int param_count;
+ struct ka_param_t *param;
+};
+
#endif