Record Class RenderCommand.BlitTexture
java.lang.Object
java.lang.Record
dev.engine.graphics.command.RenderCommand.BlitTexture
- All Implemented Interfaces:
RenderCommand
- Enclosing interface:
RenderCommand
public static record RenderCommand.BlitTexture(Handle<TextureResource> src, Handle<TextureResource> dst, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, boolean linearFilter)
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
ConstructorsConstructorDescriptionBlitTexture(Handle<TextureResource> src, Handle<TextureResource> dst, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, boolean linearFilter) Creates an instance of aBlitTexturerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondst()Returns the value of thedstrecord component.intdstX0()Returns the value of thedstX0record component.intdstX1()Returns the value of thedstX1record component.intdstY0()Returns the value of thedstY0record component.intdstY1()Returns the value of thedstY1record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thelinearFilterrecord component.src()Returns the value of thesrcrecord component.intsrcX0()Returns the value of thesrcX0record component.intsrcX1()Returns the value of thesrcX1record component.intsrcY0()Returns the value of thesrcY0record component.intsrcY1()Returns the value of thesrcY1record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BlitTexture
public BlitTexture(Handle<TextureResource> src, Handle<TextureResource> dst, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, boolean linearFilter) Creates an instance of aBlitTexturerecord class.- Parameters:
src- the value for thesrcrecord componentdst- the value for thedstrecord componentsrcX0- the value for thesrcX0record componentsrcY0- the value for thesrcY0record componentsrcX1- the value for thesrcX1record componentsrcY1- the value for thesrcY1record componentdstX0- the value for thedstX0record componentdstY0- the value for thedstY0record componentdstX1- the value for thedstX1record componentdstY1- the value for thedstY1record componentlinearFilter- the value for thelinearFilterrecord 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
-
srcX0
public int srcX0()Returns the value of thesrcX0record component.- Returns:
- the value of the
srcX0record component
-
srcY0
public int srcY0()Returns the value of thesrcY0record component.- Returns:
- the value of the
srcY0record component
-
srcX1
public int srcX1()Returns the value of thesrcX1record component.- Returns:
- the value of the
srcX1record component
-
srcY1
public int srcY1()Returns the value of thesrcY1record component.- Returns:
- the value of the
srcY1record component
-
dstX0
public int dstX0()Returns the value of thedstX0record component.- Returns:
- the value of the
dstX0record component
-
dstY0
public int dstY0()Returns the value of thedstY0record component.- Returns:
- the value of the
dstY0record component
-
dstX1
public int dstX1()Returns the value of thedstX1record component.- Returns:
- the value of the
dstX1record component
-
dstY1
public int dstY1()Returns the value of thedstY1record component.- Returns:
- the value of the
dstY1record component
-
linearFilter
public boolean linearFilter()Returns the value of thelinearFilterrecord component.- Returns:
- the value of the
linearFilterrecord component
-