Tesla Graphics Engine Documentation (January 2012)
ClampToByte Method (value)
Tesla
►
Tesla.Math
►
MathUtils
►
ClampToByte(Int32)
C#
Clamps an integer to the byte range 0-255.
Declaration Syntax
C#
public
static
int
ClampToByte
(
int
value
)
Parameters
value
(
Int32
)
Integer to be clamped
Return Value
Clamped value
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)