Unity Web Shader IDE
Full source <CORE>/ShaderLibrary/GlobalSamplers.hlsl HLSL 15 lines 1 symbols 0 includes Hide source Show source
GlobalSamplers.hlsl <CORE>/ShaderLibrary/GlobalSamplers.hlsl
Language
HLSL
Lines
15
Symbols
1
Includes
0
Open IDE root

<CORE>/ShaderLibrary/GlobalSamplers.hlsl full source

#ifndef UNITY_CORE_SAMPLERS_INCLUDED
#define UNITY_CORE_SAMPLERS_INCLUDED

// Common inline samplers.
// Separated into its own file for robust including from any other file.
// Helps with sharing samplers between intermediate and/or procedural textures (D3D11 has a active sampler limit of 16).
SAMPLER(sampler_PointClamp);
SAMPLER(sampler_LinearClamp);
SAMPLER(sampler_TrilinearClamp);
SAMPLER(sampler_PointRepeat);
SAMPLER(sampler_LinearRepeat);
SAMPLER(sampler_TrilinearRepeat);

#endif //UNITY_CORE_SAMPLERS_INCLUDED