LeviLamina
Loading...
Searching...
No Matches
VertexDecl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/bgfx/attrib/Enum.h"
7#include "mc/external/bgfx/attrib_type/Enum.h"
8#include "mc/external/bgfx/renderer_type/Enum.h"
9
10namespace bgfx {
11
12struct VertexDecl {
13public:
14 // member variables
15 // NOLINTBEGIN
16 ::ll::TypedStorage<4, 4, uint> m_hash;
17 ::ll::TypedStorage<2, 2, ushort> m_stride;
18 ::ll::TypedStorage<2, 38, ushort[19]> m_offset;
19 ::ll::TypedStorage<2, 38, ushort[19]> m_attributes;
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCAPI VertexDecl();
26
27 MCAPI ::bgfx::VertexDecl&
28 add(::bgfx::Attrib::Enum _attrib, uchar _num, ::bgfx::AttribType::Enum _type, bool _normalized, bool _asInt);
29
30 MCAPI ::bgfx::VertexDecl& begin(::bgfx::RendererType::Enum _renderer);
31
32 MCAPI void decode(
33 ::bgfx::Attrib::Enum _attrib,
34 uchar& _num,
35 ::bgfx::AttribType::Enum& _type,
36 bool& _normalized,
37 bool& _asInt
38 ) const;
39
40 MCAPI void end();
41
42 MCAPI ::bgfx::VertexDecl& skip(uchar _num);
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor();
49 // NOLINTEND
50};
51
52} // namespace bgfx
Definition VertexDecl.h:7