Allow multiple textures per material in MJCF.
PiperOrigin-RevId: 654795013 Change-Id: I418b72533484d00accaf801a342aa183e602a2d0
This commit is contained in:
committed by
Copybara-Service
parent
e79efa60d6
commit
33e5960653
@@ -9969,6 +9969,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
type=ValueType(name='int'),
|
||||
doc='width in pixels',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nchannel',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of channels',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='content_type',
|
||||
type=PointerType(
|
||||
@@ -10045,11 +10050,11 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
doc='name',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='texture',
|
||||
name='textures',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjString'),
|
||||
inner_type=ValueType(name='mjStringVec'),
|
||||
),
|
||||
doc='name of texture (empty: none)',
|
||||
doc='names of textures (empty: none)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='texuniform',
|
||||
|
||||
Reference in New Issue
Block a user