rpr_mesh_info

Usage

Corresponds to data set by rprContextCreateMesh.

Possible Values

Name

Value

Brief Explanation

RPR_MESH_POLYGON_COUNT

0x501

Number of polygons.

RPR_MESH_VERTEX_COUNT

0x502

Number of vertices. Polygons can share vertices.

RPR_MESH_NORMAL_COUNT

0x503

Number of normal values.

RPR_MESH_UV_COUNT

0x504

Number of UV values.

RPR_MESH_VERTEX_ARRAY

0x505

Array of vertices.

RPR_MESH_NORMAL_ARRAY

0x506

Array of normal values.

RPR_MESH_UV_ARRAY

0x507

Array of UV values.

RPR_MESH_VERTEX_INDEX_ARRAY

0x508

Array of indices referencing vertices.

RPR_MESH_NORMAL_INDEX_ARRAY

0x509

Array of indices referencing normal values.

RPR_MESH_UV_INDEX_ARRAY

0x50A

Array of indices referencing UV values.

RPR_MESH_VERTEX_STRIDE

0x50C

Bytes for each vertex value.

RPR_MESH_NORMAL_STRIDE

0x50D

Bytes for each normal value.

RPR_MESH_UV_STRIDE

0x50E

Bytes for each UV value.

RPR_MESH_VERTEX_INDEX_STRIDE

0x50F

Bytes for each vertex index.

RPR_MESH_NORMAL_INDEX_STRIDE

0x510

Bytes for each normal index.

RPR_MESH_UV_INDEX_STRIDE

0x511

Bytes for each UV index.

RPR_MESH_NUM_FACE_VERTICES_ARRAY

0x512

Array of values for number of vertices in each polygon.

RPR_MESH_UV2_COUNT

0x513

Second UV number of values.

RPR_MESH_UV2_ARRAY

0x514

Second UV array.

RPR_MESH_UV2_INDEX_ARRAY

0x515

Second UV index array.

RPR_MESH_UV2_STRIDE

0x516

Second UV byte size.

RPR_MESH_UV2_INDEX_STRIDE

0x517

Second UV index stride.

RPR_MESH_UV_DIM

0x518

UV dimension.

RPR_MESH_MOTION_DIMENSION

0x519

Number of motion samples.

RPR_MESH_VOLUME_FLAG

0x51A

Unsigned int. Should have value 0 or 1. Specify that the shape is a volume. This flag must be set at the creation time of the shape (rprContextCreateMeshEx2) using the rpr_mesh_info argument.