rend3dgl

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

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 (r *Rend3DGL) DrawCubemap(mesh *meshes.Mesh, mat *materials.Material)

func (*Rend3DGL) DrawMesh added in v0.21.0

func (r *Rend3DGL) DrawMesh(mesh *meshes.Mesh, modelMat *gglm.TrMat, mat *materials.Material)

func (*Rend3DGL) DrawVertexArray added in v0.21.0

func (r *Rend3DGL) DrawVertexArray(mat *materials.Material, vao *buffers.VertexArray, firstElement int32, elementCount int32)

func (*Rend3DGL) FrameEnd

func (r3d *Rend3DGL) FrameEnd()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL