Documentation ¶
Index ¶
- type Loader
- type VulkanLoader
- func (l *VulkanLoader) APIVersion() common.APIVersion
- func (l *VulkanLoader) AvailableExtensions() (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
- func (l *VulkanLoader) AvailableExtensionsForLayer(layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
- func (l *VulkanLoader) AvailableLayers() (map[string]*core1_0.LayerProperties, common.VkResult, error)
- func (l *VulkanLoader) CreateInstance(allocationCallbacks *driver.AllocationCallbacks, ...) (core1_0.Instance, common.VkResult, error)
- func (l *VulkanLoader) Driver() driver.Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader interface { Driver() driver.Driver APIVersion() common.APIVersion AvailableExtensions() (map[string]*core1_0.ExtensionProperties, common.VkResult, error) AvailableExtensionsForLayer(layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error) AvailableLayers() (map[string]*core1_0.LayerProperties, common.VkResult, error) CreateInstance(allocationCallbacks *driver.AllocationCallbacks, options core1_0.InstanceCreateInfo) (core1_0.Instance, common.VkResult, error) }
type VulkanLoader ¶
type VulkanLoader struct {
// contains filtered or unexported fields
}
func CreateLoaderFromDriver ¶
func CreateLoaderFromDriver(driver driver.Driver) (*VulkanLoader, error)
func CreateLoaderFromProcAddr ¶
func CreateLoaderFromProcAddr(addr unsafe.Pointer) (*VulkanLoader, error)
func CreateStaticLinkedLoader ¶
func CreateStaticLinkedLoader() (*VulkanLoader, error)
func NewLoader ¶
func NewLoader( driver driver.Driver, ) *VulkanLoader
func (*VulkanLoader) APIVersion ¶
func (l *VulkanLoader) APIVersion() common.APIVersion
func (*VulkanLoader) AvailableExtensions ¶
func (l *VulkanLoader) AvailableExtensions() (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
func (*VulkanLoader) AvailableExtensionsForLayer ¶
func (l *VulkanLoader) AvailableExtensionsForLayer(layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
func (*VulkanLoader) AvailableLayers ¶
func (l *VulkanLoader) AvailableLayers() (map[string]*core1_0.LayerProperties, common.VkResult, error)
func (*VulkanLoader) CreateInstance ¶
func (l *VulkanLoader) CreateInstance(allocationCallbacks *driver.AllocationCallbacks, options core1_0.InstanceCreateInfo) (core1_0.Instance, common.VkResult, error)
func (*VulkanLoader) Driver ¶
func (l *VulkanLoader) Driver() driver.Driver
Click to show internal directories.
Click to hide internal directories.