renderpass

package
v0.0.0-...-8e5a076 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Name             string
	ColorAttachments []attachment.Color
	DepthAttachment  *attachment.Depth

	Subpasses    []Subpass
	Dependencies []SubpassDependency
}

type Name

type Name string
const ExternalSubpass Name = "external"

type Renderpass

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

func New

func New(device *device.Device, args Args) *Renderpass

func (*Renderpass) Attachment

func (r *Renderpass) Attachment(name attachment.Name) attachment.T

func (*Renderpass) Attachments

func (r *Renderpass) Attachments() []attachment.T

func (*Renderpass) Clear

func (r *Renderpass) Clear() []core1_0.ClearValue

func (*Renderpass) Depth

func (r *Renderpass) Depth() attachment.T

func (*Renderpass) Destroy

func (r *Renderpass) Destroy()

func (*Renderpass) Name

func (r *Renderpass) Name() string

func (*Renderpass) Ptr

func (r *Renderpass) Ptr() core1_0.RenderPass

func (*Renderpass) Subpass

func (r *Renderpass) Subpass(name Name) Subpass

type Subpass

type Subpass struct {
	Name             Name
	Depth            bool
	ColorAttachments []attachment.Name
	InputAttachments []attachment.Name
	// contains filtered or unexported fields
}

func (*Subpass) Index

func (s *Subpass) Index() int

type SubpassDependency

type SubpassDependency struct {
	Src Name
	Dst Name

	Flags         core1_0.DependencyFlags
	SrcStageMask  core1_0.PipelineStageFlags
	SrcAccessMask core1_0.AccessFlags
	DstStageMask  core1_0.PipelineStageFlags
	DstAccessMask core1_0.AccessFlags
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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