nngn
|
Functions | |
function | set_limits (n) |
function | read_buffer (b, v) |
function | read_image (i, v) |
function | create_image (f) |
function | create_sprite (name, pos, data) |
function | init_images (fs, textures) |
function | set_fn (f) |
function | update (fs, textures) |
Variables | |
entity< const > = require "nngn.lib.entity" | |
input< const > = require "nngn.lib.input" | |
common< const > = require "demos.cl.common" | |
IMG_SIZE< const > = 512 | |
IMG_PIXELS< const > = IMG_SIZE * IMG_SIZE | |
IMG_BYTES< const > = 4 * IMG_PIXELS | |
IMG_SIZE = IMG_SIZE | |
IMG_PIXELS = IMG_PIXELS | |
IMG_BYTES = IMG_BYTES | |
set_limits = set_limits | |
init = init | |
read_buffer = read_buffer | |
read_image = read_image | |
create_buffer = create_buffer | |
create_image = create_image | |
create_sprite = create_sprite | |
init_images = init_images | |
set_fn = set_fn | |
update = update | |
function create_image | ( | f | ) |
function init_images | ( | fs | , |
textures | |||
) |
function read_buffer | ( | b | , |
v | |||
) |
function set_fn | ( | f | ) |
function set_limits | ( | n | ) |
function update | ( | fs | , |
textures | |||
) |
common< const > = require "demos.cl.common" |
function create_buffer = create_buffer |
create_image = create_image |
create_sprite = create_sprite |
entity< const > = require "nngn.lib.entity" |
IMG_BYTES = IMG_BYTES |
IMG_BYTES< const > = 4 * IMG_PIXELS |
IMG_PIXELS = IMG_PIXELS |
IMG_PIXELS< const > = IMG_SIZE * IMG_SIZE |
IMG_SIZE = IMG_SIZE |
IMG_SIZE< const > = 512 |
function init = init |
init_images = init_images |
input< const > = require "nngn.lib.input" |
read_buffer = read_buffer |
read_image = read_image |
set_fn = set_fn |
set_limits = set_limits |
update = update |