public class FragmentUniformsException
extends java.lang.Exception
DistortedLibrary.setMax(org.distorted.library.effect.EffectType, int)
to too high value.Constructor and Description |
---|
FragmentUniformsException()
Default empty constructor
|
FragmentUniformsException(java.lang.String detailMessage)
Constructor with a message describing why compilation failed.
|
FragmentUniformsException(java.lang.String detailMessage,
int m)
Constructor with a message describing why compilation failed and integer holding the maximum
number of uniforms in Fragment Shader supported by current hardware.
|
FragmentUniformsException(java.lang.String detailMessage,
java.lang.Throwable throwable)
Constructor necessary to make Chained Exceptions working.
|
FragmentUniformsException(java.lang.Throwable throwable)
Constructor necessary to make Chained Exceptions working.
|
Modifier and Type | Method and Description |
---|---|
int |
getMax()
Gets the maximum number of uniforms in fragment shader supported by current hardware.
|
public FragmentUniformsException()
public FragmentUniformsException(java.lang.String detailMessage)
detailMessage
- Message describing why compilation failedpublic FragmentUniformsException(java.lang.Throwable throwable)
throwable
- The parent Throwable.public FragmentUniformsException(java.lang.String detailMessage, java.lang.Throwable throwable)
detailMessage
- Message describing why compilation failedthrowable
- The parent Throwable.public FragmentUniformsException(java.lang.String detailMessage, int m)
detailMessage
- Message describing why compilation failedm
- maximum number of uniforms in Fragment Shader supported by current hardware.