predepth

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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PreDepthPass

type PreDepthPass struct {
	DC        vmodel.DrawContext
	Cmd       *vk.Command
	BindFrame func() *vk.DescriptorSet
	OnBegin   func()
}

func (*PreDepthPass) Begin

func (p *PreDepthPass) Begin() (atEnd func())

func (*PreDepthPass) DrawShadow

func (p *PreDepthPass) DrawShadow(mesh vmodel.Mesh, world mgl32.Mat4, material vmodel.Shader)

func (*PreDepthPass) DrawSkinnedShadow

func (p *PreDepthPass) DrawSkinnedShadow(mesh vmodel.Mesh, world mgl32.Mat4, material vmodel.Shader, aniMatrix []mgl32.Mat4)

func (*PreDepthPass) GetCache added in v0.20.1

func (p *PreDepthPass) GetCache() *vk.RenderCache

Jump to

Keyboard shortcuts

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