void atlas_destroy(context &ctx, atlas_handle atlas)
Hủy atlas: giải phóng các trang.
atlas_handle atlas_create(context &ctx, const atlas_desc &desc={})
Tạo một atlas: nơi ghép nhiều ảnh nhỏ vào một texture lớn.
texture_filter
Cách lấy mẫu khi texture bị co giãn.
Definition njin_draw.h:197
texture_handle atlas_load(context &ctx, atlas_handle atlas, const char *path)
Nạp một file ảnh và xếp vào atlas.
@ filter_linear
Làm mượt.
Definition njin_draw.h:199
Định danh của một texture, tạo bởi texture_load().
Definition _types.h:146