Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ExtensionName is "VK_KHR_dedicated_allocation" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_dedicated_allocation.html ExtensionName string = C.VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryDedicatedAllocateInfo ¶
type MemoryDedicatedAllocateInfo struct {
// Image is nil or the Image object which this memory will be bound to
Image core1_0.Image
// Buffer is nil or the Buffer object this memory will be bound to
Buffer core1_0.Buffer
common.NextOptions
}
MemoryDedicatedAllocateInfo specifies a dedicated memory allocation resource
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryDedicatedAllocateInfo.html
type MemoryDedicatedRequirements ¶
type MemoryDedicatedRequirements struct {
// PrefersDedicatedAllocation specifies that the implementation would prefer a dedicated
// allocation for this resource. The application is still free to suballocate the resource
// but it may get better performance if a dedicated allocation is used
PrefersDedicatedAllocation bool
// RequiresDedicatedAllocation specifies that a dedicated allocation is required for this resource
RequiresDedicatedAllocation bool
common.NextOutData
}
MemoryDedicatedRequirements describes dedicated allocation requirements of Buffer and Image resources
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkMemoryDedicatedRequirements.html
func (*MemoryDedicatedRequirements) PopulateHeader ¶
func (*MemoryDedicatedRequirements) PopulateOutData ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.