Record Class RenderCommand.Dispatch
java.lang.Object
java.lang.Record
dev.engine.graphics.command.RenderCommand.Dispatch
- All Implemented Interfaces:
RenderCommand
- Enclosing interface:
RenderCommand
public static record RenderCommand.Dispatch(int groupsX, int groupsY, int groupsZ)
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
ConstructorsConstructorDescriptionDispatch(int groupsX, int groupsY, int groupsZ) Creates an instance of aDispatchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intgroupsX()Returns the value of thegroupsXrecord component.intgroupsY()Returns the value of thegroupsYrecord component.intgroupsZ()Returns the value of thegroupsZrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Dispatch
public Dispatch(int groupsX, int groupsY, int groupsZ) Creates an instance of aDispatchrecord class.- Parameters:
groupsX- the value for thegroupsXrecord componentgroupsY- the value for thegroupsYrecord componentgroupsZ- the value for thegroupsZrecord 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. -
groupsX
public int groupsX()Returns the value of thegroupsXrecord component.- Returns:
- the value of the
groupsXrecord component
-
groupsY
public int groupsY()Returns the value of thegroupsYrecord component.- Returns:
- the value of the
groupsYrecord component
-
groupsZ
public int groupsZ()Returns the value of thegroupsZrecord component.- Returns:
- the value of the
groupsZrecord component
-