khr_imageless_framebuffer

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ExtensionName is "VK_KHR_imageless_framebuffer"
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_imageless_framebuffer.html
	ExtensionName string = C.VK_KHR_IMAGELESS_FRAMEBUFFER_EXTENSION_NAME

	// FramebufferCreateImageless specifies that ImageView objects are not specified, and only
	// attachment compatibility information will be provided via a FramebufferAttachmentImageInfo
	// structure
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFramebufferCreateFlagBits.html
	FramebufferCreateImageless core1_0.FramebufferCreateFlags = C.VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FramebufferAttachmentImageInfo

type FramebufferAttachmentImageInfo struct {
	// Flags matches the value of ImageCreateInfo.Flags used to create an Image that will be used
	// with this Framebuffer
	Flags core1_0.ImageCreateFlags
	// Usage matches the value of ImageCreateInfo.Usage used to create an Image used with this
	// Framebuffer
	Usage core1_0.ImageUsageFlags
	// Width is the width of the ImageView used for rendering
	Width int
	// Height is the height of ImageView used for rendering
	Height int
	// LayerCount is the number of array layers of the ImageView used for rendering
	LayerCount int

	// ViewFormats is a slice of core1_0.Format values specifying all of the formats which
	// can be used when creating views of the Image, matching the value of
	// ImageFormatListCreateInfo.ViewFormats used to create an Image used with this
	// Framebuffer
	ViewFormats []core1_0.Format

	common.NextOptions
}

FramebufferAttachmentImageInfo specifies parameters of an Image that will be used with a Framebuffer

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

func (FramebufferAttachmentImageInfo) PopulateCPointer

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

type FramebufferAttachmentsCreateInfo

type FramebufferAttachmentsCreateInfo struct {
	// AttachmentImageInfos is a slice of FramebufferAttachmentInfo structures, each structure
	// describing a number of parameters of the corresponding attachment in a RenderPass instance
	AttachmentImageInfos []FramebufferAttachmentImageInfo

	common.NextOptions
}

FramebufferAttachmentsCreateInfo specifies parameters of Image objects that will be used with a Framebuffer

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

func (FramebufferAttachmentsCreateInfo) PopulateCPointer

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

type PhysicalDeviceImagelessFramebufferFeatures

type PhysicalDeviceImagelessFramebufferFeatures struct {
	// ImagelessFramebuffer indicates that the implementation supports specifying the ImageView for
	// attachments at RenderPass begin time via RenderPassAttachmentBeginInfo
	ImagelessFramebuffer bool

	common.NextOptions
	common.NextOutData
}

PhysicalDeviceImagelessFramebufferFeatures indicates supports for imageless Framebuffer objects

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

func (PhysicalDeviceImagelessFramebufferFeatures) PopulateCPointer

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

func (*PhysicalDeviceImagelessFramebufferFeatures) PopulateHeader

func (o *PhysicalDeviceImagelessFramebufferFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceImagelessFramebufferFeatures) PopulateOutData

func (o *PhysicalDeviceImagelessFramebufferFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type RenderPassAttachmentBeginInfo

type RenderPassAttachmentBeginInfo struct {
	// Attachments is a slice of ImageView objects, each of which will be used as the corresponding
	// attachment in the RenderPass instance
	Attachments []core1_0.ImageView

	common.NextOptions
}

RenderPassAttachmentBeginInfo specifies Image objects to be used as Framebuffer attachments

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

func (RenderPassAttachmentBeginInfo) PopulateCPointer

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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