Record Class RenderCommand.BindVertexBuffer
java.lang.Object
java.lang.Record
dev.engine.graphics.command.RenderCommand.BindVertexBuffer
- All Implemented Interfaces:
RenderCommand
- Enclosing interface:
RenderCommand
public static record RenderCommand.BindVertexBuffer(Handle<BufferResource> buffer, Handle<VertexInputResource> vertexInput)
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
ConstructorsConstructorDescriptionBindVertexBuffer(Handle<BufferResource> buffer, Handle<VertexInputResource> vertexInput) Creates an instance of aBindVertexBufferrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuffer()Returns the value of thebufferrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thevertexInputrecord component.
-
Constructor Details
-
BindVertexBuffer
Creates an instance of aBindVertexBufferrecord class.- Parameters:
buffer- the value for thebufferrecord componentvertexInput- the value for thevertexInputrecord 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 withObjects::equals(Object,Object). -
buffer
Returns the value of thebufferrecord component.- Returns:
- the value of the
bufferrecord component
-
vertexInput
Returns the value of thevertexInputrecord component.- Returns:
- the value of the
vertexInputrecord component
-