Add option to mjspec for creating a texture directly from a buffer.
PiperOrigin-RevId: 662186527 Change-Id: I469c876681d52964ac971c0bb2ec3517224d3a3d
This commit is contained in:
committed by
Copybara-Service
parent
20cae556ee
commit
851bb6eef4
@@ -10011,6 +10011,13 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
),
|
||||
doc='different file for each side of the cube',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='data',
|
||||
type=PointerType(
|
||||
inner_type=ValueType(name='mjBuffer'),
|
||||
),
|
||||
doc='texture data',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='hflip',
|
||||
type=ValueType(name='mjtByte'),
|
||||
|
||||
Reference in New Issue
Block a user