Skip to content

Commit

Permalink
Merge pull request #67 from zvdm/feature/add-name-to-bufferview
Browse files Browse the repository at this point in the history
Add name property to bufferview
  • Loading branch information
qmuntal committed May 29, 2023
2 parents 7a8f8bb + 3d066a0 commit 7ed65a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gltf.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ type BufferView struct {
ByteLength uint32 `json:"byteLength" validate:"required"`
ByteStride uint32 `json:"byteStride,omitempty" validate:"omitempty,gte=4,lte=252"`
Target Target `json:"target,omitempty" validate:"omitempty,oneof=34962 34963"`
Name string `json:"name,omitempty"`
}

// The Scene contains a list of root nodes.
Expand Down

0 comments on commit 7ed65a3

Please sign in to comment.