This object is new and subject to change; keep up with the documentation in case of changes.
Things to keep in mind
Createmust be called every time after you change theVertexandPixelshaders.- The entry points for the
VertexandPixelshaders are called “main”, you cannot change this. - If
Sizeis not set, the shader will take up the maximum available space of the game window.
Tips
- To access the extra globals that Potassium gives to the GPU, define them as follows in your
Pixelshader:
