Following the GDC presentation, the Mantle Beta SDK developer website will open in April. But there will only be selected access. You must contact AMD if you want to access it. You must also sign a confidentiality agreement. Because of this, I think there will be no public documentation available.
By the way, the predicate presentation shows some code snippets that give you some hints about what the API looks like. The Mantle seems more like Direct3D 12 , which offers pipeline state objects, a list of commands, heaps of descriptors, and tables.
OpenGL already has materials such as non-contact texture resources available .
This presentation shows some snippets of Mantle usage code - like this one:
GR_APPLICATION_INFO appINfo = {}; appInfo.pAppName = "myApp"; appInfo.pEngineName = "myEngine"; appInfo.apiVersion = GR_API_VERSION; GR_UINT32 gpuCount; GR_PYSICAL_GPU gups[GR_MAX_PHYSICAL_GPUS]; GR_RESULT result = grInitAndEnumerateGpus(&appInfo, nullptr, &gpuCount, &gpus[0]); if(result == GR_SUCCESS) { FindSutableGPu(gpus, gpuCount); }
You can register for the Mantle beta program here: http://developer.amd.com/mantle/
Vertexwahn
source share