@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
@ApiStatus.Experimental
public interface GPUBindGroupLayoutEntry
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GPUBindGroupLayoutEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
int |
binding() |
GPUBufferBindingLayout |
buffer() |
static GPUBindGroupLayoutEntry.Builder |
create(int binding,
int visibility) |
GPUExternalTextureBindingLayout |
externalTexture() |
GPUSamplerBindingLayout |
sampler() |
void |
setBinding(int binding) |
void |
setBuffer(GPUBufferBindingLayout buffer) |
void |
setExternalTexture(GPUExternalTextureBindingLayout externalTexture) |
void |
setSampler(GPUSamplerBindingLayout sampler) |
void |
setStorageTexture(GPUStorageTextureBindingLayout storageTexture) |
void |
setTexture(GPUTextureBindingLayout texture) |
void |
setVisibility(int visibility) |
GPUStorageTextureBindingLayout |
storageTexture() |
GPUTextureBindingLayout |
texture() |
int |
visibility() |
@JsOverlay @Nonnull static GPUBindGroupLayoutEntry.Builder create(int binding, @GPUShaderStageFlags int visibility)
@JsProperty(name="binding") int binding()
@JsProperty void setBinding(int binding)
@JsProperty(name="visibility") @GPUShaderStageFlags @Nonnull int visibility()
@JsProperty void setVisibility(@GPUShaderStageFlags @Nonnull int visibility)
@JsProperty(name="buffer") GPUBufferBindingLayout buffer()
@JsProperty
void setBuffer(@Nonnull
GPUBufferBindingLayout buffer)
@JsProperty(name="externalTexture") GPUExternalTextureBindingLayout externalTexture()
@JsProperty
void setExternalTexture(@Nonnull
GPUExternalTextureBindingLayout externalTexture)
@JsProperty(name="sampler") GPUSamplerBindingLayout sampler()
@JsProperty
void setSampler(@Nonnull
GPUSamplerBindingLayout sampler)
@JsProperty(name="storageTexture") GPUStorageTextureBindingLayout storageTexture()
@JsProperty
void setStorageTexture(@Nonnull
GPUStorageTextureBindingLayout storageTexture)
@JsProperty(name="texture") GPUTextureBindingLayout texture()
@JsProperty
void setTexture(@Nonnull
GPUTextureBindingLayout texture)