Record Class RenderCommand.CopyBuffer
java.lang.Object
java.lang.Record
dev.engine.graphics.command.RenderCommand.CopyBuffer
- All Implemented Interfaces:
RenderCommand
- Enclosing interface:
RenderCommand
public static record RenderCommand.CopyBuffer(Handle<BufferResource> src, Handle<BufferResource> dst, long srcOffset, long dstOffset, long size)
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
ConstructorsConstructorDescriptionCopyBuffer(Handle<BufferResource> src, Handle<BufferResource> dst, long srcOffset, long dstOffset, long size) Creates an instance of aCopyBufferrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondst()Returns the value of thedstrecord component.longReturns the value of thedstOffsetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longsize()Returns the value of thesizerecord component.src()Returns the value of thesrcrecord component.longReturns the value of thesrcOffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CopyBuffer
public CopyBuffer(Handle<BufferResource> src, Handle<BufferResource> dst, long srcOffset, long dstOffset, long size) Creates an instance of aCopyBufferrecord class.- Parameters:
src- the value for thesrcrecord componentdst- the value for thedstrecord componentsrcOffset- the value for thesrcOffsetrecord componentdstOffset- the value for thedstOffsetrecord componentsize- the value for thesizerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
src
Returns the value of thesrcrecord component.- Returns:
- the value of the
srcrecord component
-
dst
Returns the value of thedstrecord component.- Returns:
- the value of the
dstrecord component
-
srcOffset
public long srcOffset()Returns the value of thesrcOffsetrecord component.- Returns:
- the value of the
srcOffsetrecord component
-
dstOffset
public long dstOffset()Returns the value of thedstOffsetrecord component.- Returns:
- the value of the
dstOffsetrecord component
-
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-