FramebufferTexture constructor

FramebufferTexture(
  1. int width,
  2. int height, [
  3. int format = RGBAFormat
])

Implementation

FramebufferTexture(int width, int height, [int format = RGBAFormat]):super(null, null, null, null, null, null, format) {
  this.format = format;
  image = ImageElement(
    width: width,
    height: height
  );
  magFilter = NearestFilter;
  minFilter = NearestFilter;
  generateMipmaps = false;
  needsUpdate = true;
}