/// <summary> /// Returns the mipmap array(s) that would be accessed in the x component of the return value. /// Returns the computed level of detail relative to the base level in the y component of the return value. /// If called on an incomplete texture, the results are undefined. /// </summary> protected static vec2 textureQueryLod(sampler3D sampler, vec3 P) { throw _invalidAccess; }
/// <summary>Use the texture coordinate P to do a texture lookup in the texture currently bound to sampler.</summary> protected static vec4 texture(sampler3D sampler, vec3 P, float bias) { throw _invalidAccess; }
/// <summary> /// Use integer texture coordinate P to lookup a single texel from sampler. /// The level-ofdetail lod is as described in sections 2.11.8 “Shader Execution” /// under Texel Fetches and 3.8 “Texturing” of the OpenGL GraphicsSystem Specification. /// </summary> protected static vec4 texelFetch(sampler3D sampler, ivec3 P, int lod) { throw _invalidAccess; }
/// <summary> Fetch a single texel as in texelFetch offset by offset as described in textureOffset. </summary> protected static uvec4 texelFetchOffset(sampler3D sampler, uvec3 P, int lod, ivec3 offset) { throw _invalidAccess; }
public static vec4 texture(sampler3D texture, vec3 uv) { return(null); }
/// <summary>Use the texture coordinate P to do a texture lookup in the texture currently bound to sampler.</summary> protected internal static vec4 Texture(sampler3D sampler, vec3 P) { throw _invalidAccess; }
protected extern vec4 textureProjLodOffset(sampler3D sampler, vec4 p, float lod, ivec3 offset);
public static vec4 texelFetch(Location location, sampler3D sampler, ivec3 P, int lod) { return(Shader.TraceFunction(location, new vec4(texelFetch <float>(location, sampler.i, P.x, P.y, P.z, lod, GetPName.TextureBinding3D)), "texelFetch")); }
protected extern vec4 textureLodOffset(sampler3D sampler, vec3 p, int lod, ivec3 offset);
protected extern vec4 textureProjLod(sampler3D sampler, vec4 p, float lod);
protected extern vec4 textureProjOffset(sampler3D sampler, vec4 p, ivec3 offset, float bias = 0);
protected extern vec4 texelFetchOffset(sampler3D sampler, ivec3 p, int lod, ivec3 offset);
protected extern vec4 texelFetch(sampler3D sampler, ivec3 p, int lod);
/// <summary>Do a texture lookup with both explicit gradient and offset, as described in textureGrad and textureOffset. </summary> protected static vec4 textureGradOffset(sampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy, ivec3 offset) { throw _invalidAccess; }
protected extern vec4 textureProGrad(sampler3D sampler, vec4 p, vec3 dPdx, vec3 dPdy);
/// <summary> Do an offset texture lookup with explicit LOD. See textureLod and textureOffset.</summary> protected static vec4 textureLodOffset(sampler3D sampler, vec3 P, float lod, ivec3 offset) { throw _invalidAccess; }
protected extern vec4 textureProjGradOffset(sampler3D sampler, vec4 p, vec3 dPdx, vec3 dPdy, ivec3 offset);
protected float4 Texture3D(sampler3D sampler, float3 coord, float bias) { return(new float4(1, 1, 1, 1)); }
protected extern vec4 texture(sampler3D sampler, vec3 p, float bias = 0);
protected extern ivec3 textureSize(sampler3D sampler, int lod);
protected extern vec4 textureProj(sampler3D sampler, vec4 p, float bias = 0);
/// <summary> /// Do a texture lookup as in texture but with explicit LOD; lod specifies λbase and sets the partial derivatives as follows. /// (See section 3.8.11 “Texture Minification” and equation 3.17 in the OpenGL Graphics SystemSpecification.) /// ∂u/∂x = 0; ∂v/∂x = 0; ∂w/∂x = 0; ∂u/∂y = 0; ∂v/∂y = 0; ∂w/∂y = 0; /// </summary> protected internal static vec4 TextureLod(sampler3D sampler, vec3 P, float lod) { throw _invalidAccess; }
protected extern vec4 textureLod(sampler3D sampler, vec3 p, float lod);
/// <summary>Do a texture lookup with projection. The texture coordinates consumed from P, /// not including the last component of P, are divided by the last component of P. /// After these values are computed,texture lookup proceeds as in texture.</summary> protected static vec4 textureProj(sampler3D sampler, vec4 P) { throw _invalidAccess; }
protected vec4 texture(sampler3D texture, vec3 uv) { throw new NotNeedToImplementException(); }
/// <summary> Do a projective texture lookup as described in textureProj offset by offset as described in textureOffset. </summary> protected static vec4 textureProjOffset(sampler3D sampler, vec4 P, ivec3 offset, float bias) { throw _invalidAccess; }
/// <summary> Do a texture lookup as in texture but with offset added to the (u,v,w) texel coordinates before looking up each texel. /// The offset value must be a constant expression. A limited range of offset values are supported; /// the minimum and maximum offset values are implementation-dependent and given by MIN_PROGRAM_TEXEL_OFFSET and MAX_PROGRAM_TEXEL_OFFSET, respectively. /// Note that offset does not apply to the layer coordinate for texture arrays. This is explained in detail in section 3.8.11 /// “Texture Minification” of the OpenGL Graphics System Specification, where offset is (∂u ,∂v ,∂w). /// </summary> protected internal static vec4 TextureOffset(sampler3D sampler, vec3 P, ivec3 offset, float bias) { throw _invalidAccess; }
protected static ivec3 textureSize(sampler3D sampler, int lod) { throw _invalidAccess; }
/// <summary>Do a texture lookup with projection. The texture coordinates consumed from P, /// not including the last component of P, are divided by the last component of P. /// After these values are computed,texture lookup proceeds as in texture.</summary> protected internal static vec4 TextureProj(sampler3D sampler, vec4 P, float bias) { throw _invalidAccess; }
/// <summary> Do a texture lookup as in texture but with explicit gradients. /// The partial derivatives of P are with respect to window x and window y. /// ∂s/∂x = ∂P.s/∂x; ∂s/∂y = ∂P.s/∂y; ∂t/∂x = ∂P.t/∂x; ∂t/∂y = ∂P.t/∂y; ∂r/∂x = ∂P.p/∂x; ∂r/∂y = ∂P.p/∂y;</summary> protected static vec4 textureGrad(sampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy) { throw _invalidAccess; }
/// <summary>Do a texture lookup both projectively, as described in TextureProj, and with explicit gradient as /// described in TextureGrad. The partial derivatives dPdx and dPdy are assumed to be already projected.</summary> protected internal static vec4 TextureProjGrad(sampler3D sampler, vec4 P, vec3 dPdx, vec3 dPdy) { throw _invalidAccess; }
/// <summary> /// Do a texture lookup as in texture but with explicit LOD; lod specifies λbase and sets the partial derivatives as follows. /// (See section 3.8.11 “Texture Minification” and equation 3.17 in the OpenGL Graphics SystemSpecification.) /// ∂u/∂x = 0; ∂v/∂x = 0; ∂w/∂x = 0; ∂u/∂y = 0; ∂v/∂y = 0; ∂w/∂y = 0; /// </summary> protected static vec4 textureLod(sampler3D sampler, vec3 P, float lod) { throw _invalidAccess; }
/// <summary> Fetch a single texel as in TexelFetch offset by offset as described in TextureOffset. </summary> protected internal static vec4 TexelFetchOffset(sampler3D sampler, ivec3 P, int lod, ivec3 offset) { throw _invalidAccess; }
public static vec4 texture(Location location, sampler3D sampler, vec3 P, float bias = 0) { return(texturef(location, sampler.i, P.x, P.y, P.z, 0, GetPName.TextureBinding3D)); }
/// <summary> Do a projective texture lookup as described in TextureProj offset by offset as described in TextureOffset. </summary> protected internal static vec4 TextureProjOffset(sampler3D sampler, vec4 P, ivec3 offset) { throw _invalidAccess; }
protected float4 Texture3DProjLod(sampler3D sampler, float4 coord, float lod) { return(new float4(1, 1, 1, 1)); }
/// <summary> /// Returns the mipmap array(s) that would be accessed in the x component of the return value. /// Returns the computed level of detail relative to the base level in the y component of the return value. /// If called on an incomplete texture, the results are undefined. /// </summary> protected internal static vec2 TextureQueryLod(sampler3D sampler, vec3 P) { throw _invalidAccess; }
public static vec4 texture(sampler3D texture, vec3 uv) { throw new NotNeedToImplementException(); }
protected internal static ivec3 TextureSize(sampler3D sampler, int lod) { throw _invalidAccess; }
public static vec4 texture3D(sampler3D simplexTexture, vec3 sindex) { return(null); }
public static vec4 texture(sampler3D sampler, vec3 coord) { return new vec4(); }