20 lines
594 B
HLSL
20 lines
594 B
HLSL
|
#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).
|
||
|
SamplerState sampler_PointClamp;
|
||
|
SamplerState sampler_LinearClamp;
|
||
|
SamplerState sampler_PointRepeat;
|
||
|
SamplerState sampler_LinearRepeat;
|
||
|
|
||
|
// SLZ MODIFIED // More samplers
|
||
|
|
||
|
SAMPLER(sampler_TrilinearRepeat);
|
||
|
SAMPLER(sampler_TrilinearClamp);
|
||
|
|
||
|
// END SLZ MODIFIED
|
||
|
|
||
|
#endif //UNITY_CORE_SAMPLERS_INCLUDED
|