Author Topic: NVIDIA Bindless Textures Demo  (Read 411 times)

0 Members and 1 Guest are viewing this topic.

gtx660

  • Zombie
  • *
  • Posts: 1
    • View Profile
NVIDIA Bindless Textures Demo
« on: October 01, 2018, 01:48:05 PM »
https://www.geeks3d.com/20120511/nvidia-gtx-680-opengl-bindless-textures-demo/

https://www.geeks3d.com/downloads/201205/GXL_NV_Bindless_Texture_Demo.zip

I would like to translate code from GXL_NV_Bindless_Texture_Demo.xml to standard C/C++ language.

For example instructions like HYP_UniformBuffer.SetArrayElement_u64_BindlessTexture_NV, and their equivalent in GLEW.

Could someone post some tips ?




JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1623
    • View Profile
    • Geeks3D.com
Re: NVIDIA Bindless Textures Demo
« Reply #1 on: October 01, 2018, 04:53:59 PM »
HYP_UniformBuffer.SetArrayElement_u64_BindlessTexture_NV  (really awful function name!!!) has no direct equivalent in OpenGL. Actually the code creates an uniform buffer (GL_UNIFORM_BUFFER) with num_textures entries and set entries with NVIDIA texture handles (which are uint64 or ui64).  Look at the GL_NV_bindless_texture extension for more details. It's a very old demo and I no longer have all details in mind...