Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shim ¶
type Shim interface { // EnumeratePhysicalDeviceGroups enumerates groups of PhysicalDevice objects that can be used to // create a single logical Device // // outDataFactory - This method can be provided to allocate each PhysicalDeviceGroupProperties object // that is returned, along with any chained OutData structures. It can also be left nil, in which case // PhysicalDeviceGroupProperties will be allocated with no chained structures. // // https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/vkEnumeratePhysicalDeviceGroups.html EnumeratePhysicalDeviceGroups(outDataFactory func() *core1_1.PhysicalDeviceGroupProperties) ([]*core1_1.PhysicalDeviceGroupProperties, common.VkResult, error) }
Shim contains all the commands for the khr_device_group_creation extension
type VulkanShim ¶
type VulkanShim struct {
// contains filtered or unexported fields
}
func NewShim ¶
func NewShim(extension khr_device_group_creation.Extension, instance core1_0.Instance) *VulkanShim
func (*VulkanShim) EnumeratePhysicalDeviceGroups ¶
func (s *VulkanShim) EnumeratePhysicalDeviceGroups(outDataFactory func() *core1_1.PhysicalDeviceGroupProperties) ([]*core1_1.PhysicalDeviceGroupProperties, common.VkResult, error)
Click to show internal directories.
Click to hide internal directories.