Class ImageRenderer
Inheritance
ImageRenderer
Assembly: JeremyAnsel.LibNoiseShader.dll
Syntax
public sealed class ImageRenderer : RendererBase, IRenderer
Constructors
|
Edit this page
View Source
ImageRenderer(IBuilder?)
Declaration
public ImageRenderer(IBuilder? builder)
Parameters
|
Edit this page
View Source
ImageRenderer(IBuilder?, bool)
Declaration
public ImageRenderer(IBuilder? builder, bool isWrapEnabled)
Parameters
|
Edit this page
View Source
ImageRenderer(IBuilder?, bool, bool)
Declaration
public ImageRenderer(IBuilder? builder, bool isWrapEnabled, bool isLightEnabled)
Parameters
|
Edit this page
View Source
ImageRenderer(IBuilder?, bool, float, float, Color, float, float, float)
Declaration
public ImageRenderer(IBuilder? builder, bool isWrapEnabled, float lightAzimuth, float lightBrightness, Color lightColor, float lightContrast, float lightElevation, float lightIntensity)
Parameters
Properties
|
Edit this page
View Source
IsLightEnabled
Declaration
public bool IsLightEnabled { get; set; }
Property Value
|
Edit this page
View Source
IsWrapEnabled
Declaration
public bool IsWrapEnabled { get; set; }
Property Value
|
Edit this page
View Source
LightAzimuth
Declaration
public float LightAzimuth { get; set; }
Property Value
|
Edit this page
View Source
LightBrightness
Declaration
public float LightBrightness { get; set; }
Property Value
|
Edit this page
View Source
LightColor
Declaration
public Color LightColor { get; set; }
Property Value
|
Edit this page
View Source
LightContrast
Declaration
public float LightContrast { get; set; }
Property Value
|
Edit this page
View Source
LightElevation
Declaration
public float LightElevation { get; set; }
Property Value
|
Edit this page
View Source
LightIntensity
Declaration
public float LightIntensity { get; set; }
Property Value
|
Edit this page
View Source
RequiredSourceRendererCount
Declaration
public override int RequiredSourceRendererCount { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
AddGradientPoint(float, Color)
Declaration
public void AddGradientPoint(float position, Color color)
Parameters
|
Edit this page
View Source
BuildGrayscaleGradient()
Declaration
public void BuildGrayscaleGradient()
|
Edit this page
View Source
BuildTerrainGradient()
Declaration
public void BuildTerrainGradient()
|
Edit this page
View Source
ClearGradient()
Declaration
public void ClearGradient()
|
Edit this page
View Source
GenerateModuleContext(CSharpContext?)
Declaration
public override void GenerateModuleContext(CSharpContext? context)
Parameters
Overrides
|
Edit this page
View Source
GenerateModuleContext(HlslContext?)
Declaration
public override void GenerateModuleContext(HlslContext? context)
Parameters
Overrides
|
Edit this page
View Source
GetCSharpBody(CSharpContext)
Declaration
public override string GetCSharpBody(CSharpContext context)
Parameters
Returns
Overrides
|
Edit this page
View Source
GetColor(float, float, int, int)
Declaration
public override Color GetColor(float x, float y, int width, int height)
Parameters
Returns
Overrides
|
Edit this page
View Source
GetDefaultGrayscaleGradient()
Declaration
public static IDictionary<float, Color> GetDefaultGrayscaleGradient()
Returns
|
Edit this page
View Source
GetDefaultTerrainGradient()
Declaration
public static IDictionary<float, Color> GetDefaultTerrainGradient()
Returns
|
Edit this page
View Source
GetGradient()
Declaration
public IDictionary<float, Color> GetGradient()
Returns
|
Edit this page
View Source
GetHlslBody(HlslContext)
Declaration
public override string GetHlslBody(HlslContext context)
Parameters
Returns
Overrides
|
Edit this page
View Source
GetSourceBuilder()
Declaration
public IBuilder GetSourceBuilder()
Returns
|
Edit this page
View Source
SetGradientPoints(IEnumerable<KeyValuePair<float, Color>>?)
Declaration
public void SetGradientPoints(IEnumerable<KeyValuePair<float, Color>>? points)
Parameters
|
Edit this page
View Source
SetSeed(int)
Declaration
public override void SetSeed(int seed)
Parameters
Type |
Name |
Description |
int |
seed |
|
Overrides
Implements