Bind

DescriptorSetUpdater.Bind method (1 of 6)

Bind the buffer to current descriptor set

public DescriptorSetUpdater Bind(IBuffer buffer, int offset, int size)
Parameter Type Description
buffer IBuffer Which buffer to bind
offset Int32 Offset of the buffer to bind
size Int32 Size of the buffer to bind

Return Value

Return current instance for chaining operation

See Also


DescriptorSetUpdater.Bind method (2 of 6)

Bind the entire buffer to current descriptor

public DescriptorSetUpdater Bind(IBuffer buffer)
Parameter Type Description
buffer IBuffer

Return Value

Return current instance for chaining operation

See Also


DescriptorSetUpdater.Bind method (3 of 6)

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

public DescriptorSetUpdater Bind(int binding, IBuffer buffer)
Parameter Type Description
binding Int32 Binding location
buffer IBuffer The entire buffer to bind

Return Value

Return current instance for chaining operation

See Also


DescriptorSetUpdater.Bind method (4 of 6)

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

public DescriptorSetUpdater Bind(int binding, IBuffer buffer, int offset, int size)
Parameter Type Description
binding Int32 Binding location
buffer IBuffer The buffer to bind
offset Int32 Offset of the buffer to bind
size Int32 Size of the buffer to bind

Return Value

Return current instance for chaining operation

See Also


DescriptorSetUpdater.Bind method (5 of 6)

Bind the texture unit to current descriptor set

public DescriptorSetUpdater Bind(ITextureUnit texture)
Parameter Type Description
texture ITextureUnit The texture unit to bind

Return Value

Return current instance for chaining operation

See Also


DescriptorSetUpdater.Bind method (6 of 6)

Bind the texture unit to current descriptor set

public DescriptorSetUpdater Bind(int binding, ITextureUnit texture)
Parameter Type Description
binding Int32 The binding location
texture ITextureUnit The texture unit to bind

Return Value

Return current instance for chaining operation

See Also