khr_create_renderpass2

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentDescription2

type AttachmentDescription2 = core1_2.AttachmentDescription2

type AttachmentReference2

type AttachmentReference2 = core1_2.AttachmentReference2

type ExtensionDriver

type ExtensionDriver interface {
	// CmdBeginRenderPass2 begins a new RenderPass
	//
	// commandBuffer - The CommandBuffer to begin the RenderPass in
	//
	// renderPassBegin - Specifies the RenderPass to begin an instance of, and the Framebuffer the instance
	// uses
	//
	// subpassBegin - Contains information about the subpass which is about to begin rendering
	//
	// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdBeginRenderPass2.html
	CmdBeginRenderPass2(commandBuffer core1_0.CommandBuffer, renderPassBegin core1_0.RenderPassBeginInfo, subpassBegin SubpassBeginInfo) error
	// CmdEndRenderPass2 ends the current RenderPass
	//
	// commandBuffer - The CommandBuffer to end the RenderPass in
	//
	// subpassEnd - Contains information about how the previous subpass will be ended
	//
	// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdEndRenderPass2.html
	CmdEndRenderPass2(commandBuffer core1_0.CommandBuffer, subpassEnd SubpassEndInfo) error
	// CmdNextSubpass2 transitions to the next subpass of a RenderPass
	//
	// commandBuffer - The CommandBuffer to end the RenderPass in
	//
	// subpassBegin - Contains information about the subpass which is about to begin rendering.
	//
	// subpassEnd - Contains information about how the previous subpass will be ended.
	//
	// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCmdNextSubpass2.html
	CmdNextSubpass2(commandBuffer core1_0.CommandBuffer, subpassBegin SubpassBeginInfo, subpassEnd SubpassEndInfo) error

	// CreateRenderPass2 creates a new RenderPass object
	//
	// device - The Device to create the RenderPass from
	//
	// allocator - Controls host memory allocation behavior
	//
	// options - Describes the parameters of the RenderPass
	//
	// https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkCreateRenderPass2.html
	CreateRenderPass2(allocator *loader.AllocationCallbacks, options RenderPassCreateInfo2) (core1_0.RenderPass, common.VkResult, error)
}

ExtensionDriver contains all the commands for the khr_create_renderpass2 extension

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_create_renderpass2.html

func CreateExtensionDriverFromCoreDriver

func CreateExtensionDriverFromCoreDriver(coreDriver core1_0.DeviceDriver) ExtensionDriver

CreateExtensionDriverFromCoreDriver produces an ExtensionDriver object from a Device with khr_create_renderpass2 loaded

type RenderPassCreateInfo2

type RenderPassCreateInfo2 = core1_2.RenderPassCreateInfo2

type SubpassBeginInfo

type SubpassBeginInfo = core1_2.SubpassBeginInfo

type SubpassDependency2

type SubpassDependency2 = core1_2.SubpassDependency2

type SubpassDescription2

type SubpassDescription2 = core1_2.SubpassDescription2

type SubpassEndInfo

type SubpassEndInfo = core1_2.SubpassEndInfo

type VulkanExtensionDriver

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

VulkanExtensionDriver is an implementation of the ExtensionDriver interface that actually communicates with Vulkan. This is the default implementation. See the interface for more documentation.

func CreateExtensionDriverFromLoader

func CreateExtensionDriverFromLoader(driver khr_create_renderpass2_loader.Loader, device core1_0.Device) *VulkanExtensionDriver

CreateExtensionDriverFromLoader generates an ExtensionDriver from a loader.Loader object- this is usually used in tests to build an ExtensionDriver from mock drivers

func (*VulkanExtensionDriver) CmdBeginRenderPass2

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

func (*VulkanExtensionDriver) CmdEndRenderPass2

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

func (*VulkanExtensionDriver) CmdNextSubpass2

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

func (*VulkanExtensionDriver) 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