示例#1
0
 public static vec4 texture(sampler2DArray tex, vec3 coord)
 {
     throw new NotImplementedException();
 }
示例#2
0
文件: Access.cs 项目: h3tch/ProtoFX
 public static vec4 texture(Location location, sampler2DArray sampler, vec3 P, float bias = 0)
 {
     return(texturef(location, sampler.i, P.x, P.y, P.z, 0, GetPName.TextureBinding2DArray));
 }
示例#3
0
文件: Access.cs 项目: h3tch/ProtoFX
 public static vec4 texelFetch(Location location, sampler2DArray sampler, ivec3 P, int lod)
 {
     return(Shader.TraceFunction(location, new vec4(texelFetch <float>(location, sampler.i, P.x, P.y, P.z, lod, GetPName.TextureBinding2DArray)), "texelFetch"));
 }
示例#4
0
 protected extern vec4 textureGradOffset(sampler2DArray sampler, vec3 p, vec2 dPdx, vec2 dPdy, ivec2 offset);
示例#5
0
 protected extern vec4 texture(sampler2DArray sampler, vec2 p, float bias         = 0);
示例#6
0
 protected extern ivec3 textureSize(sampler2DArray sampler, int lod);
示例#7
0
 protected extern vec4 textureGrad(sampler2DArray sampler, vec3 p, vec2 dPdx, vec2 dPdy);
示例#8
0
 protected extern vec4 textureLodOffset(sampler2DArray sampler, vec3 p, int lod, ivec2 offset);
示例#9
0
 protected extern vec4 texelFetchOffset(sampler2DArray sampler, ivec3 p, int lod, ivec2 offset);
示例#10
0
 protected extern vec4 texelFetch(sampler2DArray sampler, ivec3 p, int lod);
示例#11
0
 protected extern vec4 textureOffset(sampler2DArray sampler, vec3 p, ivec2 offset, float bias    = 0);
示例#12
0
 protected extern vec4 textureLod(sampler2DArray sampler, vec3 p, float lod);