Skip to content
This repository has been archived by the owner on Mar 9, 2018. It is now read-only.
/ python-slabparser Public archive

Parse metadata from Unity3D shaderlab files

License

Notifications You must be signed in to change notification settings

andburn/python-slabparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived This project has been archived. Unity 5.6 or newer files no longer have this text based format.


SlabParser

A python module to parse the metadata from Unity3D shaderlab text files.

Usage

Use the shaderlab.parse() method to create an shaderlab.Shader object containing the shader meta data.

import shaderlab

with open(file, "r") as f:
    data = f.read()

slab = shaderlab.parse(data)

Requirements

  • Python 3.x
  • ply package

About

Parse metadata from Unity3D shaderlab files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published