mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-04 22:01:07 +00:00
Ray Query API interception and serialisation
Ignoring acceleration structure host-build for now, and by extension deferred operation handle functions are pass-though (i.e. ignored on replay).
This commit is contained in:
committed by
Baldur Karlsson
parent
e5410ad8fb
commit
fa70f8fa87
@@ -327,7 +327,7 @@ public:
|
||||
{
|
||||
const size_t lastIdx = size();
|
||||
reserve(size() + 1);
|
||||
new(elems + lastIdx) T(std::forward<ConstructArgs...>(args)...);
|
||||
new(elems + lastIdx) T(std::forward<ConstructArgs>(args)...);
|
||||
setUsedCount(usedCount + 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -657,6 +657,11 @@ API-specific concepts.
|
||||
|
||||
An object which pools together other objects in an opaque way, either for runtime allocation and
|
||||
deallocation, or for caching purposes.
|
||||
|
||||
.. data:: AccelerationStructure
|
||||
|
||||
A structure used to carry implementation-defined spatial partitioning data and related
|
||||
information, used to accelerate geometry intersection queries (e.g. for ray tracing).
|
||||
)");
|
||||
enum class ResourceType : uint32_t
|
||||
{
|
||||
@@ -683,6 +688,8 @@ enum class ResourceType : uint32_t
|
||||
Query,
|
||||
Sync,
|
||||
Pool,
|
||||
|
||||
AccelerationStructure,
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_ENUM(ResourceType);
|
||||
|
||||
Reference in New Issue
Block a user