Package icyllis.arc3d.granite.trash
Class OpFlushState
java.lang.Object
icyllis.arc3d.granite.trash.OpFlushState
- All Implemented Interfaces:
MeshDrawTarget
Deprecated.
Tracks the state across all the GrOps (really just the GrDrawOps) in a OpsTask flush.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginOpsRenderPass(ImageProxyView writeView, Rect2i contentBounds, byte colorOps, byte stencilOps, float[] clearColor, Set<SurfaceProxy> sampledTextures, int pipelineFlags) Deprecated.final GraphicsPipelinefindOrCreateGraphicsPipeline(GraphicsPipelineDesc_Old graphicsPipelineDesc) Deprecated.Deprecated.Deprecated.longmakeIndexSpace(Mesh mesh) Deprecated.Makes space for index data.@Nullable ByteBuffermakeIndexWriter(Mesh mesh) Deprecated.Helper method.longmakeInstanceSpace(Mesh mesh) Deprecated.Makes space for instance data.@Nullable ByteBuffermakeInstanceWriter(Mesh mesh) Deprecated.Helper method.longmakeVertexSpace(Mesh mesh) Deprecated.Makes space for vertex data.@Nullable ByteBuffermakeVertexWriter(Mesh mesh) Deprecated.Helper method.voidreset()Deprecated.
-
Constructor Details
-
OpFlushState
Deprecated.
-
-
Method Details
-
getDevice
Deprecated. -
findOrCreateGraphicsPipeline
public final GraphicsPipeline findOrCreateGraphicsPipeline(GraphicsPipelineDesc_Old graphicsPipelineDesc) Deprecated. -
makeVertexSpace
Deprecated.Description copied from interface:MeshDrawTargetMakes 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:
makeVertexSpacein interfaceMeshDrawTarget- Returns:
- may NULL if failed
-
makeInstanceSpace
Deprecated.Description copied from interface:MeshDrawTargetMakes 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:
makeInstanceSpacein interfaceMeshDrawTarget- Returns:
- may NULL if failed
-
makeIndexSpace
Deprecated.Description copied from interface:MeshDrawTargetMakes 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:
makeIndexSpacein interfaceMeshDrawTarget- Returns:
- may NULL if failed
-
makeVertexWriter
Deprecated.Description copied from interface:MeshDrawTargetHelper method.- Specified by:
makeVertexWriterin interfaceMeshDrawTarget- Returns:
- may null if failed
- See Also:
-
makeInstanceWriter
Deprecated.Description copied from interface:MeshDrawTargetHelper method.- Specified by:
makeInstanceWriterin interfaceMeshDrawTarget- Returns:
- may null if failed
- See Also:
-
makeIndexWriter
Deprecated.Description copied from interface:MeshDrawTargetHelper method.- Specified by:
makeIndexWriterin 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.
-