Class HableCurve.Uniforms
An utility class to ease the binding of curve parameters to shaders.
Namespace: UnityEngine.Rendering
Syntax
public class Uniforms : object
Properties
curve
Main curve settings, stored as (inverseWhitePoint, x0, x1, 0)
.
Declaration
public Vector4 curve { get; }
Property Value
Type | Description |
---|---|
Vector4 |
midSegmentA
Mid segment settings, stored as (offsetX, offsetY, scaleX, scaleY)
.
Declaration
public Vector4 midSegmentA { get; }
Property Value
Type | Description |
---|---|
Vector4 |
midSegmentB
Mid segment settings, stored as (ln1, B, 0, 0)
.
Declaration
public Vector4 midSegmentB { get; }
Property Value
Type | Description |
---|---|
Vector4 |
shoSegmentA
Shoulder segment settings, stored as (offsetX, offsetY, scaleX, scaleY)
.
Declaration
public Vector4 shoSegmentA { get; }
Property Value
Type | Description |
---|---|
Vector4 |
shoSegmentB
Shoulder segment settings, stored as (ln1, B, 0, 0)
.
Declaration
public Vector4 shoSegmentB { get; }
Property Value
Type | Description |
---|---|
Vector4 |
toeSegmentA
Toe segment settings, stored as (offsetX, offsetY, scaleX, scaleY)
.
Declaration
public Vector4 toeSegmentA { get; }
Property Value
Type | Description |
---|---|
Vector4 |
toeSegmentB
Toe segment settings, stored as (ln1, B, 0, 0)
.
Declaration
public Vector4 toeSegmentB { get; }
Property Value
Type | Description |
---|---|
Vector4 |