![]() |
![]()
| ![]() |
![]()
NAMEimage_storage_slice - SYNOPSIStrue or false
DESCRIPTIONSome rendering effects require specialised storage layouts that we refer to as 'sliced', from the fact that they represent slices of some geometry. Typical such layouts are 'cubemaps' ( SLICE_CUBEMAP ) and '3D' textures ( SLICE_ 3D). This is not normally supported by the engine, but the backing store of a video object can irreversibly be converted to such storage formats with the use of this function. The function returns true if the backing store was successfully converted. This property will then carry through when using image_sharestorage . Calling the function multiple times with the same input set will update the slices that has a more recent upload timestamp than the previous slice in the corresponding slot. The performance characteristics of this function also vary with the underlying hardware platform, the source format of the individual slices and the GPU affinity of the individual slices. The default and typically worst case requires a full GPU -> CPU -> GPU synchronous transfer and is thus not suitable for high rate updates. NOTES
EXAMPLEfunction image_storage_slice0() SEE ALSO:
|