diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 23:46:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-29 00:32:25 +0300 |
commit | 68cab3aff63aea95830aa082a160200768d0e826 (patch) | |
tree | 3a042217ce34d84387cdfcca97316597800396db /source/blender/gpu/GPU_attr_binding.h | |
parent | a9c297165878b3c427a20f787cc90a6ada4df253 (diff) |
Cleanup: replace attrib w/ attr
Also rename GPUVertexAttribs to GPUVertAttrLayers,
avoids confusion with GPUVertAttr which isn't closely related.
Diffstat (limited to 'source/blender/gpu/GPU_attr_binding.h')
-rw-r--r-- | source/blender/gpu/GPU_attr_binding.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_attr_binding.h b/source/blender/gpu/GPU_attr_binding.h index 186acacb71d..0364e8cf3cf 100644 --- a/source/blender/gpu/GPU_attr_binding.h +++ b/source/blender/gpu/GPU_attr_binding.h @@ -35,8 +35,10 @@ #include "GPU_common.h" typedef struct GPUAttrBinding { - uint64_t loc_bits; /* store 4 bits for each of the 16 attribs */ - uint16_t enabled_bits; /* 1 bit for each attrib */ + /** Store 4 bits for each of the 16 attributes. */ + uint64_t loc_bits; + /** 1 bit for each attribute. */ + uint16_t enabled_bits; } GPUAttrBinding; #endif /* __GPU_ATTR_BINDING_H__ */ |