DescriptorSetUpdater
Inheritance: java.lang.Object
All Implemented Interfaces: java.io.Closeable
public final class DescriptorSetUpdater implements Closeable
このクラスは、チェーン操作で IDescriptorSet を更新できるようにします。
メソッド
| メソッド | 説明 |
|---|---|
| bind(IBuffer buffer) | 現在のディスクリプタにバッファ全体をバインドする |
| bind(IBuffer buffer, int offset, int size) | 現在のディスクリプタセットにバッファをバインドする |
| bind(ITextureUnit texture) | 現在のディスクリプタセットにテクスチャユニットをバインドする |
| bind(int binding, IBuffer buffer) | 指定されたバインディング位置で現在のディスクリプタセットにバッファをバインドする。 |
| bind(int binding, IBuffer buffer, int offset, int size) | 指定されたバインディング位置で現在のディスクリプタセットにバッファをバインドする。 |
| bind(int binding, ITextureUnit texture) | 現在のディスクリプタセットにテクスチャユニットをバインドする |
| close() | アップデータを破棄し、変更をハードウェアデバイスにコミットする。 |
| 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)
現在のディスクリプタにバッファ全体をバインドする
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 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)
現在のディスクリプタセットにバッファをバインドする
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| buffer | IBuffer | どのバッファをバインドするか |
| オフセット | int | バインドするバッファのオフセット |
| サイズ | int | バインドするバッファのサイズ |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
bind(ITextureUnit texture)
public DescriptorSetUpdater bind(ITextureUnit texture)
現在のディスクリプタセットにテクスチャユニットをバインドする
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| texture | ITextureUnit | バインドするテクスチャユニット |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
bind(int binding, IBuffer buffer)
public DescriptorSetUpdater bind(int binding, IBuffer buffer)
指定されたバインディング位置で現在のディスクリプタセットにバッファをバインドする。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| バインディング | int | バインディング位置 |
| buffer | IBuffer | バインドする全体バッファ |
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)
指定されたバインディング位置で現在のディスクリプタセットにバッファをバインドする。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| バインディング | int | バインディング位置 |
| buffer | IBuffer | バインドするバッファ |
| オフセット | int | バインドするバッファのオフセット |
| サイズ | int | バインドするバッファのサイズ |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
bind(int binding, ITextureUnit texture)
public DescriptorSetUpdater bind(int binding, ITextureUnit texture)
現在のディスクリプタセットにテクスチャユニットをバインドする
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| バインディング | int | バインディング位置 |
| texture | ITextureUnit | バインドするテクスチャユニット |
Returns: DescriptorSetUpdater - Return current instance for chaining operation
close()
public void close()
アップデータを破棄し、変更をハードウェアデバイスにコミットする。
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 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:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |