Cargo Features

[dependencies]
rogl = { version = "0.2.1", default-features = false, features = ["linked", "loaded", "debug", "gl10", "gl11", "gl12", "gl13", "gl14", "gl15", "gl20", "gl21", "gl30", "gl31", "gl32", "gl33", "gl40", "gl41", "gl42", "gl43", "gl44", "gl45", "gl46", "gles10", "gles20", "gles30", "gles31", "gles32"] }
default = debug, loaded

These default features are set whenever rogl is added without default-features = false somewhere in the dependency tree.

linked

Link the Vulkan loader at compile time.

loaded default = libloading

Support searching for the Vulkan loader manually at runtime.

debug default
gl10

Affects gl::gl10

gl11

Affects gl::gl11

gl12

Affects gl::gl12

gl13

Affects gl::gl13

gl14

Affects gl::gl14

gl15

Affects gl::gl15

gl20

Affects gl::gl20

gl21

Affects gl::gl21

gl30

Affects gl::gl30

gl31

Affects gl::gl31

gl32

Affects gl::gl32

gl33

Affects gl::gl33

gl40

Affects gl::gl40

gl41

Affects gl::gl41

gl42

Affects gl::gl42

gl43

Affects gl::gl43

gl44

Affects gl::gl44

gl45

Affects gl::gl45

gl46

Affects gl::gl46

gles10

Affects gles::gles10

gles20

Affects gles::gles20

gles30

Affects gles::gles30

gles31

Affects gles::gles31

gles32

Affects gles::gles32

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

libloading loaded

Enables libloading ^0.7