emissive

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxInstances = 200

Variables

This section is empty.

Functions

This section is empty.

Types

type EmissiveMaterial

type EmissiveMaterial struct {
	// Static color used to render mesh
	Color mgl32.Vec4
}

func (*EmissiveMaterial) Draw

func (e *EmissiveMaterial) Draw(dc *vmodel.DrawContext, mesh vmodel.Mesh, world mgl32.Mat4)

func (*EmissiveMaterial) DrawSkinned

func (e *EmissiveMaterial) DrawSkinned(dc *vmodel.DrawContext, mesh vmodel.Mesh, world mgl32.Mat4, aniMatrix []mgl32.Mat4)

func (*EmissiveMaterial) SetDescriptor

func (e *EmissiveMaterial) SetDescriptor(dsMat *vk.DescriptorSet)

Jump to

Keyboard shortcuts

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