Class BindingDescriptor

A GPU descriptor binding, e.g. uniform buffer or texture sampler.

class BindingDescriptor
  : NamedComponent ;

Constructors

NameDescription
this (bindingLocation)

Fields

NameTypeDescription
onChanged Event!(const(ubyte)[])Fired when this BindingDescriptor's data changes.

Properties

NameTypeDescription
bindingLocation[get] uintDescriptor binding location, e.g. layout(binding = 0) in GLSL.
dirty[get] boolWhether this uniform's data is new or changed and needs to be uploaded to the GPU.
shaderStage[get] gfx.graal.pipeline.ShaderStageWhich shader stages this descriptor is going to be referenced.

See Also