Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript___init_d3d

(view raw script w/o annotations or w/e)
1
function __init_d3d() //gml_Script___init_d3d
2
{
3
    global.__d3d = false
4
    global.__d3dDepth = 0
5
    global.__d3dCamera = camera_create()
6
    global.__d3dPrimKind = -1
7
    global.__d3dPrimTex = -1
8
    global.__d3dPrimBuffer = vertex_create_buffer()
9
    vertex_format_begin()
10
    vertex_format_add_position_3d()
11
    vertex_format_add_normal()
12
    vertex_format_add_colour()
13
    vertex_format_add_texcoord()
14
    global.__d3dPrimVF = vertex_format_end()
15
    global.__d3dDeprecatedMessage = [false]
16
}