Top Description Inners Fields Constructors Methods
org.lwjgl.util.spvc

public Class SpvcHLSLResourceBinding

extends Struct<SpvcHLSLResourceBinding>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct spvc_hlsl_resource_binding
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct spvc_hlsl_resource_binding {
    SpvExecutionModel stage;
    unsigned desc_set;
    unsigned binding;
    spvc_hlsl_resource_binding_mapping cbv;
    spvc_hlsl_resource_binding_mapping uav;
    spvc_hlsl_resource_binding_mapping srv;
    spvc_hlsl_resource_binding_mapping sampler;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BINDING

The struct member offsets.

public static final int
CBV

The struct member offsets.

public static final int
DESC_SET

The struct member offsets.

public static final int
SAMPLER

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SRV

The struct member offsets.

public static final int
STAGE

The struct member offsets.

public static final int
UAV

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
SpvcHLSLResourceBinding(long address, ByteBuffer container)

public
SpvcHLSLResourceBinding(ByteBuffer container)

Creates a SpvcHLSLResourceBinding instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the binding field.
binding
()

public SpvcHLSLResourceBinding
binding(int value)

Sets the specified value to the binding field.

public static SpvcHLSLResourceBinding
calloc()

Returns a new SpvcHLSLResourceBinding instance allocated with memCalloc.

public static SpvcHLSLResourceBinding.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated with memCalloc.

public static SpvcHLSLResourceBinding
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcHLSLResourceBinding instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static SpvcHLSLResourceBinding.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the cbv field.
cbv
()

public SpvcHLSLResourceBinding
cbv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the cbv field.

public SpvcHLSLResourceBinding
cbv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the cbv field to the specified Consumer.

protected SpvcHLSLResourceBinding
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static SpvcHLSLResourceBinding
create()

Returns a new SpvcHLSLResourceBinding instance allocated with BufferUtils.

public static SpvcHLSLResourceBinding
create(long address)

Returns a new SpvcHLSLResourceBinding instance for the specified memory address.

public static SpvcHLSLResourceBinding.Buffer
create(int
the buffer capacity
capacity
)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated with BufferUtils.

public static SpvcHLSLResourceBinding.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a SpvcHLSLResourceBinding.Buffer instance at the specified memory.

public static SpvcHLSLResourceBinding
createSafe(long address)

Like create, but returns null if address is NULL.

public static SpvcHLSLResourceBinding.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int

Returns:

the value of the desc_set field.
desc_set
()

public SpvcHLSLResourceBinding
desc_set(int value)

Sets the specified value to the desc_set field.

public static SpvcHLSLResourceBinding
malloc()

Returns a new SpvcHLSLResourceBinding instance allocated with memAlloc.

public static SpvcHLSLResourceBinding.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated with memAlloc.

public static SpvcHLSLResourceBinding
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcHLSLResourceBinding instance allocated on the specified MemoryStack.

public static SpvcHLSLResourceBinding.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated on the specified MemoryStack.

public static int
nbinding(long struct)

Unsafe version of binding.

public static void
nbinding(long struct, int value)

Unsafe version of binding.

public static SpvcHLSLResourceBindingMapping
ncbv(long struct)

Unsafe version of cbv.

public static void
ncbv(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of cbv.

public static int
ndesc_set(long struct)

Unsafe version of desc_set.

public static void
ndesc_set(long struct, int value)

Unsafe version of desc_set.

public static SpvcHLSLResourceBindingMapping
nsampler(long struct)

Unsafe version of sampler.

public static void
nsampler(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of sampler.

public static SpvcHLSLResourceBindingMapping
nsrv(long struct)

Unsafe version of srv.

public static void
nsrv(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of srv.

public static int
nstage(long struct)

Unsafe version of stage.

public static void
nstage(long struct, int value)

Unsafe version of stage.

public static SpvcHLSLResourceBindingMapping
nuav(long struct)

Unsafe version of uav.

public static void
nuav(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of uav.

public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the sampler field.
sampler
()

public SpvcHLSLResourceBinding
sampler(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the sampler field.

public SpvcHLSLResourceBinding
sampler(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the sampler field to the specified Consumer.

public SpvcHLSLResourceBinding
set(int stage, int desc_set, int binding, SpvcHLSLResourceBindingMapping cbv, SpvcHLSLResourceBindingMapping uav, SpvcHLSLResourceBindingMapping srv, SpvcHLSLResourceBindingMapping sampler)

Initializes this struct with the specified values.

public SpvcHLSLResourceBinding

Returns:

this struct
set
(SpvcHLSLResourceBinding
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the srv field.
srv
()

public SpvcHLSLResourceBinding
srv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the srv field.

public SpvcHLSLResourceBinding
srv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the srv field to the specified Consumer.

public int

Returns:

the value of the stage field.
stage
()

public SpvcHLSLResourceBinding
stage(int value)

Sets the specified value to the stage field.

public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the uav field.
uav
()

public SpvcHLSLResourceBinding
uav(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the uav field.

public SpvcHLSLResourceBinding
uav(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the uav field to the specified Consumer.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BINDINGback to summary
public static final int BINDING

The struct member offsets.

CBVback to summary
public static final int CBV

The struct member offsets.

DESC_SETback to summary
public static final int DESC_SET

The struct member offsets.

SAMPLERback to summary
public static final int SAMPLER

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SRVback to summary
public static final int SRV

The struct member offsets.

STAGEback to summary
public static final int STAGE

The struct member offsets.

UAVback to summary
public static final int UAV

The struct member offsets.

Constructor Detail

SpvcHLSLResourceBindingback to summary
protected SpvcHLSLResourceBinding(long address, ByteBuffer container)
SpvcHLSLResourceBindingback to summary
public SpvcHLSLResourceBinding(ByteBuffer container)

Creates a SpvcHLSLResourceBinding instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

bindingback to summary
public int binding()
Returns:int

the value of the binding field.

Annotations
@NativeType:unsigned
bindingback to summary
public SpvcHLSLResourceBinding binding(int value)

Sets the specified value to the binding field.

callocback to summary
public static SpvcHLSLResourceBinding calloc()

Returns a new SpvcHLSLResourceBinding instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static SpvcHLSLResourceBinding.Buffer calloc(int capacity)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static SpvcHLSLResourceBinding calloc(MemoryStack stack)

Returns a new SpvcHLSLResourceBinding instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static SpvcHLSLResourceBinding.Buffer calloc(int capacity, MemoryStack stack)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

cbvback to summary
public SpvcHLSLResourceBindingMapping cbv()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the cbv field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
cbvback to summary
public SpvcHLSLResourceBinding cbv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the cbv field.

cbvback to summary
public SpvcHLSLResourceBinding cbv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the cbv field to the specified Consumer.

createback to summary
protected SpvcHLSLResourceBinding create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static SpvcHLSLResourceBinding create()

Returns a new SpvcHLSLResourceBinding instance allocated with BufferUtils.

createback to summary
public static SpvcHLSLResourceBinding create(long address)

Returns a new SpvcHLSLResourceBinding instance for the specified memory address.

createback to summary
public static SpvcHLSLResourceBinding.Buffer create(int capacity)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static SpvcHLSLResourceBinding.Buffer create(long address, int capacity)

Create a SpvcHLSLResourceBinding.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static SpvcHLSLResourceBinding createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static SpvcHLSLResourceBinding.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
desc_setback to summary
public int desc_set()
Returns:int

the value of the desc_set field.

Annotations
@NativeType:unsigned
desc_setback to summary
public SpvcHLSLResourceBinding desc_set(int value)

Sets the specified value to the desc_set field.

mallocback to summary
public static SpvcHLSLResourceBinding malloc()

Returns a new SpvcHLSLResourceBinding instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static SpvcHLSLResourceBinding.Buffer malloc(int capacity)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static SpvcHLSLResourceBinding malloc(MemoryStack stack)

Returns a new SpvcHLSLResourceBinding instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static SpvcHLSLResourceBinding.Buffer malloc(int capacity, MemoryStack stack)

Returns a new SpvcHLSLResourceBinding.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nbindingback to summary
public static int nbinding(long struct)

Unsafe version of binding.

nbindingback to summary
public static void nbinding(long struct, int value)

Unsafe version of binding.

ncbvback to summary
public static SpvcHLSLResourceBindingMapping ncbv(long struct)

Unsafe version of cbv.

ncbvback to summary
public static void ncbv(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of cbv.

ndesc_setback to summary
public static int ndesc_set(long struct)

Unsafe version of desc_set.

ndesc_setback to summary
public static void ndesc_set(long struct, int value)

Unsafe version of desc_set.

nsamplerback to summary
public static SpvcHLSLResourceBindingMapping nsampler(long struct)

Unsafe version of sampler.

nsamplerback to summary
public static void nsampler(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of sampler.

nsrvback to summary
public static SpvcHLSLResourceBindingMapping nsrv(long struct)

Unsafe version of srv.

nsrvback to summary
public static void nsrv(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of srv.

nstageback to summary
public static int nstage(long struct)

Unsafe version of stage.

nstageback to summary
public static void nstage(long struct, int value)

Unsafe version of stage.

nuavback to summary
public static SpvcHLSLResourceBindingMapping nuav(long struct)

Unsafe version of uav.

nuavback to summary
public static void nuav(long struct, SpvcHLSLResourceBindingMapping value)

Unsafe version of uav.

samplerback to summary
public SpvcHLSLResourceBindingMapping sampler()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the sampler field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
samplerback to summary
public SpvcHLSLResourceBinding sampler(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the sampler field.

samplerback to summary
public SpvcHLSLResourceBinding sampler(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the sampler field to the specified Consumer.

setback to summary
public SpvcHLSLResourceBinding set(int stage, int desc_set, int binding, SpvcHLSLResourceBindingMapping cbv, SpvcHLSLResourceBindingMapping uav, SpvcHLSLResourceBindingMapping srv, SpvcHLSLResourceBindingMapping sampler)

Initializes this struct with the specified values.

setback to summary
public SpvcHLSLResourceBinding set(SpvcHLSLResourceBinding src)

Copies the specified struct data to this struct.

Parameters
src:SpvcHLSLResourceBinding

the source struct

Returns:SpvcHLSLResourceBinding

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
srvback to summary
public SpvcHLSLResourceBindingMapping srv()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the srv field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
srvback to summary
public SpvcHLSLResourceBinding srv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the srv field.

srvback to summary
public SpvcHLSLResourceBinding srv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the srv field to the specified Consumer.

stageback to summary
public int stage()
Returns:int

the value of the stage field.

Annotations
@NativeType:SpvExecutionModel
stageback to summary
public SpvcHLSLResourceBinding stage(int value)

Sets the specified value to the stage field.

uavback to summary
public SpvcHLSLResourceBindingMapping uav()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the uav field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
uavback to summary
public SpvcHLSLResourceBinding uav(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the uav field.

uavback to summary
public SpvcHLSLResourceBinding uav(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the uav field to the specified Consumer.

org.lwjgl.util.spvc back to summary

public Class SpvcHLSLResourceBinding.Buffer

extends StructBuffer<SpvcHLSLResourceBinding, SpvcHLSLResourceBinding.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of SpvcHLSLResourceBinding structs.

Field Summary

Modifier and TypeField and Description
private static final SpvcHLSLResourceBinding

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new SpvcHLSLResourceBinding.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the binding field.
binding
()

public SpvcHLSLResourceBinding.Buffer
binding(int value)

Sets the specified value to the binding field.

public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the cbv field.
cbv
()

public SpvcHLSLResourceBinding.Buffer
cbv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the cbv field.

public SpvcHLSLResourceBinding.Buffer
cbv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the cbv field to the specified Consumer.

public int

Returns:

the value of the desc_set field.
desc_set
()

public SpvcHLSLResourceBinding.Buffer
desc_set(int value)

Sets the specified value to the desc_set field.

protected SpvcHLSLResourceBinding
public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the sampler field.
sampler
()

public SpvcHLSLResourceBinding.Buffer
sampler(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the sampler field.

public SpvcHLSLResourceBinding.Buffer
sampler(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the sampler field to the specified Consumer.

protected SpvcHLSLResourceBinding.Buffer
public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the srv field.
srv
()

public SpvcHLSLResourceBinding.Buffer
srv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the srv field.

public SpvcHLSLResourceBinding.Buffer
srv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the srv field to the specified Consumer.

public int

Returns:

the value of the stage field.
stage
()

public SpvcHLSLResourceBinding.Buffer
stage(int value)

Sets the specified value to the stage field.

public SpvcHLSLResourceBindingMapping

Returns:

a SpvcHLSLResourceBindingMapping view of the uav field.
uav
()

public SpvcHLSLResourceBinding.Buffer
uav(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the uav field.

public SpvcHLSLResourceBinding.Buffer
uav(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the uav field to the specified Consumer.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final SpvcHLSLResourceBinding ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new SpvcHLSLResourceBinding.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by SpvcHLSLResourceBinding#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bindingback to summary
public int binding()
Returns:int

the value of the binding field.

Annotations
@NativeType:unsigned
bindingback to summary
public SpvcHLSLResourceBinding.Buffer binding(int value)

Sets the specified value to the binding field.

cbvback to summary
public SpvcHLSLResourceBindingMapping cbv()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the cbv field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
cbvback to summary
public SpvcHLSLResourceBinding.Buffer cbv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the cbv field.

cbvback to summary
public SpvcHLSLResourceBinding.Buffer cbv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the cbv field to the specified Consumer.

desc_setback to summary
public int desc_set()
Returns:int

the value of the desc_set field.

Annotations
@NativeType:unsigned
desc_setback to summary
public SpvcHLSLResourceBinding.Buffer desc_set(int value)

Sets the specified value to the desc_set field.

getElementFactoryback to summary
protected SpvcHLSLResourceBinding getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
samplerback to summary
public SpvcHLSLResourceBindingMapping sampler()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the sampler field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
samplerback to summary
public SpvcHLSLResourceBinding.Buffer sampler(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the sampler field.

samplerback to summary
public SpvcHLSLResourceBinding.Buffer sampler(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the sampler field to the specified Consumer.

selfback to summary
protected SpvcHLSLResourceBinding.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
srvback to summary
public SpvcHLSLResourceBindingMapping srv()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the srv field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
srvback to summary
public SpvcHLSLResourceBinding.Buffer srv(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the srv field.

srvback to summary
public SpvcHLSLResourceBinding.Buffer srv(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the srv field to the specified Consumer.

stageback to summary
public int stage()
Returns:int

the value of the stage field.

Annotations
@NativeType:SpvExecutionModel
stageback to summary
public SpvcHLSLResourceBinding.Buffer stage(int value)

Sets the specified value to the stage field.

uavback to summary
public SpvcHLSLResourceBindingMapping uav()
Returns:SpvcHLSLResourceBindingMapping

a SpvcHLSLResourceBindingMapping view of the uav field.

Annotations
@NativeType:spvc_hlsl_resource_binding_mapping
uavback to summary
public SpvcHLSLResourceBinding.Buffer uav(SpvcHLSLResourceBindingMapping value)

Copies the specified SpvcHLSLResourceBindingMapping to the uav field.

uavback to summary
public SpvcHLSLResourceBinding.Buffer uav(Consumer<SpvcHLSLResourceBindingMapping> consumer)

Passes the uav field to the specified Consumer.