java.lang.Object
de.grogra.gpuflux.scene.shading.FluxSpectrum
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Point3f
void
static void
serialize
(ComputeByteBuffer out, SpectralCurve SPD) static void
static void
static void
serializeNormalizedSPD
(ComputeByteBuffer out, SpectralCurve SPD, float unit) static void
serializeSPD
(ComputeByteBuffer out, SpectralCurve SPD) static void
setDiscretization
(FluxSpectrum.SpectralDiscretization discretization) static void
setImportance
(SpectralCurve ImportanceSPD)
-
Constructor Details
-
FluxSpectrum
-
-
Method Details
-
setImportance
-
setDiscretization
-
getDiscretization
-
serializeNormalizedSPD
public static void serializeNormalizedSPD(ComputeByteBuffer out, SpectralCurve SPD, float unit) throws IOException - Throws:
IOException
-
serializeSPD
- Throws:
IOException
-
serializeCumulativeSPD
public static void serializeCumulativeSPD(ComputeByteBuffer out, SpectralCurve SPD) throws IOException - Throws:
IOException
-
serialize
- Throws:
IOException
-
getRGBDistribution
-
getRGBDistribution
-
serialize
- Throws:
IOException
-
serializeCorrectedCumulativeSPD
public static void serializeCorrectedCumulativeSPD(ComputeByteBuffer out, SpectralCurve SPD) throws IOException - Throws:
IOException
-