Documentation ¶
Index ¶
- Constants
- type AttachmentDescription2
- type AttachmentReference2
- type Extension
- type RenderPassCreateInfo2
- type SubpassBeginInfo
- type SubpassDependency2
- type SubpassDescription2
- type SubpassEndInfo
- type VulkanExtension
- func (e *VulkanExtension) CmdBeginRenderPass2(commandBuffer core1_0.CommandBuffer, ...) error
- func (e *VulkanExtension) CmdEndRenderPass2(commandBuffer core1_0.CommandBuffer, subpassEnd SubpassEndInfo) error
- func (e *VulkanExtension) CmdNextSubpass2(commandBuffer core1_0.CommandBuffer, subpassBegin SubpassBeginInfo, ...) error
- func (e *VulkanExtension) CreateRenderPass2(device core1_0.Device, allocator *driver.AllocationCallbacks, ...) (core1_0.RenderPass, common.VkResult, error)
Constants ¶
View Source
const (
ExtensionName string = C.VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME
)
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 }
type AttachmentReference2 ¶
type AttachmentReference2 struct { Attachment int Layout core1_0.ImageLayout AspectMask core1_0.ImageAspectFlags common.NextOptions }
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 common.NextOptions }
type SubpassBeginInfo ¶
type SubpassBeginInfo struct { Contents core1_0.SubpassContents common.NextOptions }
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 }
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 }
type SubpassEndInfo ¶
type SubpassEndInfo struct {
common.NextOptions
}
type VulkanExtension ¶
type VulkanExtension struct {
// contains filtered or unexported fields
}
func CreateExtensionFromDevice ¶
func CreateExtensionFromDevice(device core1_0.Device) *VulkanExtension
func CreateExtensionFromDriver ¶
func CreateExtensionFromDriver(driver khr_create_renderpass2_driver.Driver) *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 ¶
func (e *VulkanExtension) CreateRenderPass2(device core1_0.Device, allocator *driver.AllocationCallbacks, options RenderPassCreateInfo2) (core1_0.RenderPass, common.VkResult, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.