Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_vertex_format.h
| Show All 23 Lines | |||||
| */ | */ | ||||
| #ifndef __GPU_VERTEX_FORMAT_H__ | #ifndef __GPU_VERTEX_FORMAT_H__ | ||||
| #define __GPU_VERTEX_FORMAT_H__ | #define __GPU_VERTEX_FORMAT_H__ | ||||
| #include "GPU_common.h" | #include "GPU_common.h" | ||||
| #define GPU_VERT_ATTR_MAX_LEN 16 | #define GPU_VERT_ATTR_MAX_LEN 16 | ||||
| #define GPU_VERT_ATTR_MAX_NAMES 3 | #define GPU_VERT_ATTR_MAX_NAMES 4 | ||||
| #define GPU_VERT_ATTR_NAME_AVERAGE_LEN 11 | #define GPU_VERT_ATTR_NAME_AVERAGE_LEN 11 | ||||
| #define GPU_VERT_ATTR_NAMES_BUF_LEN ((GPU_VERT_ATTR_NAME_AVERAGE_LEN + 1) * GPU_VERT_ATTR_MAX_LEN) | #define GPU_VERT_ATTR_NAMES_BUF_LEN ((GPU_VERT_ATTR_NAME_AVERAGE_LEN + 1) * GPU_VERT_ATTR_MAX_LEN) | ||||
| typedef enum { | typedef enum { | ||||
| GPU_COMP_I8, | GPU_COMP_I8, | ||||
| GPU_COMP_U8, | GPU_COMP_U8, | ||||
| GPU_COMP_I16, | GPU_COMP_I16, | ||||
| GPU_COMP_U16, | GPU_COMP_U16, | ||||
| ▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines | |||||