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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
buffer | IBuffer |
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:
Parameter | Type | Description |
---|---|---|
buffer | IBuffer | Which buffer to bind |
offset | int | Offset of the buffer to bind |
size | int | Size 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:
Parameter | Type | Description |
---|---|---|
texture | ITextureUnit | The 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:
Parameter | Type | Description |
---|---|---|
binding | int | Binding location |
buffer | IBuffer | The 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:
Parameter | Type | Description |
---|---|---|
binding | int | Binding location |
buffer | IBuffer | The buffer to bind |
offset | int | Offset of the buffer to bind |
size | int | Size 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:
Parameter | Type | Description |
---|---|---|
binding | int | The binding location |
texture | ITextureUnit | The 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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |