Package gaiasky.render.system
Class PointCloudTriRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ImmediateModeRenderSystem
gaiasky.render.system.PointCloudRenderSystem
gaiasky.render.system.PointCloudTriRenderSystem
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,IObserver
,IRenderSystem
,Comparable<IRenderSystem>
- Direct Known Subclasses:
BillboardSetRenderer
,ElementsRenderer
,ElementsSetRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.render.system.ImmediateModeRenderSystem
ImmediateModeRenderSystem.MeshData, ImmediateModeRenderSystem.OwnUsage
Nested classes/interfaces inherited from class gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class gaiasky.render.system.ImmediateModeRenderSystem
auxMat, curr, inGpu, meshes, meshIdx, tempIndices, tempVerts
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux3f, comp, postRunners, preRunners, programs, rc, sceneRenderer
-
Constructor Summary
ConstructorDescriptionPointCloudTriRenderSystem
(SceneRenderer sceneRenderer, RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
index
(int idx) protected void
Adds the indices to make two triangles into a quad, given the four vertices in vertPos.Methods inherited from class gaiasky.render.system.PointCloudRenderSystem
addMeshData, addMeshData, addVertexAttributes, buildVertexAttributes, initVertices, offsets, postRenderObjects, preRenderObjects, renderObject, renderStud
Methods inherited from class gaiasky.render.system.ImmediateModeRenderSystem
addAffineTransformUniforms, clearMeshData, clearMeshes, color, color, color, color, createMeshData, dispose, ensureTempIndicesSize, ensureTempVertsSize, getCount, getOffset, inGpu, setCount, setInGpu, setOffset, vertex
Methods inherited from class gaiasky.render.system.AbstractRenderSystem
addCameraUpCubemapMode, addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addRelativisticUniforms, addVRScale, compareTo, getAlpha, getAlpha, getAlpha, getRenderGroup, getShaderProgram, getShaderProgram, initShaderProgram, render, resetFlags, resize, run, updateBatchSize
-
Field Details
-
vertPos
-
vertUV
-
-
Constructor Details
-
PointCloudTriRenderSystem
public PointCloudTriRenderSystem(SceneRenderer sceneRenderer, RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders)
-
-
Method Details
-
index
protected void index(int idx) -
quadIndices
Adds the indices to make two triangles into a quad, given the four vertices in vertPos.- Parameters:
current
- The current mesh.
-