Skip to content

fix: bufferView.target is required by gltf v2 spec.#285

Open
REDxEYE wants to merge 1 commit into
jkuhlmann:masterfrom
REDxEYE:fix-193-write-buffer-view-target
Open

fix: bufferView.target is required by gltf v2 spec.#285
REDxEYE wants to merge 1 commit into
jkuhlmann:masterfrom
REDxEYE:fix-193-write-buffer-view-target

Conversation

@REDxEYE

@REDxEYE REDxEYE commented Feb 18, 2026

Copy link
Copy Markdown

Add simple switch case to write values for cgltf_buffer_view_type_indices/cgltf_buffer_view_type_vertices and do nothing for everything else.

This should fix #193

Add simple switch case to write values for cgltf_buffer_view_type_indices/cgltf_buffer_view_type_vertices and do nothing for everything else.
@jkuhlmann

Copy link
Copy Markdown
Owner

Hey! Where does it say that target is required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

write buffer_view should write TARGET

2 participants