rhi.Bindless.Resources

rhi.Bindless.Resources

#Overview

name: rhi.Bindless.Resources

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/RHI/Private/RHI.cpp:1179

Scope: file

Source code excerpt:

FString GRHIBindlessResourceConfiguration = TEXT("Disabled");
static FAutoConsoleVariableRef CVarEnableBindlessResources(
	TEXT("rhi.Bindless.Resources"),
	GRHIBindlessResourceConfiguration,
	TEXT("Set to Enabled to enable for all shader types. Set to RayTracingOnly to restrict to Raytracing shaders."),
	ECVF_ReadOnly
);

FString GRHIBindlessSamplerConfiguration = TEXT("Disabled");

#Loc: <Workspace>/Engine/Source/Runtime/RenderCore/Private/ShaderCore.cpp:604

Scope (from outer to inner):

file
function     ERHIBindlessConfiguration UE::ShaderCompiler::GetBindlessResourcesConfiguration

Source code excerpt:

ERHIBindlessConfiguration UE::ShaderCompiler::GetBindlessResourcesConfiguration(FName ShaderFormat)
{
	static IConsoleVariable* const BindlessResourcesCVar = IConsoleManager::Get().FindConsoleVariable(TEXT("rhi.Bindless.Resources"));
	return GetBindlessConfiguration(ShaderFormat, TEXT("BindlessResources"), BindlessResourcesCVar);
}

ERHIBindlessConfiguration UE::ShaderCompiler::GetBindlessSamplersConfiguration(FName ShaderFormat)
{
	static IConsoleVariable* const BindlessSamplersCVar = IConsoleManager::Get().FindConsoleVariable(TEXT("rhi.Bindless.Samplers"));