Skip to content

Implement Shader API Object #12

@tychedelia

Description

@tychedelia

When users interact with our material API, they'll need to load WGSL shaders from the filesystem. We'll want to implement a Shader asset that helps them doing so. Note, in Processing4 PShader is a more general purpose entry-point to OpenGL. Because WebGPU is a bit lower-level than GL, it doesn't make as much sense to expose a full pipeline API here. We may in the future choose to add some things like reflection driven layout information for users who want to use the low-level WebGPU APIs, but let's keep it simple to start as just a handle to a shader file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions