khr_create_renderpass2

package
v0.0.0-...-0931f86 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentDescription2

type AttachmentDescription2 struct {
	Flags          core1_0.AttachmentDescriptionFlags
	Format         core1_0.Format
	Samples        core1_0.SampleCountFlags
	LoadOp         core1_0.AttachmentLoadOp
	StoreOp        core1_0.AttachmentStoreOp
	StencilLoadOp  core1_0.AttachmentLoadOp
	StencilStoreOp core1_0.AttachmentStoreOp
	InitialLayout  core1_0.ImageLayout
	FinalLayout    core1_0.ImageLayout

	common.NextOptions
}

func (AttachmentDescription2) PopulateCPointer

func (o AttachmentDescription2) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type AttachmentReference2

type AttachmentReference2 struct {
	Attachment int
	Layout     core1_0.ImageLayout
	AspectMask core1_0.ImageAspectFlags

	common.NextOptions
}

func (AttachmentReference2) PopulateCPointer

func (o AttachmentReference2) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type Extension

type Extension interface {
	CmdBeginRenderPass2(commandBuffer core1_0.CommandBuffer, renderPassBegin core1_0.RenderPassBeginInfo, subpassBegin SubpassBeginInfo) error
	CmdEndRenderPass2(commandBuffer core1_0.CommandBuffer, subpassEnd SubpassEndInfo) error
	CmdNextSubpass2(commandBuffer core1_0.CommandBuffer, subpassBegin SubpassBeginInfo, subpassEnd SubpassEndInfo) error

	CreateRenderPass2(device core1_0.Device, allocator *driver.AllocationCallbacks, options RenderPassCreateInfo2) (core1_0.RenderPass, common.VkResult, error)
}

type RenderPassCreateInfo2

type RenderPassCreateInfo2 struct {
	Flags core1_0.RenderPassCreateFlags

	Attachments  []AttachmentDescription2
	Subpasses    []SubpassDescription2
	Dependencies []SubpassDependency2

	CorrelatedViewMasks []uint32

	common.NextOptions
}

func (RenderPassCreateInfo2) PopulateCPointer

func (o RenderPassCreateInfo2) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type SubpassBeginInfo

type SubpassBeginInfo struct {
	Contents core1_0.SubpassContents

	common.NextOptions
}

func (SubpassBeginInfo) PopulateCPointer

func (o SubpassBeginInfo) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type SubpassDependency2

type SubpassDependency2 struct {
	SrcSubpass      int
	DstSubpass      int
	SrcStageMask    core1_0.PipelineStageFlags
	DstStageMask    core1_0.PipelineStageFlags
	SrcAccessMask   core1_0.AccessFlags
	DstAccessMask   core1_0.AccessFlags
	DependencyFlags core1_0.DependencyFlags
	ViewOffset      int

	common.NextOptions
}

func (SubpassDependency2) PopulateCPointer

func (o SubpassDependency2) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type SubpassDescription2

type SubpassDescription2 struct {
	Flags                  core1_0.SubpassDescriptionFlags
	PipelineBindPoint      core1_0.PipelineBindPoint
	ViewMask               uint32
	InputAttachments       []AttachmentReference2
	ColorAttachments       []AttachmentReference2
	ResolveAttachments     []AttachmentReference2
	DepthStencilAttachment *AttachmentReference2
	PreserveAttachments    []int

	common.NextOptions
}

func (SubpassDescription2) PopulateCPointer

func (o SubpassDescription2) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type SubpassEndInfo

type SubpassEndInfo struct {
	common.NextOptions
}

func (SubpassEndInfo) PopulateCPointer

func (o SubpassEndInfo) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

type VulkanExtension

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

func CreateExtensionFromDevice

func CreateExtensionFromDevice(device core1_0.Device) *VulkanExtension

func (*VulkanExtension) CmdBeginRenderPass2

func (e *VulkanExtension) CmdBeginRenderPass2(commandBuffer core1_0.CommandBuffer, renderPassBegin core1_0.RenderPassBeginInfo, subpassBegin SubpassBeginInfo) error

func (*VulkanExtension) CmdEndRenderPass2

func (e *VulkanExtension) CmdEndRenderPass2(commandBuffer core1_0.CommandBuffer, subpassEnd SubpassEndInfo) error

func (*VulkanExtension) CmdNextSubpass2

func (e *VulkanExtension) CmdNextSubpass2(commandBuffer core1_0.CommandBuffer, subpassBegin SubpassBeginInfo, subpassEnd SubpassEndInfo) error

func (*VulkanExtension) CreateRenderPass2

Directories

Path Synopsis
Package mock_create_renderpass2 is a generated GoMock package.
Package mock_create_renderpass2 is a generated GoMock package.

Jump to

Keyboard shortcuts

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