Skip to content

Rename PShader to PShaderOpenGL and extract PShader interface. - #1556

Open
tychedelia wants to merge 1 commit into
processing:mainfrom
tychedelia:pshader
Open

Rename PShader to PShaderOpenGL and extract PShader interface.#1556
tychedelia wants to merge 1 commit into
processing:mainfrom
tychedelia:pshader

Conversation

@tychedelia

Copy link
Copy Markdown
Member

PShader is unlike every other P- prefixed class in that it lives exclusively in the opengl code. This is problematic for webgpu, which wants to use the same interface. In this PR, we extract the interface and rename PShader to PShaderOpenGL.

This is a breaking change that shouldn't be merged until we're ready for a new major version. Most of the methods on PShaderOpenGL that are GL specific are lifecycle methods not expected to be consumed by most users.

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.

1 participant