예제 #1
0
파일: Access.cs 프로젝트: h3tch/ProtoFX
 public static ivec4 texture(Location location, isampler1DArray sampler, vec2 P, float bias = 0)
 {
     return(texturei(location, sampler.i, P.x, P.y, 0, 0, GetPName.TextureBinding1DArray));
 }
예제 #2
0
파일: Access.cs 프로젝트: h3tch/ProtoFX
 public static ivec4 texelFetch(Location location, isampler1DArray sampler, ivec2 P, int lod)
 {
     return(Shader.TraceFunction(location, new ivec4(texelFetch <int>(location, sampler.i, P.x, P.y, 0, lod, GetPName.TextureBinding1DArray)), "texelFetch"));
 }
예제 #3
0
 protected extern ivec4 textureGradOffset(isampler1DArray sampler, vec2 p, float dPdx, float dPdy, int offset);
예제 #4
0
 protected extern ivec4 texture(isampler1DArray sampler, float p, float bias      = 0);
예제 #5
0
 protected extern ivec2 textureSize(isampler1DArray sampler, int lod);
예제 #6
0
 protected extern ivec4 textureGrad(isampler1DArray sampler, vec2 p, float dPdx, float dPdy);
예제 #7
0
 protected extern ivec4 textureLodOffset(isampler1DArray sampler, vec2 p, int lod, int offset);
예제 #8
0
 protected extern ivec4 texelFetchOffset(isampler1DArray sampler, ivec2 p, int lod, int offset);
예제 #9
0
 protected extern ivec4 texelFetch(isampler1DArray sampler, ivec2 p, int lod);
예제 #10
0
 protected extern ivec4 textureOffset(isampler1DArray sampler, vec2 p, int offset, float bias    = 0);
예제 #11
0
 protected extern ivec4 textureLod(isampler1DArray sampler, vec2 p, float lod);