16 lines
207 B
JavaScript
16 lines
207 B
JavaScript
import Buffer from './Buffer.js';
|
|
|
|
class UniformBuffer extends Buffer {
|
|
|
|
constructor( name, buffer = null ) {
|
|
|
|
super( name, buffer );
|
|
|
|
this.isUniformBuffer = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default UniformBuffer;
|