KhronosGroup / KhronosGroup/glTF

BufferView.ByteStride must not be defined for buffer views containing image data

Open
#2,166 0 comments 0 reactions 1 assignee Claimed by @lexaknyazev View on GitHub
specification
Dominant language
HTML
Stars
7.8k
Forks
1.2k
Avg merge
17h 26m
Merged PRs (30d)
5

Description

In glTF-validator, it is an [error](https://github.com/KhronosGroup/glTF-Validator/blob/ae85e07d44d83d9bd3b2518d7df82a84c93ea0c0/ISSUES.md?plain=1#L97) to define `byteStride` for `bufferViews` containing image data.

| Code | Message | Severity |
|------|---------|----------|
|IMAGE_BUFFER_VIEW_WITH_BYTESTRIDE|bufferView.byteStride must not be defined for buffer views containing image data.|Error|

This information is missing in [`image.bufferView` property reference.](https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#_image_bufferview) An implementation note would be helpful for the reader.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.