Package icyllis.arc3d.granite.trash.ops
Class RectOp
java.lang.Object
icyllis.arc3d.core.Rect2f
icyllis.arc3d.granite.trash.ops.Op
icyllis.arc3d.granite.trash.ops.DrawOp
icyllis.arc3d.granite.trash.ops.MeshDrawOp
icyllis.arc3d.granite.trash.ops.RectOp
Deprecated.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Returns the number of instances to draw in the batch.intDeprecated.Returns the number of vertices to draw in the batch.protected @NonNull GraphicsPipelineDesc_OldonCreatePipelineInfo(ImageProxyView writeView, int pipelineFlags) Deprecated.voidonExecute(OpFlushState state, Rect2f chainBounds) Deprecated.Issues the op chain's commands toOpsRenderPass.protected booleanonMayChain(@NonNull Op __) Deprecated.protected voidonPrepareDraws(MeshDrawTarget target) Deprecated.voidsetInstanceBuffer(@SharedPtr Buffer buffer, int baseInstance, int actualInstanceCount) Deprecated.The callback method forresults.invalid reference
MeshDrawTarget#makeInstanceSpace(Mesh)voidsetVertexBuffer(@SharedPtr Buffer buffer, int baseVertex, int actualVertexCount) Deprecated.The callback method forresults.invalid reference
MeshDrawTarget#makeVertexSpace(Mesh)Methods inherited from class icyllis.arc3d.granite.trash.ops.MeshDrawOp
getInstanceSize, getPipelineInfo, getPipelineState, getVertexSize, onPrepare, onPrePrepareMethods inherited from class icyllis.arc3d.granite.trash.ops.DrawOp
usesStencilMethods inherited from class icyllis.arc3d.granite.trash.ops.Op
chainConcat, chainSplit, hasAABloat, hasZeroArea, isChainHead, isChainTail, mayChain, nextInChain, prevInChain, setBoundsFlags, setClippedBounds, validateChain, visitProxiesMethods 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, makeInfiniteInverted, 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, yMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface icyllis.arc3d.engine.Mesh
getIndexCount, setIndexBuffer
-
Constructor Details
-
Method Details
-
onMayChain
Deprecated.- Overrides:
onMayChainin classOp
-
onExecute
Deprecated.Description copied from class:OpIssues the op chain's commands toOpsRenderPass. -
onCreatePipelineInfo
protected @NonNull GraphicsPipelineDesc_Old onCreatePipelineInfo(ImageProxyView writeView, int pipelineFlags) Deprecated.- Specified by:
onCreatePipelineInfoin classMeshDrawOp
-
getVertexCount
public int getVertexCount()Deprecated.Description copied from interface:MeshReturns the number of vertices to draw in the batch. -
getInstanceCount
public int getInstanceCount()Deprecated.Description copied from interface:MeshReturns 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:MeshThe callback method forresults. The given GPU buffer will be kept byinvalid reference
MeshDrawTarget#makeVertexSpace(Mesh)GpuBufferPooland 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:MeshThe callback method forresults. The given GPU buffer will be kept byinvalid reference
MeshDrawTarget#makeInstanceSpace(Mesh)GpuBufferPooland 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:
onPrepareDrawsin classMeshDrawOp
-