Package icyllis.arc3d.engine.trash.ops
Class RoundRectOp
java.lang.Object
icyllis.arc3d.core.Rect2f
icyllis.arc3d.engine.trash.ops.Op
icyllis.arc3d.engine.trash.ops.DrawOp
icyllis.arc3d.engine.trash.ops.MeshDrawOp
icyllis.arc3d.engine.trash.ops.RoundRectOp
Deprecated.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRoundRectOp
(float[] color, Rect2f localRect, float cornerRadius, float strokeRadius, Matrix viewMatrix, boolean stroke) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Returns the number of instances to draw in the batch.int
Deprecated.Returns the number of vertices to draw in the batch.protected GraphicsPipelineDesc_Old
onCreatePipelineInfo
(ImageProxyView writeView, int pipelineFlags) Deprecated.void
onExecute
(OpFlushState state, Rect2f chainBounds) Deprecated.Issues the op chain's commands toOpsRenderPass
.protected boolean
onMayChain
(Op __) Deprecated.protected void
onPrepareDraws
(MeshDrawTarget target) Deprecated.void
setInstanceBuffer
(@SharedPtr Buffer buffer, int baseInstance, int actualInstanceCount) Deprecated.The callback method forMeshDrawTarget.makeInstanceSpace(Mesh)
results.void
setVertexBuffer
(@SharedPtr Buffer buffer, int baseVertex, int actualVertexCount) Deprecated.The callback method forMeshDrawTarget.makeVertexSpace(Mesh)
results.Methods inherited from class icyllis.arc3d.engine.trash.ops.MeshDrawOp
getInstanceSize, getPipelineInfo, getPipelineState, getVertexSize, onPrepare, onPrePrepare
Methods inherited from class icyllis.arc3d.engine.trash.ops.DrawOp
usesStencil
Methods inherited from class icyllis.arc3d.engine.trash.ops.Op
chainConcat, chainSplit, hasAABloat, hasZeroArea, isChainHead, isChainTail, mayChain, nextInChain, prevInChain, setBoundsFlags, setClippedBounds, validateChain, visitProxies
Methods inherited from class icyllis.arc3d.core.Rect2f
adjust, adjust, adjust, bottom, centerX, centerY, contains, contains, contains, contains, empty, equals, halfHeight, halfWidth, hashCode, height, inset, inset, inset, inset, intersect, intersect, intersect, intersect, intersectNoCheck, intersectNoCheck, intersectNoCheck, intersects, intersects, intersects, intersects, isEmpty, isFinite, isSorted, join, join, join, join, joinNoCheck, joinNoCheck, joinNoCheck, left, offset, offsetTo, outset, rectsOverlap, rectsTouchOrOverlap, right, round, round, roundIn, roundIn, roundOut, roundOut, set, set, set, setBounds, setBoundsNoCheck, setEmpty, sort, store, store, subtract, top, toString, width, x, y
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface icyllis.arc3d.engine.Mesh
getIndexCount, setIndexBuffer
-
Constructor Details
-
Method Details
-
onMayChain
Deprecated.- Overrides:
onMayChain
in classOp
-
onExecute
Deprecated.Description copied from class:Op
Issues the op chain's commands toOpsRenderPass
. -
onCreatePipelineInfo
@Nonnull protected GraphicsPipelineDesc_Old onCreatePipelineInfo(ImageProxyView writeView, int pipelineFlags) Deprecated.- Specified by:
onCreatePipelineInfo
in classMeshDrawOp
-
getVertexCount
public int getVertexCount()Deprecated.Description copied from interface:Mesh
Returns the number of vertices to draw in the batch. -
getInstanceCount
public int getInstanceCount()Deprecated.Description copied from interface:Mesh
Returns the number of instances to draw in the batch. -
setVertexBuffer
public void setVertexBuffer(@SharedPtr @SharedPtr Buffer buffer, int baseVertex, int actualVertexCount) Deprecated.Description copied from interface:Mesh
The callback method forMeshDrawTarget.makeVertexSpace(Mesh)
results. The given GPU buffer will be kept byGpuBufferPool
and moved to command buffer when the frame ends.- Parameters:
buffer
- the raw ptr to the vertex buffer that will hold the verticesbaseVertex
- the offset into buffer of the first vertex, in units of the size of a vertex from layout paramactualVertexCount
- the actual number of vertices allocated
-
setInstanceBuffer
public void setInstanceBuffer(@SharedPtr @SharedPtr Buffer buffer, int baseInstance, int actualInstanceCount) Deprecated.Description copied from interface:Mesh
The callback method forMeshDrawTarget.makeInstanceSpace(Mesh)
results. The given GPU buffer will be kept byGpuBufferPool
and moved to command buffer when the frame ends.- Parameters:
buffer
- the raw ptr to the instance buffer that will hold the instancesbaseInstance
- the offset into buffer of the first instance, in units of the size of an instance from layout paramactualInstanceCount
- the actual number of instances allocated
-
onPrepareDraws
Deprecated.- Specified by:
onPrepareDraws
in classMeshDrawOp
-