Improves example to show how to handle showing cursor properly when disabled but leaves window.
20 lines
412 B
Plaintext
20 lines
412 B
Plaintext
name: "gui"
|
|
tags: "gui"
|
|
vertex_program: "/builtins/materials/gui.vp"
|
|
fragment_program: "/builtins/materials/gui.fp"
|
|
vertex_constants {
|
|
name: "view_proj"
|
|
type: CONSTANT_TYPE_VIEWPROJ
|
|
}
|
|
vertex_constants {
|
|
name: "world"
|
|
type: CONSTANT_TYPE_WORLD
|
|
}
|
|
samplers {
|
|
name: "texture"
|
|
wrap_u: WRAP_MODE_REPEAT
|
|
wrap_v: WRAP_MODE_REPEAT
|
|
filter_min: FILTER_MODE_MIN_LINEAR
|
|
filter_mag: FILTER_MODE_MAG_LINEAR
|
|
}
|