Record Class WgpuBindings.RenderPipelineDescriptor
java.lang.Object
java.lang.Record
dev.engine.graphics.webgpu.WgpuBindings.RenderPipelineDescriptor
- Enclosing interface:
WgpuBindings
public static record WgpuBindings.RenderPipelineDescriptor(long pipelineLayout, long vertexModule, String vertexEntryPoint, long fragmentModule, String fragmentEntryPoint, WgpuBindings.VertexBufferLayoutDesc vertexBufferLayout, int topology, int frontFace, int cullMode, int depthStencilFormat, int depthWriteEnabled, int depthCompare, int stencilReadMask, int stencilWriteMask, WgpuBindings.StencilFaceState stencilFront, WgpuBindings.StencilFaceState stencilBack, int colorTargetFormat, int blendColorSrcFactor, int blendColorDstFactor, int blendColorOperation, int blendAlphaSrcFactor, int blendAlphaDstFactor, int blendAlphaOperation)
extends Record
Describes a render pipeline.
-
Constructor Summary
ConstructorsConstructorDescriptionRenderPipelineDescriptor(long pipelineLayout, long vertexModule, String vertexEntryPoint, long fragmentModule, String fragmentEntryPoint, WgpuBindings.VertexBufferLayoutDesc vertexBufferLayout, int topology, int frontFace, int cullMode, int depthStencilFormat, int depthWriteEnabled, int depthCompare, int stencilReadMask, int stencilWriteMask, WgpuBindings.StencilFaceState stencilFront, WgpuBindings.StencilFaceState stencilBack, int colorTargetFormat, int blendColorSrcFactor, int blendColorDstFactor, int blendColorOperation, int blendAlphaSrcFactor, int blendAlphaDstFactor, int blendAlphaOperation) Creates an instance of aRenderPipelineDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theblendAlphaDstFactorrecord component.intReturns the value of theblendAlphaOperationrecord component.intReturns the value of theblendAlphaSrcFactorrecord component.intReturns the value of theblendColorDstFactorrecord component.intReturns the value of theblendColorOperationrecord component.intReturns the value of theblendColorSrcFactorrecord component.intReturns the value of thecolorTargetFormatrecord component.intcullMode()Returns the value of thecullModerecord component.intReturns the value of thedepthComparerecord component.intReturns the value of thedepthStencilFormatrecord component.intReturns the value of thedepthWriteEnabledrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefragmentEntryPointrecord component.longReturns the value of thefragmentModulerecord component.intReturns the value of thefrontFacerecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of thepipelineLayoutrecord component.Returns the value of thestencilBackrecord component.Returns the value of thestencilFrontrecord component.intReturns the value of thestencilReadMaskrecord component.intReturns the value of thestencilWriteMaskrecord component.inttopology()Returns the value of thetopologyrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevertexBufferLayoutrecord component.Returns the value of thevertexEntryPointrecord component.longReturns the value of thevertexModulerecord component.
-
Constructor Details
-
RenderPipelineDescriptor
public RenderPipelineDescriptor(long pipelineLayout, long vertexModule, String vertexEntryPoint, long fragmentModule, String fragmentEntryPoint, WgpuBindings.VertexBufferLayoutDesc vertexBufferLayout, int topology, int frontFace, int cullMode, int depthStencilFormat, int depthWriteEnabled, int depthCompare, int stencilReadMask, int stencilWriteMask, WgpuBindings.StencilFaceState stencilFront, WgpuBindings.StencilFaceState stencilBack, int colorTargetFormat, int blendColorSrcFactor, int blendColorDstFactor, int blendColorOperation, int blendAlphaSrcFactor, int blendAlphaDstFactor, int blendAlphaOperation) Creates an instance of aRenderPipelineDescriptorrecord class.- Parameters:
pipelineLayout- the value for thepipelineLayoutrecord componentvertexModule- the value for thevertexModulerecord componentvertexEntryPoint- the value for thevertexEntryPointrecord componentfragmentModule- the value for thefragmentModulerecord componentfragmentEntryPoint- the value for thefragmentEntryPointrecord componentvertexBufferLayout- the value for thevertexBufferLayoutrecord componenttopology- the value for thetopologyrecord componentfrontFace- the value for thefrontFacerecord componentcullMode- the value for thecullModerecord componentdepthStencilFormat- the value for thedepthStencilFormatrecord componentdepthWriteEnabled- the value for thedepthWriteEnabledrecord componentdepthCompare- the value for thedepthComparerecord componentstencilReadMask- the value for thestencilReadMaskrecord componentstencilWriteMask- the value for thestencilWriteMaskrecord componentstencilFront- the value for thestencilFrontrecord componentstencilBack- the value for thestencilBackrecord componentcolorTargetFormat- the value for thecolorTargetFormatrecord componentblendColorSrcFactor- the value for theblendColorSrcFactorrecord componentblendColorDstFactor- the value for theblendColorDstFactorrecord componentblendColorOperation- the value for theblendColorOperationrecord componentblendAlphaSrcFactor- the value for theblendAlphaSrcFactorrecord componentblendAlphaDstFactor- the value for theblendAlphaDstFactorrecord componentblendAlphaOperation- the value for theblendAlphaOperationrecord 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. -
pipelineLayout
public long pipelineLayout()Returns the value of thepipelineLayoutrecord component.- Returns:
- the value of the
pipelineLayoutrecord component
-
vertexModule
public long vertexModule()Returns the value of thevertexModulerecord component.- Returns:
- the value of the
vertexModulerecord component
-
vertexEntryPoint
Returns the value of thevertexEntryPointrecord component.- Returns:
- the value of the
vertexEntryPointrecord component
-
fragmentModule
public long fragmentModule()Returns the value of thefragmentModulerecord component.- Returns:
- the value of the
fragmentModulerecord component
-
fragmentEntryPoint
Returns the value of thefragmentEntryPointrecord component.- Returns:
- the value of the
fragmentEntryPointrecord component
-
vertexBufferLayout
Returns the value of thevertexBufferLayoutrecord component.- Returns:
- the value of the
vertexBufferLayoutrecord component
-
topology
public int topology()Returns the value of thetopologyrecord component.- Returns:
- the value of the
topologyrecord component
-
frontFace
public int frontFace()Returns the value of thefrontFacerecord component.- Returns:
- the value of the
frontFacerecord component
-
cullMode
public int cullMode()Returns the value of thecullModerecord component.- Returns:
- the value of the
cullModerecord component
-
depthStencilFormat
public int depthStencilFormat()Returns the value of thedepthStencilFormatrecord component.- Returns:
- the value of the
depthStencilFormatrecord component
-
depthWriteEnabled
public int depthWriteEnabled()Returns the value of thedepthWriteEnabledrecord component.- Returns:
- the value of the
depthWriteEnabledrecord component
-
depthCompare
public int depthCompare()Returns the value of thedepthComparerecord component.- Returns:
- the value of the
depthComparerecord component
-
stencilReadMask
public int stencilReadMask()Returns the value of thestencilReadMaskrecord component.- Returns:
- the value of the
stencilReadMaskrecord component
-
stencilWriteMask
public int stencilWriteMask()Returns the value of thestencilWriteMaskrecord component.- Returns:
- the value of the
stencilWriteMaskrecord component
-
stencilFront
Returns the value of thestencilFrontrecord component.- Returns:
- the value of the
stencilFrontrecord component
-
stencilBack
Returns the value of thestencilBackrecord component.- Returns:
- the value of the
stencilBackrecord component
-
colorTargetFormat
public int colorTargetFormat()Returns the value of thecolorTargetFormatrecord component.- Returns:
- the value of the
colorTargetFormatrecord component
-
blendColorSrcFactor
public int blendColorSrcFactor()Returns the value of theblendColorSrcFactorrecord component.- Returns:
- the value of the
blendColorSrcFactorrecord component
-
blendColorDstFactor
public int blendColorDstFactor()Returns the value of theblendColorDstFactorrecord component.- Returns:
- the value of the
blendColorDstFactorrecord component
-
blendColorOperation
public int blendColorOperation()Returns the value of theblendColorOperationrecord component.- Returns:
- the value of the
blendColorOperationrecord component
-
blendAlphaSrcFactor
public int blendAlphaSrcFactor()Returns the value of theblendAlphaSrcFactorrecord component.- Returns:
- the value of the
blendAlphaSrcFactorrecord component
-
blendAlphaDstFactor
public int blendAlphaDstFactor()Returns the value of theblendAlphaDstFactorrecord component.- Returns:
- the value of the
blendAlphaDstFactorrecord component
-
blendAlphaOperation
public int blendAlphaOperation()Returns the value of theblendAlphaOperationrecord component.- Returns:
- the value of the
blendAlphaOperationrecord component
-