Skip to content

Documentation / device / FrameBufferTextureAttachment

Interface: FrameBufferTextureAttachment

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

Frame buffer texture attachment information

Properties

texture?

optional texture?: BaseTexture

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

Texture for this attachment


face?

optional face?: number

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

The attached face index for cube texture


layer?

optional layer?: number

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

The layer index for array texture


level?

optional level?: number

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

Which mipmap level is currently attached


generateMipmaps?

optional generateMipmaps?: boolean

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

Whether automatically generate mipmaps for color attachments

Released under the MIT License.