Search Feedback

0
votes

Create any texture with UAV binding flag

Scripting

-

-

Allow the creation of any texture (not just render targets) with the UAV flag set. Alternatively, add CreateExternalTexture functionality to all texture types (including Texture3D).

In particular, for 3D textures applying the render target binding flag causes the internal memory layout to be suboptimal for trilinear interpolation. The texture is laid out as a series of 2D slices (like a texture array). Having the UAV flag but _not_ the render target flag is much preferable for 3D textures that are generated by compute (e.g. LUTs, SDFs).

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10883)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(363)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(146)

Collaborate

(67)

Docs & Tutorials

(246)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(189)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)