java.lang.Object
de.grogra.gpuflux.scene.FluxSceneSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetScene()
int
boolean
void
serializeBoundingSphere
(ComputeByteBuffer boundsStream) void
serializeBVH
(ComputeByteBuffer computeByteBuffer, boolean asBIH) void
serializeCamera
(ComputeByteBuffer computeByteBuffer, int width, int height) void
serializeChannels
(ComputeByteBuffer computeByteBuffer) void
serializeCumulativeLightPowerDistribution
(ComputeByteBuffer computeByteBuffer) void
serializeDetectors
(ComputeByteBuffer computeByteBuffer) void
serializeGrid
(ComputeByteBuffer computeByteBuffer) void
serializeLightOffsets
(ComputeByteBuffer computeByteBuffer) void
serializeLights
(ComputeByteBuffer computeByteBuffer) void
serializeMeasureSetup
(MeasuringSetup measuringSetup) void
serializePrimitiveOffsets
(ComputeByteBuffer computeByteBuffer) void
serializePrimitives
(ComputeByteBuffer computeByteBuffer) void
serializeScene
(FluxScene scene) void
serializeSensorBVH
(ComputeByteBuffer computeByteBuffer, boolean asBIH) void
serializeSensors
(ComputeByteBuffer computeByteBuffer) void
serializeShaders
(ComputeByteBuffer computeByteBuffer)
-
Constructor Details
-
FluxSceneSerializer
public FluxSceneSerializer()
-
-
Method Details
-
serializeScene
-
serializeMeasureSetup
-
serializeDetectors
- Throws:
IOException
-
serializeBVH
- Throws:
IOException
-
serializeSensorBVH
public void serializeSensorBVH(ComputeByteBuffer computeByteBuffer, boolean asBIH) throws IOException - Throws:
IOException
-
serializeSensors
- Throws:
IOException
-
serializeShaders
- Throws:
IOException
-
serializeChannels
- Throws:
IOException
-
serializePrimitives
- Throws:
IOException
-
serializePrimitiveOffsets
- Throws:
IOException
-
serializeLights
- Throws:
IOException
-
serializeLightOffsets
- Throws:
IOException
-
serializeCumulativeLightPowerDistribution
public void serializeCumulativeLightPowerDistribution(ComputeByteBuffer computeByteBuffer) throws IOException - Throws:
IOException
-
serializeBoundingSphere
-
serializeGrid
-
serializeCamera
-
getScene
-
getSkyOffset
public int getSkyOffset() -
hasCloner
public boolean hasCloner()
-