Back to Three Js

FramebufferTexture

docs/pages/FramebufferTexture.html

latest2.0 KB
Original Source

Constructor

new FramebufferTexture( width : number, height : number )

Constructs a new framebuffer texture.

| width |

The width of the texture.

| | height |

The height of the texture.

|

Properties

.generateMipmaps : boolean

Whether to generate mipmaps (if possible) for a texture.

Overwritten and set to false by default.

Default is false.

Overrides: Texture#generateMipmaps

.isFramebufferTexture : boolean (readonly)

This flag can be used for type testing.

Default is true.

.magFilter : NearestFilter | NearestMipmapNearestFilter | NearestMipmapLinearFilter | LinearFilter | LinearMipmapNearestFilter | LinearMipmapLinearFilter

How the texture is sampled when a texel covers more than one pixel.

Overwritten and set to NearestFilter by default to disable filtering.

Default is NearestFilter.

Overrides: Texture#magFilter

.minFilter : NearestFilter | NearestMipmapNearestFilter | NearestMipmapLinearFilter | LinearFilter | LinearMipmapNearestFilter | LinearMipmapLinearFilter

How the texture is sampled when a texel covers less than one pixel.

Overwritten and set to NearestFilter by default to disable filtering.

Default is NearestFilter.

Overrides: Texture#minFilter

Source

src/textures/FramebufferTexture.js