Skip to content

@orillusion/core


Class: RTResourceConfig

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:9

Canonical string keys for the engine's well-known render-target textures (G-buffer attachments, z-buffers, the post output target). Used as lookup names in RTResourceMap so passes and materials refer to the same RT by a stable identifier.

Constructors

Constructor

new RTResourceConfig(): RTResourceConfig

Returns

RTResourceConfig

Properties

compressGBufferTex_NAME

static compressGBufferTex_NAME: string = 'compressGBufferTex_NAME'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:11

Key for the packed/compressed G-buffer texture.


colorBufferTex_NAME

static colorBufferTex_NAME: string = 'colorBufferTex'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:13

Key for the scene color attachment.


positionBufferTex_NAME

static positionBufferTex_NAME: string = 'positionBufferTex'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:15

Key for the world-position G-buffer attachment.


normalBufferTex_NAME

static normalBufferTex_NAME: string = 'normalBufferTex'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:17

Key for the world-normal G-buffer attachment.


materialBufferTex_NAME

static materialBufferTex_NAME: string = 'materialBufferTex'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:19

Key for the material-parameter G-buffer attachment.


zBufferTexture_NAME

static zBufferTexture_NAME: string = 'zBufferTexture'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:21

Key for the main depth (z) buffer texture.


zPreDepthTexture_NAME

static zPreDepthTexture_NAME: string = 'zPreDepthTexture'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:23

Key for the z-prepass depth texture.


outTex_NAME

static outTex_NAME: string = 'outTex'

Defined in: src/gfx/renderJob/config/RTResourceConfig.ts:25

Key for the post-processing output texture.