Documentation ¶
Index ¶
- type CommandBufferShim
- type DeviceShim
- type VulkanCommandBufferShim
- func (s *VulkanCommandBufferShim) CmdBeginRenderPass2(renderPassBegin core1_0.RenderPassBeginInfo, ...) error
- func (s *VulkanCommandBufferShim) CmdEndRenderPass2(subpassEnd core1_2.SubpassEndInfo) error
- func (s *VulkanCommandBufferShim) CmdNextSubpass2(subpassBegin core1_2.SubpassBeginInfo, subpassEnd core1_2.SubpassEndInfo) error
- type VulkanDeviceShim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandBufferShim ¶
type CommandBufferShim interface { // CmdBeginRenderPass2 begins a new RenderPass // // 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(renderPassBegin core1_0.RenderPassBeginInfo, subpassBegin core1_2.SubpassBeginInfo) error // CmdEndRenderPass2 ends the current RenderPass // // 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(subpassEnd core1_2.SubpassEndInfo) error // CmdNextSubpass2 transitions to the next subpass of a RenderPass // // 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(subpassBegin core1_2.SubpassBeginInfo, subpassEnd core1_2.SubpassEndInfo) error }
CommandBufferShim contains all the CommandBuffer commands for the khr_create_renderpass2 extension
type DeviceShim ¶
type DeviceShim interface { // CreateRenderPass2 creates a new RenderPass object // // 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 *driver.AllocationCallbacks, options core1_2.RenderPassCreateInfo2) (core1_0.RenderPass, common.VkResult, error) }
DeviceShim contains all the Device commands for the khr_create_renderpass2 extension
type VulkanCommandBufferShim ¶
type VulkanCommandBufferShim struct {
// contains filtered or unexported fields
}
func NewCommandBufferShim ¶
func NewCommandBufferShim(extension khr_create_renderpass2.Extension, commandBuffer core1_0.CommandBuffer) *VulkanCommandBufferShim
func (*VulkanCommandBufferShim) CmdBeginRenderPass2 ¶
func (s *VulkanCommandBufferShim) CmdBeginRenderPass2(renderPassBegin core1_0.RenderPassBeginInfo, subpassBegin core1_2.SubpassBeginInfo) error
func (*VulkanCommandBufferShim) CmdEndRenderPass2 ¶
func (s *VulkanCommandBufferShim) CmdEndRenderPass2(subpassEnd core1_2.SubpassEndInfo) error
func (*VulkanCommandBufferShim) CmdNextSubpass2 ¶
func (s *VulkanCommandBufferShim) CmdNextSubpass2(subpassBegin core1_2.SubpassBeginInfo, subpassEnd core1_2.SubpassEndInfo) error
type VulkanDeviceShim ¶
type VulkanDeviceShim struct {
// contains filtered or unexported fields
}
func NewDeviceShim ¶
func NewDeviceShim(extension khr_create_renderpass2.Extension, device core1_0.Device) *VulkanDeviceShim
func (*VulkanDeviceShim) CreateRenderPass2 ¶
func (s *VulkanDeviceShim) CreateRenderPass2(allocator *driver.AllocationCallbacks, options core1_2.RenderPassCreateInfo2) (core1_0.RenderPass, common.VkResult, error)
Click to show internal directories.
Click to hide internal directories.