vkng_surface_sdl2

package module
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 8 Imported by: 28

README

SDL2 Integration v2

go get github.com/vkngwrapper/integrations/sdl2/v2

This integration provides a small utility to create khr_surface.Surface objects from Window options created with go-sdl2. In order to use this integration, you will need to install SDL2 to your local system using the instructions here.

You can look at examples to see the most effective way to use SDL2 in your vkngwrapper application.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSurface

func CreateSurface(instance core1_0.Instance, extension khr_surface.Extension, window *sdl.Window) (khr_surface.Surface, error)

CreateSurface generates a khr_surface.Surface from an SDL2 Window

instance - The Instance that will own the new Surface

extension - A khr_surface.Extension object

window - And SDL2 Window that the new khr_surface.Surface will represent

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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