Skip to content

How to fix the problem of post-process settings not showing up #21

Closed Answered by Adriwin06
noonka asked this question in Q&A
Discussion options

You must be logged in to vote

I guess it's time to start using C++ and do something like that:

#include "RHI.h"
#include "RHIDefinitions.h"
#include "YourProjectName.h" // Project's header file
#include "RayTracingSupportHelper.generated.h"

UCLASS()
class PROJECTNAME_API URayTracingSupportHelper : public UObject
{
    GENERATED_BODY()

public:
    UFUNCTION(BlueprintCallable, Category = "Ray Tracing")
    static bool IsRayTracingSupported()
    {
        // Check if the GPU supports Ray Tracing
        return GSupportsRayTracing;
    }
};

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@Adriwin06
Comment options

@Adriwin06
Comment options

@noonka
Comment options

@Adriwin06
Comment options

Answer selected by Adriwin06
@noonka
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants