DescriptorSetUpdater

Inheritance: java.lang.Object

All Implemented Interfaces: java.io.Closeable

public final class DescriptorSetUpdater implements Closeable

This class allows to update the IDescriptorSet in a chain operation.

Methods

MethodDescription
bind(IBuffer buffer)Bind the entire buffer to current descriptor
bind(IBuffer buffer, int offset, int size)Bind the buffer to current descriptor set
bind(ITextureUnit texture)Bind the texture unit to current descriptor set
bind(int binding, IBuffer buffer)Bind the buffer to current descriptor set at specified binding location.
bind(int binding, IBuffer buffer, int offset, int size)Bind the buffer to current descriptor set at specified binding location.
bind(int binding, ITextureUnit texture)Bind the texture unit to current descriptor set
close()Dispose the updater and commit the changes to hardware device.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

bind(IBuffer buffer)

public DescriptorSetUpdater bind(IBuffer buffer)

Bind the entire buffer to current descriptor

Parameters:

ParameterTypeDescription
bufferIBuffer

Returns: DescriptorSetUpdater - Return current instance for chaining operation

bind(IBuffer buffer, int offset, int size)

public DescriptorSetUpdater bind(IBuffer buffer, int offset, int size)

Bind the buffer to current descriptor set

Parameters:

ParameterTypeDescription
bufferIBufferWhich buffer to bind
offsetintOffset of the buffer to bind
sizeintSize of the buffer to bind

Returns: DescriptorSetUpdater - Return current instance for chaining operation

bind(ITextureUnit texture)

public DescriptorSetUpdater bind(ITextureUnit texture)

Bind the texture unit to current descriptor set

Parameters:

ParameterTypeDescription
textureITextureUnitThe texture unit to bind

Returns: DescriptorSetUpdater - Return current instance for chaining operation

bind(int binding, IBuffer buffer)

public DescriptorSetUpdater bind(int binding, IBuffer buffer)

Bind the buffer to current descriptor set at specified binding location.

Parameters:

ParameterTypeDescription
bindingintBinding location
bufferIBufferThe entire buffer to bind

Returns: DescriptorSetUpdater - Return current instance for chaining operation

bind(int binding, IBuffer buffer, int offset, int size)

public DescriptorSetUpdater bind(int binding, IBuffer buffer, int offset, int size)

Bind the buffer to current descriptor set at specified binding location.

Parameters:

ParameterTypeDescription
bindingintBinding location
bufferIBufferThe buffer to bind
offsetintOffset of the buffer to bind
sizeintSize of the buffer to bind

Returns: DescriptorSetUpdater - Return current instance for chaining operation

bind(int binding, ITextureUnit texture)

public DescriptorSetUpdater bind(int binding, ITextureUnit texture)

Bind the texture unit to current descriptor set

Parameters:

ParameterTypeDescription
bindingintThe binding location
textureITextureUnitThe texture unit to bind

Returns: DescriptorSetUpdater - Return current instance for chaining operation

close()

public void close()

Dispose the updater and commit the changes to hardware device.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int