mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Ensure renderer calls aren't virtual
This commit is contained in:
@ -8,8 +8,8 @@ import (
|
||||
)
|
||||
|
||||
type Render interface {
|
||||
DrawMesh(mesh meshes.Mesh, trMat gglm.TrMat, mat materials.Material)
|
||||
DrawVertexArray(mat materials.Material, vao buffers.VertexArray, firstElement int32, count int32)
|
||||
DrawCubemap(mesh meshes.Mesh, mat materials.Material)
|
||||
DrawMesh(mesh *meshes.Mesh, trMat *gglm.TrMat, mat *materials.Material)
|
||||
DrawVertexArray(mat *materials.Material, vao *buffers.VertexArray, firstElement int32, count int32)
|
||||
DrawCubemap(mesh *meshes.Mesh, mat *materials.Material)
|
||||
FrameEnd()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user