Skip to content

Documentation / device / FrameBufferTextureAttachment

Interface: FrameBufferTextureAttachment ​

Defined in: libs/device/src/gpuobject.ts:1075

Frame buffer texture attachment information

Properties ​

texture? ​

optional texture?: BaseTexture

Defined in: libs/device/src/gpuobject.ts:1077

Texture for this attachment


face? ​

optional face?: number

Defined in: libs/device/src/gpuobject.ts:1079

The attached face index for cube texture


layer? ​

optional layer?: number

Defined in: libs/device/src/gpuobject.ts:1081

The layer index for array texture


level? ​

optional level?: number

Defined in: libs/device/src/gpuobject.ts:1083

Which mipmap level is currently attached


generateMipmaps? ​

optional generateMipmaps?: boolean

Defined in: libs/device/src/gpuobject.ts:1085

Whether automatically generate mipmaps for color attachments

Released under the MIT License.