Skip to main content

Types


sky-circle-data

sky-circle-data: structuresource
Fields
data: vector

sky-color-day

sky-color-day: structuresource
Fields
hour: sky-color-hour

sky-color-hour

sky-color-hour: structuresource
Fields
snapshot1: int32
snapshot2: int32
morph-start: float
morph-end: float

sky-moon-data

sky-moon-data: structuresource
Fields
data: uint128
pos: vector
scale: vector

sky-orbit

sky-orbit: structuresource
Fields
high-noon: float
tilt: float
rise: float
dist: float
min-halo: float
max-halo: float

sky-parms

sky-parms: basicsource
Fields
type: type
orbit: sky-orbit
upload-data: sky-upload-data
sun-lights: light-group
moon-lights: light-group
default-lights: light-group
default-vu-lights: vu-lights

sky-sun-data

sky-sun-data: structuresource
Fields
data: uint128
pos: vector
r-sun: float
r-halo: float
r-aurora: float
c-sun-start: rgba
c-sun-end: rgba
c-halo-start: rgba
c-halo-end: rgba
c-aurora-start: rgba
c-aurora-end: rgba

sky-tng-data

sky-tng-data: basicsource
Fields
type: type
giftag-base: gs-gif-tag
giftag-roof: gs-gif-tag
giftag-ocean: gs-gif-tag
fog: vector
sky: uint32
time: float
off-s-0: uint16
off-t-0: uint16
off-s-1: uint16
off-t-1: uint16

sky-upload-data

sky-upload-data: basicsource
Fields
type: type
circle: sky-circle-data
sun: sky-sun-data
moon: sky-moon-data
data: uint128

sky-vertex

sky-vertex: structuresource
Fields
pos: vector
stq: vector
col: vector

sky-work

sky-work: structuresource
Fields
adgif-tmpl: dma-gif-packet
draw-tmpl: dma-gif-packet
blend-tmpl: dma-gif-packet
sky-data: qword
cloud-data: qword

Variables


*cloud-drawn*

*cloud-drawn*: symbolsource

*sky-drawn*

*sky-drawn*: symbolsource

*sky-parms*

*sky-parms*: sky-parmssource

*sky-upload-data*

*sky-upload-data*: sky-upload-datasource

sky-tng

source

Functions


close-sky-buffer

close-sky-buffer(arg0: dma-buffer) => nonesource

copy-cloud-texture

copy-cloud-texture(arg0: dma-buffer, arg1: adgif-shader, arg2: float) => nonesource

copy-sky-texture

copy-sky-texture(arg0: dma-buffer, arg1: adgif-shader, arg2: float) => nonesource

init-sky-tng-data

init-sky-tng-data(arg0: sky-tng-data) => nonesource
Set up giftags and constants in a sky-tng data

make-sky-textures

make-sky-textures(arg0: time-of-day-context, arg1: int) => nonesource

render-sky-tng

render-sky-tng(arg0: time-of-day-context) => nonesource

sky-tng-setup-cloud-layer

sky-tng-setup-cloud-layer(arg0: float, arg1: float, arg2: vector, arg3: inline-array) => nonesource

sky-tng-setup-clouds

sky-tng-setup-clouds() => nonesource

update-sky-tng-data

update-sky-tng-data(arg0: float) => nonesource

Variables


*sky-tng-data*

*sky-tng-data*: sky-tng-datasource

*sky-work*

*sky-work*: sky-worksource

sky-base-polygons

sky-base-polygons: inline-arraysource

sky-cloud-polygon-indices

const sky-cloud-polygon-indices: pointersource

sky-cloud-polygons

const sky-cloud-polygons: inline-arraysource

sky-roof-polygons

const sky-roof-polygons: inline-arraysource

sky-utils

source

Functions


sky-set-orbit

sky-set-orbit(arg0: sky-parms, arg1: int, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) => symbolsource

sky-set-sun-colors

sky-set-sun-colors(arg0: sky-parms, arg1: int, arg2: rgba, arg3: rgba, arg4: rgba, arg5: rgba) => symbolsource

sky-set-sun-colors-aurora

sky-set-sun-colors-aurora(arg0: sky-parms, arg1: int, arg2: rgba, arg3: rgba) => symbolsource

sky-set-sun-colors-halo

sky-set-sun-colors-halo(arg0: sky-parms, arg1: int, arg2: rgba, arg3: rgba) => symbolsource

sky-set-sun-colors-sun

sky-set-sun-colors-sun(arg0: sky-parms, arg1: int, arg2: rgba, arg3: rgba) => symbolsource

sky-set-sun-radii

sky-set-sun-radii(arg0: sky-parms, arg1: int, arg2: float, arg3: float, arg4: float) => symbolsource

Types


sky-frame-data

sky-frame-data: structuresource
Fields
data: uint128
world-homo-matrix: matrix
hmge-scale: vector
hvdf-offset: vector
consts: vector
pfog0: float
radius: float
nokick: float
strip-giftag: qword
col-adgif: qword
save: uint128
sun-fan-giftag: qword
sun-strip-giftag: qword
sun-alpha: qword
sun-alpha-giftag: qword

Functions


sky-make-light

sky-make-light(arg0: sky-parms, arg1: light, arg2: int, arg3: rgba) => nonesource

sky-make-moon-data

sky-make-moon-data(arg0: sky-parms, arg1: float) => nonesource
Make moon data for moon at arg1 time

sky-make-sun-data

sky-make-sun-data(arg0: sky-parms, arg1: int, arg2: float) => nonesource
Make sun data for the arg1th sun at arg2 time

Variables


sky-vu1-block

const sky-vu1-block: vu-functionsource