create_uniform_buffer method

create_uniform_buffer

Create a new uniform buffer in GPU side with pre-allocated size.

Returns

The uniform buffer instance

def create_uniform_buffer(self, size):
    ...
ParameterTypeDescription
sizeintThe size of the uniform buffer

See Also