FramebufferTexture constructor

FramebufferTexture(
  1. dynamic width,
  2. dynamic height,
  3. dynamic format
)

Implementation

FramebufferTexture(width, height, format) : super(null, null, null, null, null, null, format, null, null, null) {
  this.format = format;

  magFilter = NearestFilter;
  minFilter = NearestFilter;
  generateMipmaps = false;
  needsUpdate = true;
}