-
Notifications
You must be signed in to change notification settings - Fork 0
PenguinSubmesh
Michael edited this page Oct 7, 2022
·
1 revision
A class that will individual vertex buffers from Penguin.
Type: string
The name of the vertex buffer submesh (or material), as saved from the editor.
Type: vertex buffer
The vertex buffer itself. Can be submitted manually, or using the `Render() method.
Submits the vertex buffer contained by the submesh. If a sprite of the same name as the assigned diffuse texture in the editor exists in the project, it will be used. The Separate Texture Page option should be used for all of these sprites.
Vertex buffers will be submitted using the currently active shader. The currently active shader should be able to accept the vertex format the buffer was loaded with.