Functions
gthree_attribute_new_from_float ()
GthreeAttribute *
gthree_attribute_new_from_float (const char *name
,
float *data
,
int count
,
int item_size
);
gthree_attribute_new_from_uint16 ()
GthreeAttribute *
gthree_attribute_new_from_uint16 (const char *name
,
guint16 *data
,
int count
,
int item_size
);
gthree_attribute_new_from_uint32 ()
GthreeAttribute *
gthree_attribute_new_from_uint32 (const char *name
,
guint32 *data
,
int count
,
int item_size
);
gthree_attribute_new_with_array_interleaved ()
GthreeAttribute *
gthree_attribute_new_with_array_interleaved
(const char *name
,
GthreeAttributeArray *array
,
gboolean normalized
,
int item_size
,
int item_offset
,
int count
);
gthree_attribute_copy_at ()
void
gthree_attribute_copy_at (GthreeAttribute *attribute
,
guint index
,
GthreeAttribute *source
,
guint source_index
,
guint n_items
);
gthree_attribute_get_count ()
int
gthree_attribute_get_count (GthreeAttribute *attribute
);
gthree_attribute_get_dynamic ()
gboolean
gthree_attribute_get_dynamic (GthreeAttribute *attribute
);
gthree_attribute_get_item_offset ()
int
gthree_attribute_get_item_offset (GthreeAttribute *attribute
);
gthree_attribute_get_item_size ()
int
gthree_attribute_get_item_size (GthreeAttribute *attribute
);
gthree_attribute_get_name ()
const char *
gthree_attribute_get_name (GthreeAttribute *attribute
);
gthree_attribute_get_normalized ()
gboolean
gthree_attribute_get_normalized (GthreeAttribute *attribute
);
gthree_attribute_get_stride ()
int
gthree_attribute_get_stride (GthreeAttribute *attribute
);
gthree_attribute_get_uint ()
guint
gthree_attribute_get_uint (GthreeAttribute *attribute
,
guint index
);
gthree_attribute_get_uint16 ()
guint16
gthree_attribute_get_uint16 (GthreeAttribute *attribute
,
guint index
);
gthree_attribute_get_uint32 ()
guint32
gthree_attribute_get_uint32 (GthreeAttribute *attribute
,
guint index
);
gthree_attribute_get_uint8 ()
guint8
gthree_attribute_get_uint8 (GthreeAttribute *attribute
,
guint index
);
gthree_attribute_get_xyz ()
void
gthree_attribute_get_xyz (GthreeAttribute *attribute
,
guint index
,
float *x
,
float *y
,
float *z
);
gthree_attribute_get_xyzw ()
void
gthree_attribute_get_xyzw (GthreeAttribute *attribute
,
guint index
,
float *x
,
float *y
,
float *z
,
float *w
);
gthree_attribute_peek_double ()
double *
gthree_attribute_peek_double (GthreeAttribute *attribute
);
gthree_attribute_peek_double_at ()
double *
gthree_attribute_peek_double_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_float ()
float *
gthree_attribute_peek_float (GthreeAttribute *attribute
);
gthree_attribute_peek_float_at ()
float *
gthree_attribute_peek_float_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_int16 ()
gint16 *
gthree_attribute_peek_int16 (GthreeAttribute *attribute
);
gthree_attribute_peek_int16_at ()
gint16 *
gthree_attribute_peek_int16_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_int32 ()
gint32 *
gthree_attribute_peek_int32 (GthreeAttribute *attribute
);
gthree_attribute_peek_int32_at ()
gint32 *
gthree_attribute_peek_int32_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_int8 ()
gint8 *
gthree_attribute_peek_int8 (GthreeAttribute *attribute
);
gthree_attribute_peek_int8_at ()
gint8 *
gthree_attribute_peek_int8_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_uint16 ()
guint16 *
gthree_attribute_peek_uint16 (GthreeAttribute *attribute
);
gthree_attribute_peek_uint16_at ()
guint16 *
gthree_attribute_peek_uint16_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_uint32 ()
guint32 *
gthree_attribute_peek_uint32 (GthreeAttribute *attribute
);
gthree_attribute_peek_uint32_at ()
guint32 *
gthree_attribute_peek_uint32_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_peek_uint8 ()
guint8 *
gthree_attribute_peek_uint8 (GthreeAttribute *attribute
);
gthree_attribute_peek_uint8_at ()
guint8 *
gthree_attribute_peek_uint8_at (GthreeAttribute *attribute
,
int index
);
gthree_attribute_set_dynamic ()
void
gthree_attribute_set_dynamic (GthreeAttribute *attribute
,
gboolean dynamic
);
gthree_attribute_set_needs_update ()
void
gthree_attribute_set_needs_update (GthreeAttribute *attribute
);
gthree_attribute_set_uint ()
void
gthree_attribute_set_uint (GthreeAttribute *attribute
,
guint index
,
guint value
);
gthree_attribute_set_uint16 ()
void
gthree_attribute_set_uint16 (GthreeAttribute *attribute
,
guint index
,
gint16 value
);
gthree_attribute_set_uint32 ()
void
gthree_attribute_set_uint32 (GthreeAttribute *attribute
,
guint index
,
guint32 value
);
gthree_attribute_set_uint8 ()
void
gthree_attribute_set_uint8 (GthreeAttribute *attribute
,
guint index
,
gint8 value
);
gthree_attribute_set_w ()
void
gthree_attribute_set_w (GthreeAttribute *attribute
,
guint index
,
float w
);
gthree_attribute_set_x ()
void
gthree_attribute_set_x (GthreeAttribute *attribute
,
guint index
,
float x
);
gthree_attribute_set_xy ()
void
gthree_attribute_set_xy (GthreeAttribute *attribute
,
guint index
,
float x
,
float y
);
gthree_attribute_set_xyz ()
void
gthree_attribute_set_xyz (GthreeAttribute *attribute
,
guint index
,
float x
,
float y
,
float z
);
gthree_attribute_set_xyzw ()
void
gthree_attribute_set_xyzw (GthreeAttribute *attribute
,
guint index
,
float x
,
float y
,
float z
,
float w
);
gthree_attribute_set_y ()
void
gthree_attribute_set_y (GthreeAttribute *attribute
,
guint index
,
float y
);
gthree_attribute_set_z ()
void
gthree_attribute_set_z (GthreeAttribute *attribute
,
guint index
,
float z
);
gthree_attribute_array_new_from_float ()
GthreeAttributeArray *
gthree_attribute_array_new_from_float (float *data
,
int count
,
int item_size
);
gthree_attribute_array_new_from_uint16 ()
GthreeAttributeArray *
gthree_attribute_array_new_from_uint16
(guint16 *data
,
int count
,
int item_size
);
gthree_attribute_array_new_from_uint32 ()
GthreeAttributeArray *
gthree_attribute_array_new_from_uint32
(guint32 *data
,
int count
,
int item_size
);
gthree_attribute_array_copy_at ()
void
gthree_attribute_array_copy_at (GthreeAttributeArray *array
,
guint index
,
guint offset
,
GthreeAttributeArray *source
,
guint source_index
,
guint source_offset
,
guint n_elements
,
guint n_items
);
gthree_attribute_array_copy_float ()
void
gthree_attribute_array_copy_float (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float *source
,
guint source_stride
,
guint n_elements
,
guint n_items
);
gthree_attribute_array_copy_uint16 ()
void
gthree_attribute_array_copy_uint16 (GthreeAttributeArray *array
,
guint index
,
guint offset
,
guint16 *source
,
guint source_stride
,
guint n_elements
,
guint n_items
);
gthree_attribute_array_copy_uint32 ()
void
gthree_attribute_array_copy_uint32 (GthreeAttributeArray *array
,
guint index
,
guint offset
,
guint32 *source
,
guint source_stride
,
guint n_elements
,
guint n_items
);
gthree_attribute_array_get_count ()
int
gthree_attribute_array_get_count (GthreeAttributeArray *array
);
gthree_attribute_array_get_elements_as_float ()
void
gthree_attribute_array_get_elements_as_float
(GthreeAttributeArray *array
,
guint index
,
guint offset
,
float *dest
,
guint n_elements
);
gthree_attribute_array_get_float_at ()
float
gthree_attribute_array_get_float_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_get_stride ()
int
gthree_attribute_array_get_stride (GthreeAttributeArray *array
);
gthree_attribute_array_get_uint ()
guint
gthree_attribute_array_get_uint (GthreeAttributeArray *array
,
guint index
,
guint offset
);
gthree_attribute_array_get_uint16 ()
guint16
gthree_attribute_array_get_uint16 (GthreeAttributeArray *array
,
guint index
,
guint offset
);
gthree_attribute_array_get_uint32 ()
guint32
gthree_attribute_array_get_uint32 (GthreeAttributeArray *array
,
guint index
,
guint offset
);
gthree_attribute_array_get_uint8 ()
guint8
gthree_attribute_array_get_uint8 (GthreeAttributeArray *array
,
guint index
,
guint offset
);
gthree_attribute_array_get_xyz ()
void
gthree_attribute_array_get_xyz (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float *x
,
float *y
,
float *z
);
gthree_attribute_array_get_xyzw ()
void
gthree_attribute_array_get_xyzw (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float *x
,
float *y
,
float *z
,
float *w
);
gthree_attribute_array_peek_double ()
double *
gthree_attribute_array_peek_double (GthreeAttributeArray *array
);
gthree_attribute_array_peek_double_at ()
double *
gthree_attribute_array_peek_double_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_float ()
float *
gthree_attribute_array_peek_float (GthreeAttributeArray *array
);
gthree_attribute_array_peek_float_at ()
float *
gthree_attribute_array_peek_float_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_int16 ()
gint16 *
gthree_attribute_array_peek_int16 (GthreeAttributeArray *array
);
gthree_attribute_array_peek_int16_at ()
gint16 *
gthree_attribute_array_peek_int16_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_int32 ()
gint32 *
gthree_attribute_array_peek_int32 (GthreeAttributeArray *array
);
gthree_attribute_array_peek_int32_at ()
gint32 *
gthree_attribute_array_peek_int32_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_int8 ()
gint8 *
gthree_attribute_array_peek_int8 (GthreeAttributeArray *array
);
gthree_attribute_array_peek_int8_at ()
gint8 *
gthree_attribute_array_peek_int8_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_uint16 ()
guint16 *
gthree_attribute_array_peek_uint16 (GthreeAttributeArray *array
);
gthree_attribute_array_peek_uint16_at ()
guint16 *
gthree_attribute_array_peek_uint16_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_uint32 ()
guint32 *
gthree_attribute_array_peek_uint32 (GthreeAttributeArray *array
);
gthree_attribute_array_peek_uint32_at ()
guint32 *
gthree_attribute_array_peek_uint32_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_peek_uint8 ()
guint8 *
gthree_attribute_array_peek_uint8 (GthreeAttributeArray *array
);
gthree_attribute_array_peek_uint8_at ()
guint8 *
gthree_attribute_array_peek_uint8_at (GthreeAttributeArray *array
,
int index
,
int offset
);
gthree_attribute_array_reshape ()
GthreeAttributeArray *
gthree_attribute_array_reshape (GthreeAttributeArray *array
,
guint index
,
guint offset
,
guint count
,
guint item_size
,
gboolean share_if_possible
);
gthree_attribute_array_set_elements_from_float ()
void
gthree_attribute_array_set_elements_from_float
(GthreeAttributeArray *array
,
guint index
,
guint offset
,
float *src
,
guint n_elements
);
gthree_attribute_array_set_uint ()
void
gthree_attribute_array_set_uint (GthreeAttributeArray *array
,
guint index
,
guint offset
,
guint value
);
gthree_attribute_array_set_uint16 ()
void
gthree_attribute_array_set_uint16 (GthreeAttributeArray *array
,
guint index
,
guint offset
,
gint16 value
);
gthree_attribute_array_set_uint32 ()
void
gthree_attribute_array_set_uint32 (GthreeAttributeArray *array
,
guint index
,
guint offset
,
guint32 value
);
gthree_attribute_array_set_uint8 ()
void
gthree_attribute_array_set_uint8 (GthreeAttributeArray *array
,
guint index
,
guint offset
,
gint8 value
);
gthree_attribute_array_set_w ()
void
gthree_attribute_array_set_w (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float w
);
gthree_attribute_array_set_x ()
void
gthree_attribute_array_set_x (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float x
);
gthree_attribute_array_set_xy ()
void
gthree_attribute_array_set_xy (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float x
,
float y
);
gthree_attribute_array_set_xyz ()
void
gthree_attribute_array_set_xyz (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float x
,
float y
,
float z
);
gthree_attribute_array_set_xyzw ()
void
gthree_attribute_array_set_xyzw (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float x
,
float y
,
float z
,
float w
);
gthree_attribute_array_set_y ()
void
gthree_attribute_array_set_y (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float y
);
gthree_attribute_array_set_z ()
void
gthree_attribute_array_set_z (GthreeAttributeArray *array
,
guint index
,
guint offset
,
float z
);