Unfinished WebGL Data Types Article

Open
#46,631 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
documentation

Research direction

Start from the MDN page at https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Data and its source in the mdn/content repository. Read the existing Varyings, Uniforms, Buffers and Textures sections, and the attributes section where vColor is declared with the wrong prefix. Done means each missing section has a short explanation and a working example, and the attribute naming is corrected. Check examples against a WebGL context in a browser before submitting.

Written by the indexing model from the issue text.

Description

area: WebGL Content:WebAPI document not written
MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Data

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

There were missing examples for varying and uniforms, and no information about buffers and textures.

What did you expect to see?

An explanation about the data types and examples of how to use them (eg):

Textures are arrays that contain data to be used in the program, usually including an image. A texture is accessed as a uniform, because the texture stays the same. The texcoord is represented as varying, because it interpolates between points with changing coordinates.

insert code
Do you have any supporting links, references, or citations?

Varyings
Uniforms
Buffers
Textures

Do you have anything more you want to share?

In an attributes section, an attribute is declared as as vColor even though they are usually declared with an a to distinguish between other data types.

Dominant language
Markdown
Stars
11.2k
Forks
23.3k
Avg merge
2d 6h
Merged PRs (30d)
173

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mdn/content

All issues in mdn/content

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.