View Full Version : Bindless Texture Modify Parameter after GetTextureHandle Broken(?)

03-18-2016, 01:57 AM
I am (successfully) using bindless textures:

1. Create Texture Object32
2. Set params
3. Allocate/Create Content (Depth_Component in my case)
4. Get Handle64, Make Resident
5. Attach To FrameBuffer
6. (Use as regular Depth Buffer)
So far so good:

However, once I have the handle64 (not even making the texture resident) I cannot modify the parameters of the original texture object.
It seems there is no way to release the Handle64.

The following post seems to have a similar problem, but could not solve the problem.


Did I overlook something or is the bindless stuff only half baked.

Best Regards.

Alfonse Reinheart
03-18-2016, 05:54 AM
It's not "half-baked"; this is by design. You aren't allowed to modify a texture object after you get a handle. Ever. Full Stop.

The better question would be why you are trying to modify the textures parameters? If you have some legitimate need for this, you can create a view texture (https://www.opengl.org/wiki/View_Texture) of the original with its own set of texture parameters (https://www.opengl.org/wiki/Texture#Parameters).