DescriptorSetUpdater.Bind

Bind(IBuffer, int, int)

Bind the buffer to current descriptor set

public DescriptorSetUpdater Bind(IBuffer buffer, int offset, int size)
ParameterTypeDescription
bufferIBufferWhich buffer to bind
offsetInt32Offset of the buffer to bind
sizeInt32Size of the buffer to bind

Return Value

Return current instance for chaining operation

See Also


Bind(IBuffer)

Bind the entire buffer to current descriptor

public DescriptorSetUpdater Bind(IBuffer buffer)
ParameterTypeDescription
bufferIBuffer

Return Value

Return current instance for chaining operation

See Also


Bind(int, IBuffer)

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

public DescriptorSetUpdater Bind(int binding, IBuffer buffer)
ParameterTypeDescription
bindingInt32Binding location
bufferIBufferThe entire buffer to bind

Return Value

Return current instance for chaining operation

See Also


Bind(int, IBuffer, int, int)

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

public DescriptorSetUpdater Bind(int binding, IBuffer buffer, int offset, int size)
ParameterTypeDescription
bindingInt32Binding location
bufferIBufferThe buffer to bind
offsetInt32Offset of the buffer to bind
sizeInt32Size of the buffer to bind

Return Value

Return current instance for chaining operation

See Also


Bind(ITextureUnit)

Bind the texture unit to current descriptor set

public DescriptorSetUpdater Bind(ITextureUnit texture)
ParameterTypeDescription
textureITextureUnitThe texture unit to bind

Return Value

Return current instance for chaining operation

See Also


Bind(int, ITextureUnit)

Bind the texture unit to current descriptor set

public DescriptorSetUpdater Bind(int binding, ITextureUnit texture)
ParameterTypeDescription
bindingInt32The binding location
textureITextureUnitThe texture unit to bind

Return Value

Return current instance for chaining operation

See Also