Package icyllis.arc3d.engine
Class OpFlushState
java.lang.Object
icyllis.arc3d.engine.OpFlushState
- All Implemented Interfaces:
MeshDrawTarget
Deprecated.
Tracks the state across all the GrOps (really just the GrDrawOps) in a OpsTask flush.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbeginOpsRenderPass
(ImageProxyView writeView, Rect2i contentBounds, byte colorOps, byte stencilOps, float[] clearColor, Set<SurfaceProxy> sampledTextures, int pipelineFlags) Deprecated.final GraphicsPipeline
findOrCreateGraphicsPipeline
(GraphicsPipelineDesc_Old graphicsPipelineDesc) Deprecated.Deprecated.Deprecated.long
makeIndexSpace
(Mesh mesh) Deprecated.Makes space for index data.makeIndexWriter
(Mesh mesh) Deprecated.Helper method.long
makeInstanceSpace
(Mesh mesh) Deprecated.Makes space for instance data.makeInstanceWriter
(Mesh mesh) Deprecated.Helper method.long
makeVertexSpace
(Mesh mesh) Deprecated.Makes space for vertex data.makeVertexWriter
(Mesh mesh) Deprecated.Helper method.void
reset()
Deprecated.
-
Constructor Details
-
OpFlushState
Deprecated.
-
-
Method Details
-
getDevice
Deprecated. -
findOrCreateGraphicsPipeline
public final GraphicsPipeline findOrCreateGraphicsPipeline(GraphicsPipelineDesc_Old graphicsPipelineDesc) Deprecated. -
makeVertexSpace
Deprecated.Description copied from interface:MeshDrawTarget
Makes space for vertex data. The returned pointer is the location where vertex data should be written. On return the buffer that will hold the data as well as an offset into the buffer (in 'vertexSize' units) where the data will be placed.This method requires
Mesh.getVertexSize()
andMesh.getVertexCount()
as arguments andMesh.setVertexBuffer(Buffer, int, int)
as results.- Specified by:
makeVertexSpace
in interfaceMeshDrawTarget
- Returns:
- may NULL if failed
-
makeInstanceSpace
Deprecated.Description copied from interface:MeshDrawTarget
Makes space for instance data. The returned pointer is the location where instance data should be written. On return the buffer that will hold the data as well as an offset into the buffer (in 'instanceSize' units) where the data will be placed.This method requires
Mesh.getInstanceSize()
andMesh.getInstanceCount()
as arguments andMesh.setInstanceBuffer(Buffer, int, int)
as results.- Specified by:
makeInstanceSpace
in interfaceMeshDrawTarget
- Returns:
- may NULL if failed
-
makeIndexSpace
Deprecated.Description copied from interface:MeshDrawTarget
Makes space for index data. The returned pointer is the location where index data should be written. On return the buffer that will hold the data as well as an offset into the buffer (in 'ushort' units) where the data will be placed.This method requires
Mesh.getIndexCount()
as arguments andMesh.setIndexBuffer(Buffer, int, int)
as results.- Specified by:
makeIndexSpace
in interfaceMeshDrawTarget
- Returns:
- may NULL if failed
-
makeVertexWriter
Deprecated.Description copied from interface:MeshDrawTarget
Helper method.- Specified by:
makeVertexWriter
in interfaceMeshDrawTarget
- Returns:
- may null if failed
- See Also:
-
makeInstanceWriter
Deprecated.Description copied from interface:MeshDrawTarget
Helper method.- Specified by:
makeInstanceWriter
in interfaceMeshDrawTarget
- Returns:
- may null if failed
- See Also:
-
makeIndexWriter
Deprecated.Description copied from interface:MeshDrawTarget
Helper method.- Specified by:
makeIndexWriter
in interfaceMeshDrawTarget
- Returns:
- may null if failed
- See Also:
-
getOpsRenderPass
Deprecated. -
beginOpsRenderPass
public OpsRenderPass beginOpsRenderPass(ImageProxyView writeView, Rect2i contentBounds, byte colorOps, byte stencilOps, float[] clearColor, Set<SurfaceProxy> sampledTextures, int pipelineFlags) Deprecated. -
reset
public void reset()Deprecated.
-