@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
@ApiStatus.Experimental
public interface GPUVertexAttribute
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GPUVertexAttribute.Step1 |
static interface |
GPUVertexAttribute.Step2 |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull java.lang.String |
format() |
static GPUVertexAttribute.Step1 |
format(java.lang.String format) |
int |
offset() |
void |
setFormat(@JsNonNull java.lang.String format) |
void |
setOffset(int offset) |
void |
setShaderLocation(int shaderLocation) |
int |
shaderLocation() |
@JsOverlay @Nonnull static GPUVertexAttribute.Step1 format(@GPUVertexFormat @Nonnull java.lang.String format)
@JsProperty(name="format") @GPUVertexFormat @JsNonNull java.lang.String format()
@JsProperty void setFormat(@GPUVertexFormat @JsNonNull java.lang.String format)
@JsProperty(name="offset") int offset()
@JsProperty void setOffset(int offset)
@JsProperty(name="shaderLocation") int shaderLocation()
@JsProperty void setShaderLocation(int shaderLocation)