Package org.lwjgl.stb
Class STBRectPack
java.lang.Object
org.lwjgl.stb.STBRectPack
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic voidnstbrp_init_target(long context, int width, int height, long nodes, int num_nodes) void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes, int num_nodes)static intnstbrp_pack_rects(long context, long rects, int num_rects) int stbrp_pack_rects(stbrp_context * context, stbrp_rect * rects, int num_rects)static voidnstbrp_setup_allow_out_of_mem(long context, int allow_out_of_mem) void stbrp_setup_allow_out_of_mem(stbrp_context * context, int allow_out_of_mem)static voidnstbrp_setup_heuristic(long context, int heuristic) void stbrp_setup_heuristic(stbrp_context * context, int heuristic)static voidstbrp_init_target(STBRPContext context, int width, int height, STBRPNode.Buffer nodes) void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes, int num_nodes)static intstbrp_pack_rects(STBRPContext context, STBRPRect.Buffer rects) int stbrp_pack_rects(stbrp_context * context, stbrp_rect * rects, int num_rects)static voidstbrp_setup_allow_out_of_mem(STBRPContext context, boolean allow_out_of_mem) void stbrp_setup_allow_out_of_mem(stbrp_context * context, int allow_out_of_mem)static voidstbrp_setup_heuristic(STBRPContext context, int heuristic) void stbrp_setup_heuristic(stbrp_context * context, int heuristic)
-
Field Details
-
STBRP__MAXVAL
public static final int STBRP__MAXVAL- See Also:
-
STBRP_HEURISTIC_Skyline_default
public static final int STBRP_HEURISTIC_Skyline_default- See Also:
-
STBRP_HEURISTIC_Skyline_BL_sortHeight
public static final int STBRP_HEURISTIC_Skyline_BL_sortHeight- See Also:
-
STBRP_HEURISTIC_Skyline_BF_sortHeight
public static final int STBRP_HEURISTIC_Skyline_BF_sortHeight- See Also:
-
-
Method Details
-
nstbrp_pack_rects
public static int nstbrp_pack_rects(long context, long rects, int num_rects) int stbrp_pack_rects(stbrp_context * context, stbrp_rect * rects, int num_rects) -
stbrp_pack_rects
int stbrp_pack_rects(stbrp_context * context, stbrp_rect * rects, int num_rects) -
nstbrp_init_target
public static void nstbrp_init_target(long context, int width, int height, long nodes, int num_nodes) void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes, int num_nodes) -
stbrp_init_target
public static void stbrp_init_target(STBRPContext context, int width, int height, STBRPNode.Buffer nodes) void stbrp_init_target(stbrp_context * context, int width, int height, stbrp_node * nodes, int num_nodes) -
nstbrp_setup_allow_out_of_mem
public static void nstbrp_setup_allow_out_of_mem(long context, int allow_out_of_mem) void stbrp_setup_allow_out_of_mem(stbrp_context * context, int allow_out_of_mem) -
stbrp_setup_allow_out_of_mem
void stbrp_setup_allow_out_of_mem(stbrp_context * context, int allow_out_of_mem) -
nstbrp_setup_heuristic
public static void nstbrp_setup_heuristic(long context, int heuristic) void stbrp_setup_heuristic(stbrp_context * context, int heuristic) -
stbrp_setup_heuristic
void stbrp_setup_heuristic(stbrp_context * context, int heuristic)
-