bgiSetCanvasImageShader

Sets a custom image rendering shader for a specific canvas. Takes canvasID (Int) and shaderID (Int). Returns nothing.

Shaders

Parameters & Returns

Parameters

canvasID Int
shaderID Int

Returns

Void

Quick Summary

Sets a custom image rendering shader for a specific canvas. Takes canvasID (Int) and shaderID (Int). Returns nothing.

Technical Exegesis...

Sets a custom image rendering shader for a specific canvas. Searches g_canvasMap for canvasID. If found, sets canvas.activeImageShader = shaderID. If canvas not found, function silently does nothing. No return value.

This function enables per-canvas image shader customization. ShaderID is from image shader loading function. Canvas.activeImageShader is stored in DX12Canvas structure.

Example

Example.bam
; No example implemented yet