VertexState.this - multiple declarations

Function VertexState.this

this (
  ShaderModule shader,
  string entryPoint,
  VertexBufferLayout[] buffers = []
);

Parameters

NameDescription
shader The compiled shader module for this stage.
entryPoint The name of the entry point in the compiled shader. There must be a function that returns void with this name in the shader.
buffers The format of any vertex buffers used with this pipeline.

Function VertexState.this

this (
  ShaderModule shader,
  string entryPoint,
  __C.WGPUConstantEntry[] constants,
  VertexBufferLayout[] buffers = []
);

Parameters

NameDescription
shader The compiled shader module for this stage.
entryPoint The name of the entry point in the compiled shader. There must be a function that returns void with this name in the shader.
constants The push constants provided to the compiled shader for this stage.
buffers The format of any vertex buffers used with this pipeline.