diff options
Diffstat (limited to 'source/blender/draw/intern/draw_subdivision.h')
-rw-r--r-- | source/blender/draw/intern/draw_subdivision.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_subdivision.h b/source/blender/draw/intern/draw_subdivision.h index e5f64a99092..267a98f2d37 100644 --- a/source/blender/draw/intern/draw_subdivision.h +++ b/source/blender/draw/intern/draw_subdivision.h @@ -13,6 +13,7 @@ struct BMesh; struct GPUIndexBuf; struct GPUUniformBuf; struct GPUVertBuf; +struct GPUVertFormat; struct Mesh; struct MeshBatchCache; struct MeshBufferCache; @@ -284,6 +285,10 @@ void draw_subdiv_build_edituv_stretch_angle_buffer(const DRWSubdivCache *cache, int uvs_offset, struct GPUVertBuf *stretch_angles); +/** Return the format used for the positions and normals VBO. + */ +struct GPUVertFormat *draw_subdiv_get_pos_nor_format(); + #ifdef __cplusplus } #endif |