pipeline

package
v0.0.0-...-8789af9 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineManager

type PipelineManager struct {
	// contains filtered or unexported fields
}

func NewPipelineManager

func NewPipelineManager(device *wgpu.Device) *PipelineManager

func (*PipelineManager) GetPipeline

func (pm *PipelineManager) GetPipeline(
	key string,
	layout *wgpu.PipelineLayoutDescriptor,
	shaderModule *wgpu.ShaderModule,
	scd *wgpu.SwapChainDescriptor,
	topology wgpu.PrimitiveTopology,
	vertexBufferLayout []wgpu.VertexBufferLayout,
) *wgpu.RenderPipeline

Jump to

Keyboard shortcuts

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