Skip to content

Instantly share code, notes, and snippets.

@loganwm
Created March 13, 2013 08:59
Show Gist options
  • Save loganwm/5150381 to your computer and use it in GitHub Desktop.
Save loganwm/5150381 to your computer and use it in GitHub Desktop.
basic engine asset format markup
<Texture2D name="optional name" description="optional description">
<ImageData encoding="base64" format="rgba" bpp="8">
[base64 encoded data here]
</ImageData>
<TextureAttribute>blah blah blah filtering modes and shit</TextureAttribute>
</Texture2D>
<Asset name="optional name" description="optional description">
<AssetAttribute>some shit</AssetAttribute>
<Texture2D src="file containing texture xml decl"/>
<StaticMesh></StaticMesh>
</Asset>
<Asset name="optional name" description="optional description">
<AssetAttribute>some shit</AssetAttribute>
<Shader></Shader>
<Texture2D name="optional name" description="optional description">
<ImageData encoding="base64" format="rgba" bpp="8">
[base64 encoded data here]
</ImageData>
<TextureAttribute>blah blah blah filtering modes and shit</TextureAttribute>
</Texture2D>
<StaticMesh></StaticMesh>
</Asset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment