diff options
Diffstat (limited to 'source/blender/gpu/GPU_vertex_format.h')
-rw-r--r-- | source/blender/gpu/GPU_vertex_format.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_vertex_format.h b/source/blender/gpu/GPU_vertex_format.h index 021def5b265..7f1934431cf 100644 --- a/source/blender/gpu/GPU_vertex_format.h +++ b/source/blender/gpu/GPU_vertex_format.h @@ -91,12 +91,13 @@ void GPU_vertformat_alias_add(GPUVertFormat *, const char *alias); int GPU_vertformat_attr_id_get(const GPUVertFormat *, const char *name); /** - * This makes the "virtual" attributes with suffixes "0", "1", "2" to access triangle data in the vertex - * shader. + * This makes the "virtual" attributes with suffixes "0", "1", "2" + * to access triangle data in the vertex shader. * * IMPORTANT: * - Call this before creating the vertex buffer and after creating all attributes - * - Only first vertex out of 3 has the correct information. Use flat output with GL_FIRST_VERTEX_CONVENTION. + * - Only first vertex out of 3 has the correct information. + * Use flat output with #GL_FIRST_VERTEX_CONVENTION. */ void GPU_vertformat_triple_load(GPUVertFormat *format); |