The stick2xyz Documentation 1.14.1
pane2d_vertex_elm_v2 Struct Reference

#include <stick2xyz.h>

Data Fields

uint32_t vertex_type
 
stick2xyz_ptchar vertex_str
 
int vertex_params [STICK2XYZ_MAXBUFPARAMS]
 
uint64_t vertex_texture_no
 
pane2d_texture_handle vertex_texture
 

Detailed Description

This structure is the vertex element (item) structure for the mod_pane2d_vertex_get function. This is the second version that has space for a texture entry number.

Definition at line 713 of file stick2xyz.h.

Field Documentation

◆ vertex_params

int vertex_params[STICK2XYZ_MAXBUFPARAMS]

These are the integer parameters you are to fill in accordance with the outlined commands in The Basic Text File Format.

Definition at line 737 of file stick2xyz.h.

◆ vertex_str

stick2xyz_ptchar vertex_str

This is the input string, allocated by the program. The program will free it for you. Fill it with the string parameter if required by the vertex item.

Warning
The length of this buffer will be exactly STICK2XYZ_MAXBUFLEN bytes. Be careful not to overrun the buffer.

Definition at line 730 of file stick2xyz.h.

◆ vertex_texture

pane2d_texture_handle vertex_texture

This contains the handle to the texture element.

Definition at line 747 of file stick2xyz.h.

◆ vertex_texture_no

uint64_t vertex_texture_no

This is the unique texture element number.

Definition at line 742 of file stick2xyz.h.

◆ vertex_type

uint32_t vertex_type

This is the vertex item type variable. Fill it with the appropriate vertex item type.

Definition at line 719 of file stick2xyz.h.


The documentation for this struct was generated from the following file:

SourceForge.net Logo  stick2xyz Project Page