ShaderPrecisionFormat

Assembly: ZennoLab.CommandCenter
Full name: ZennoLab.CommandCenter.ShaderPrecisionFormat
Kind: class


Represents a shader precision format item

Constructor

ShaderPrecisionFormat(Decimal rangeMin, Decimal rangeMax, Decimal precision)

Constructor

ShaderPrecisionFormat constructor

Parameters

TypeNameDescription
DecimalrangeMin
DecimalrangeMax
Decimalprecision

Properties

Precision

Property

Decimal Precision { get; set; }

The number of bits of precision that can be represented. For integer formats this value is always 0

RangeMin

Property

Decimal RangeMin { get; set; }

The base 2 log of the absolute value of the minimum value that can be represented.

RangeMax

Property

Decimal RangeMax { get; set; }

The base 2 log of the absolute value of the maximum value that can be represented.

Methods

ToString

Method

string ToString()