| Interface | Description |
|---|---|
| BasicStatementParser.GroupProvider | |
| StatementParser |
| Class | Description |
|---|---|
| BasicStatementParser | |
| BlockExtractor | |
| ExtendsParser |
"#extends shader_file"
extends can be used to re-use all code from the given shader file
name.
|
| ImportParser |
"@import [module from ] lib.slib"
This will import the 'module' from the 'lib' shader lib.
|
| ProvideParser |
"@provide type name = expr;"
@provide can only be used inside the main method of the vertex block. |
| RequestParser |
"@request type name;"
This is the counter part to the @provide statement and pulls the data from
the vertex/geometry shader!
|
| RequireParser |
"@require type name;"
This will pull information from uniforms.
|
| WriteParser |
"@write[(slot)] variable;"
This can only be used in the fragment shader and out a given variable into the
buffers.
|
| YieldParser |
"@yield[ variable];"
This declares where slib code will go.
|
| Enum | Description |
|---|---|
| BlockExtractor.Groups | |
| ProvideParser.Groups | |
| RequestParser.Groups | |
| RequireParser.Groups | |
| WriteParser.Groups | |
| YieldParser.Groups |
Copyright © 2014. All rights reserved.