From 564d37c4b67af534b6c12d2bebbd7883c3d3817c Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 5 Oct 2018 15:10:56 +0200 Subject: Python API: new GPUVertFormat constructor and vbo.fill_attribute method Reviewer: fclem Differential Revision: https://developer.blender.org/D3760 --- source/blender/gpu/GPU_vertex_format.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_vertex_format.h') diff --git a/source/blender/gpu/GPU_vertex_format.h b/source/blender/gpu/GPU_vertex_format.h index 7e0038e3473..5e7e036bf41 100644 --- a/source/blender/gpu/GPU_vertex_format.h +++ b/source/blender/gpu/GPU_vertex_format.h @@ -87,6 +87,7 @@ uint GPU_vertformat_attr_add( GPUVertFormat *, const char *name, GPUVertCompType, uint comp_len, GPUVertFetchMode); void GPU_vertformat_alias_add(GPUVertFormat *, const char *alias); +int GPU_vertformat_attr_id_get(const GPUVertFormat *, const char *name); /* format conversion */ -- cgit v1.2.3