Documentation ¶
Index ¶
- type Rend3DGL
- func (r *Rend3DGL) DrawCubemap(mesh *meshes.Mesh, mat *materials.Material)
- func (r *Rend3DGL) DrawMesh(mesh *meshes.Mesh, modelMat *gglm.TrMat, mat *materials.Material)
- func (r *Rend3DGL) DrawVertexArray(mat *materials.Material, vao *buffers.VertexArray, firstElement int32, ...)
- func (r3d *Rend3DGL) FrameEnd()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rend3DGL ¶
type Rend3DGL struct { BoundVao *buffers.VertexArray BoundMesh *meshes.Mesh BoundMat *materials.Material }
func NewRend3DGL ¶
func NewRend3DGL() *Rend3DGL
func (*Rend3DGL) DrawCubemap ¶ added in v0.21.0
func (*Rend3DGL) DrawVertexArray ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.