MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / GetSize

Method GetSize

deps/LLGL/sources/Renderer/VertexAttribute.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80std::uint32_t VertexAttribute::GetSize() const
81{
82 const auto& formatAttribs = GetFormatAttribs(format);
83 if ((formatAttribs.flags & FormatFlags::SupportsVertex) != 0)
84 return (formatAttribs.bitSize / 8);
85 else
86 return 0;
87}
88
89
90LLGL_EXPORT bool operator == (const VertexAttribute& lhs, const VertexAttribute& rhs)

Callers 3

DeserializerMethod · 0.45
UpdateStrideFunction · 0.45
AppendAttributeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected