i not able to use RaytracingAccelerationStructure inside Custom HLSL Block.it give an error
error in ‘[New VFX] [Simple Loop] Update Particles’: unrecognized identifier ‘RaytracingAccelerationStructure’ at kernel CSMain at node.hlsl(3) (on d3d11)
here my source file for HLSL block
#include "UnityRayQuery.cginc"
//globe property
//shader.SetGlobalRayTracingAccelerationStructure
RaytracingAccelerationStructure g_AccelStruct;
float Distance(in float3 a, in float3 b)
{
return distance(a, b);
}
vfx graph