b3dSetReflectionQuality

Sets reflection texture resolution (quality vs performance tradeoff, clamped to 4096x4096 max). Takes entity (reflective entity handle), width, height (texture dimensions in pixels). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entity Int
width Int
height Int

Returns

Void

Quick Summary

Sets reflection texture resolution (quality vs performance tradeoff, clamped to 4096x4096 max). Takes entity (reflective entity handle), width, height (texture dimensions in pixels). Returns nothing.

Technical Exegesis...

Sets reflection texture resolution (quality vs performance tradeoff, clamped to 4096x4096 max). Takes entity (reflective entity handle), width, height (texture dimensions in pixels). Returns nothing. Validates entity is reflective and dimensions positive, clamps to max 4096x4096, stores new dimensions in entity.reflectionTextureWidth/Height, sets reflectionNeedsRecreation flag for safe recreation at next reflection pass, updates reflection camera viewport to match new texture size.

Example

Example.bam
; No example implemented yet