DescriptorSetUpdater
Inheritance: java.lang.Object
All Implemented Interfaces: java.io.Closeable
public final class DescriptorSetUpdater implements Closeable
Denna klass tillåter att uppdatera IDescriptorSet i en kedjeoperation.
Metoder
| Metod | Beskrivning |
|---|---|
| bind(IBuffer buffer) | Binda hela bufferten till aktuellt deskriptor |
| bind(IBuffer buffer, int offset, int size) | Binda bufferten till aktuellt descriptor set |
| bind(ITextureUnit texture) | Binda texturenheten till aktuellt descriptor set |
| bind(int binding, IBuffer buffer) | Binda bufferten till aktuellt descriptor set vid angiven bindningsplats. |
| bind(int binding, IBuffer buffer, int offset, int size) | Binda bufferten till aktuellt descriptor set vid angiven bindningsplats. |
| bind(int binding, ITextureUnit texture) | Binda texturenheten till aktuellt descriptor set |
| close() | Disposera uppdateraren och verkställ ändringarna på hårdvaruenheten. |
| 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)
Binda hela bufferten till aktuellt deskriptor
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| 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)
Binda bufferten till aktuellt descriptor set
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| buffer | IBuffer | Vilken buffert som ska bindas |
| förskjutning | int | Förskjutning för bufferten som ska bindas |
| storlek | int | Storlek på bufferten som ska bindas |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
bind(ITextureUnit texture)
public DescriptorSetUpdater bind(ITextureUnit texture)
Binda texturenheten till aktuellt descriptor set
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| texture | ITextureUnit | Texturenheten som ska bindas |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
bind(int binding, IBuffer buffer)
public DescriptorSetUpdater bind(int binding, IBuffer buffer)
Binda bufferten till aktuellt descriptor set vid angiven bindningsplats.
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| bindning | int | Bindningsplats |
| buffer | IBuffer | Hela bufferten som ska bindas |
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)
Binda bufferten till aktuellt descriptor set vid angiven bindningsplats.
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| bindning | int | Bindningsplats |
| buffer | IBuffer | Bufferten som ska bindas |
| förskjutning | int | Förskjutning för bufferten som ska bindas |
| storlek | int | Storlek på bufferten som ska bindas |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
bind(int binding, ITextureUnit texture)
public DescriptorSetUpdater bind(int binding, ITextureUnit texture)
Binda texturenheten till aktuellt descriptor set
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| bindning | int | Bindningsplatsen |
| texture | ITextureUnit | Texturenheten som ska bindas |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
close()
public void close()
Disposera uppdateraren och verkställ ändringarna på hårdvaruenheten.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| 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 | Typ | Beskrivning |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| arg0 | long | |
| arg1 | int |