コード例 #1
0
ファイル: Access.cs プロジェクト: h3tch/ProtoFX
 public static uvec4 texture(Location location, usampler1DArray sampler, vec2 P, float bias = 0)
 {
     return(textureu(location, sampler.i, P.x, P.y, 0, 0, GetPName.TextureBinding1DArray));
 }
コード例 #2
0
ファイル: Access.cs プロジェクト: h3tch/ProtoFX
 public static uvec4 texelFetch(Location location, usampler1DArray sampler, ivec2 P, int lod)
 {
     return(Shader.TraceFunction(location, new uvec4(texelFetch <uint>(location, sampler.i, P.x, P.y, 0, lod, GetPName.TextureBinding1DArray)), "texelFetch"));
 }
コード例 #3
0
 protected extern uivec4 textureGradOffset(usampler1DArray sampler, vec2 p, float dPdx, float dPdy, int offset);
コード例 #4
0
 protected extern uivec4 texture(usampler1DArray sampler, float p, float bias     = 0);
コード例 #5
0
 protected extern ivec2 textureSize(usampler1DArray sampler, int lod);
コード例 #6
0
 protected extern uivec4 textureGrad(usampler1DArray sampler, vec2 p, float dPdx, float dPdy);
コード例 #7
0
 protected extern uivec4 textureLodOffset(usampler1DArray sampler, vec2 p, int lod, int offset);
コード例 #8
0
 protected extern uivec4 texelFetchOffset(usampler1DArray sampler, ivec2 p, int lod, int offset);
コード例 #9
0
 protected extern uivec4 texelFetch(usampler1DArray sampler, ivec2 p, int lod);
コード例 #10
0
 protected extern uivec4 textureOffset(usampler1DArray sampler, vec2 p, int offset, float bias   = 0);
コード例 #11
0
 protected extern uivec4 textureLod(usampler1DArray sampler, vec2 p, float lod);