Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Adding function ComputeBuffer.GetNativeComputeBufferPtr()

Discussion in 'Unity 5 Pre-order Beta' started by qdrhbdfq, Jan 20, 2015.

  1. qdrhbdfq

    qdrhbdfq

    Joined:
    Aug 19, 2013
    Posts:
    3
    It is possible to add a function GetNativeComputeBufferPtr in ComputeBuffer class?

    It should behave similarly as Texture.GetNativeTexturePtr(). i.e. : With D3D11 devices the function should return a ID3D11Resource and with OpenGL devices the function should return the identifier (interger) of the buffer.