#include <SkSLUtil.h>
Definition at line 164 of file SkSLUtil.h.
◆ Default()
static const ShaderCaps * SkSL::ShaderCapsFactory::Default |
( |
| ) |
|
|
inlinestatic |
Definition at line 166 of file SkSLUtil.h.
166 {
169 caps->fVersionDeclString = "#version 400";
170 caps->fShaderDerivativeSupport = true;
171 return caps.release();
172 }();
173 return sCaps;
174 }
static std::unique_ptr< ShaderCaps > MakeShaderCaps()
◆ MakeShaderCaps()
std::unique_ptr< ShaderCaps > SkSL::ShaderCapsFactory::MakeShaderCaps |
( |
| ) |
|
|
staticprotected |
Definition at line 25 of file SkSLUtil.cpp.
25 {
26 std::unique_ptr<ShaderCaps> standalone = std::make_unique<ShaderCaps>();
27 standalone->fShaderDerivativeSupport = true;
28 standalone->fExplicitTextureLodSupport = true;
29 standalone->fFlatInterpolationSupport = true;
30 standalone->fNoPerspectiveInterpolationSupport = true;
31 standalone->fSampleMaskSupport = true;
32 standalone->fExternalTextureSupport = true;
33 return standalone;
34}
◆ Standalone()
static const ShaderCaps * SkSL::ShaderCapsFactory::Standalone |
( |
| ) |
|
|
inlinestatic |
Definition at line 176 of file SkSLUtil.h.
176 {
178 return sCaps;
179 }
The documentation for this class was generated from the following files: