summaryrefslogtreecommitdiffstats
path: root/modules/gltf/structures/gltf_buffer_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/structures/gltf_buffer_view.h')
-rw-r--r--modules/gltf/structures/gltf_buffer_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gltf/structures/gltf_buffer_view.h b/modules/gltf/structures/gltf_buffer_view.h
index 1c7bd5c5c7..6495efe874 100644
--- a/modules/gltf/structures/gltf_buffer_view.h
+++ b/modules/gltf/structures/gltf_buffer_view.h
@@ -45,6 +45,7 @@ private:
int byte_length = 0;
int byte_stride = -1;
bool indices = false;
+ bool vertex_attributes = false;
protected:
static void _bind_methods();
@@ -74,6 +75,9 @@ public:
bool get_indices() const;
void set_indices(bool p_indices);
+ bool get_vertex_attributes() const;
+ void set_vertex_attributes(bool p_attributes);
+
Vector<uint8_t> load_buffer_view_data(const Ref<GLTFState> p_state) const;
};