Class: RenderContext
Constructors
Properties
Accessors
Methods
- clean
- beginContinueRendererPassState
- beginOpaqueRenderPass
- beginTransparentRenderPass
- specialtRenderPass
- endRenderPass
- begineNewCommand
- endCommand
- beginNewEncoder
- endEncoder
Constructors
constructor
• new RenderContext(rtFrame
): RenderContext
Parameters
Name | Type |
---|---|
rtFrame | RTFrame |
Returns
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:13
Properties
command
• command: GPUCommandEncoder
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:8
encoder
• encoder: GPURenderPassEncoder
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:9
Accessors
rendererPassState
• get
rendererPassState(): RendererPassState
Returns
RendererPassState
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:45
Methods
clean
▸ clean(): void
Returns
void
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:18
beginContinueRendererPassState
▸ beginContinueRendererPassState(color_loadOp?
, depth_loadOp?
): RendererPassState
continue renderer pass state
Parameters
Name | Type | Default value |
---|---|---|
color_loadOp | GPULoadOp | 'load' |
depth_loadOp | GPULoadOp | 'load' |
Returns
RendererPassState
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:27
beginOpaqueRenderPass
▸ beginOpaqueRenderPass(): void
Returns
void
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:49
beginTransparentRenderPass
▸ beginTransparentRenderPass(): void
Returns
void
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:55
specialtRenderPass
▸ specialtRenderPass(): void
Returns
void
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:61
endRenderPass
▸ endRenderPass(): void
Returns
void
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:67
begineNewCommand
▸ begineNewCommand(): GPUCommandEncoder
Returns
GPUCommandEncoder
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:72
endCommand
▸ endCommand(): void
Returns
void
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:77
beginNewEncoder
▸ beginNewEncoder(): GPURenderPassEncoder
Returns
GPURenderPassEncoder
Defined in
src/gfx/renderJob/passRenderer/RenderContext.ts:82
endEncoder
▸ endEncoder(): void
Returns
void