Class UniformBuffer

A uniform buffer object.

class UniformBuffer(T)
  
if (isStruct!T);

Constructors

NameDescription
this (bindingLocation, shaderStage, value) Initialize a new uniform buffer.
this (name, bindingLocation, shaderStage, value) Initialize a new named uniform buffer.

Methods

NameDescription
update (value) Update the uniform value.