Record Class RenderCommand.DrawIndexedInstanced
java.lang.Object
java.lang.Record
dev.engine.graphics.command.RenderCommand.DrawIndexedInstanced
- All Implemented Interfaces:
RenderCommand
- Enclosing interface:
RenderCommand
public static record RenderCommand.DrawIndexedInstanced(int indexCount, int firstIndex, int instanceCount, int firstInstance)
extends Record
implements RenderCommand
-
Nested Class Summary
Nested classes/interfaces inherited from interface RenderCommand
RenderCommand.BindComputePipeline, RenderCommand.BindDefaultRenderTarget, RenderCommand.BindImage, RenderCommand.BindIndexBuffer, RenderCommand.BindPipeline, RenderCommand.BindRenderTarget, RenderCommand.BindSampler, RenderCommand.BindStorageBuffer, RenderCommand.BindTexture, RenderCommand.BindUniformBuffer, RenderCommand.BindVertexBuffer, RenderCommand.BlitTexture, RenderCommand.Clear, RenderCommand.CopyBuffer, RenderCommand.CopyTexture, RenderCommand.Dispatch, RenderCommand.Draw, RenderCommand.DrawIndexed, RenderCommand.DrawIndexedIndirect, RenderCommand.DrawIndexedInstanced, RenderCommand.DrawIndirect, RenderCommand.DrawInstanced, RenderCommand.MemoryBarrier, RenderCommand.PushConstants, RenderCommand.Scissor, RenderCommand.SetRenderState, RenderCommand.Viewport -
Constructor Summary
ConstructorsConstructorDescriptionDrawIndexedInstanced(int indexCount, int firstIndex, int instanceCount, int firstInstance) Creates an instance of aDrawIndexedInstancedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefirstIndexrecord component.intReturns the value of thefirstInstancerecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theindexCountrecord component.intReturns the value of theinstanceCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DrawIndexedInstanced
public DrawIndexedInstanced(int indexCount, int firstIndex, int instanceCount, int firstInstance) Creates an instance of aDrawIndexedInstancedrecord class.- Parameters:
indexCount- the value for theindexCountrecord componentfirstIndex- the value for thefirstIndexrecord componentinstanceCount- the value for theinstanceCountrecord componentfirstInstance- the value for thefirstInstancerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
indexCount
public int indexCount()Returns the value of theindexCountrecord component.- Returns:
- the value of the
indexCountrecord component
-
firstIndex
public int firstIndex()Returns the value of thefirstIndexrecord component.- Returns:
- the value of the
firstIndexrecord component
-
instanceCount
public int instanceCount()Returns the value of theinstanceCountrecord component.- Returns:
- the value of the
instanceCountrecord component
-
firstInstance
public int firstInstance()Returns the value of thefirstInstancerecord component.- Returns:
- the value of the
firstInstancerecord component
-