A raster texture which is applied to a surface. Should generally be avoided as they're fixed size.
|
| RasterSurfaceTexture (Texture2D image) |
| Creates a raster surface texture with the given image. More...
|
|
| SurfaceTexture () |
|
void | Load (byte[] data) |
|
void | LoadProperties (TextureReader reader) |
| Loads the set of properties from the given reader. More...
|
|
void | Set (string property, Texture value) |
| Convenience function. It also helps to cache the original property value and straight edit that. More...
|
|
void | Set (string property, Color value) |
| Convenience function. It also helps to cache the original property value and straight edit that. More...
|
|
void | Set (string property, float value) |
| Convenience function. It also helps to cache the original property value and straight edit that. More...
|
|
TextureNode | getElementByInstanceId (int layerID) |
|
Texture2D | DrawAlbedo (int size) |
| Renders as a static image (albedo only, not HDR). Please don't spam me! It creates a texture and draw meta, so.. More...
|
|
Texture | ForceDraw (DrawInfo settings) |
| Always draws even if properties haven't changed. Typically responds with a RenderTexture but it depends on your tree (i.e. if your tree is just a constant, then you'll actually get a Texture2D back). More...
|
|
Texture | Draw (DrawInfo settings) |
| The fastest of all the drawing approaches. Typically responds with a RenderTexture but it depends on your tree (i.e. if your tree is just a constant, then you'll actually get a Texture2D back). More...
|
|
Texture2D | DrawAlbedo (int size, bool hdr) |
| Renders as a static image (albedo only, optionally HDR). Please don't spam me! It allocates a texture, draw meta and probably a pixel buffer. More...
|
|
void | CreateMap () |
| Builds or rebuilds the property map. More...
|
|
void | RemoveProperty (string property) |
| Removes the given property by its nice name. More...
|
|
void | SetProperty (string property, Values.PropertyValue value) |
| Sets the named property. More...
|
|
SurfaceProperty | GetProperty (string property, bool create) |
| Gets the named property by nice name, optionally creating it. More...
|
|