Пример #1
0
 public static vec4 texture(sampler2DArray tex, vec3 coord)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 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
 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);