Format header to conform to style guide.
Also moves some types to the mjrender.h header. PiperOrigin-RevId: 929189125 Change-Id: I19e5598210898c0defb663c60d7ecfb9a19bcd38
This commit is contained in:
committed by
Copybara-Service
parent
991c131d59
commit
e6e5229126
@@ -10840,6 +10840,30 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjrVertexAttribute',
|
||||
StructDecl(
|
||||
name='mjrVertexAttribute',
|
||||
declname='struct mjrVertexAttribute_',
|
||||
fields=(
|
||||
StructFieldDecl(
|
||||
name='bytes',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='void', is_const=True),
|
||||
),
|
||||
doc='vertex data',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='usage',
|
||||
type=ValueType(name='int'),
|
||||
doc='mjrVertexAttributeUsage; e.g. position, normal, etc.',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='type',
|
||||
type=ValueType(name='int'),
|
||||
doc='mjrVertexAttributeType; e.g. float3, ubyte4, etc.',
|
||||
),
|
||||
),
|
||||
)),
|
||||
('mjrContext',
|
||||
StructDecl(
|
||||
name='mjrContext',
|
||||
|
||||
Reference in New Issue
Block a user