コード例 #1
0
 /// <summary>Use the texture coordinate P to do a texture lookup in the texture currently bound to sampler.</summary>
 protected static ivec4 texture(isampler2D sampler, vec2 P, float bias)
 {
     throw _invalidAccess;
 }
コード例 #2
0
 /// <summary>Do a texture lookup with both explicit gradient and offset, as described in textureGrad and textureOffset. </summary>
 protected static ivec4 textureGradOffset(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy, ivec2 offset)
 {
     throw _invalidAccess;
 }
コード例 #3
0
 /// <summary> Fetch a single texel as in texelFetch offset by offset as described in textureOffset. </summary>
 protected static ivec4 texelFetchOffset(isampler2D sampler, ivec2 P, int lod, ivec2 offset)
 {
     throw _invalidAccess;
 }
コード例 #4
0
 /// <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(isampler2D sampler, vec2 P)
 {
     throw _invalidAccess;
 }
コード例 #5
0
 /// <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(isampler2D sampler, vec2 P)
 {
     throw _invalidAccess;
 }
コード例 #6
0
 /// <summary>Use the texture coordinate P to do a texture lookup in the texture currently bound to sampler.</summary>
 protected internal static ivec4 Texture(isampler2D sampler, vec2 P, float bias)
 {
     throw _invalidAccess;
 }
コード例 #7
0
 protected extern ivec4 textureProGrad(isampler2D sampler, vec4 p, vec2 dPdx, vec2 dPdy);
コード例 #8
0
 protected extern ivec4 texelFetch(isampler2D sampler, ivec2 p, int lod);
コード例 #9
0
 protected extern ivec4 textureProjLod(isampler2D sampler, vec4 p, float lod);
コード例 #10
0
 protected extern ivec4 textureProjLodOffset(isampler2D sampler, vec4 p, float lod, ivec2 offset);
コード例 #11
0
 protected extern ivec4 textureLodOffset(isampler2D sampler, vec2 p, int lod, ivec2 offset);
コード例 #12
0
 protected extern ivec4 textureProjOffset(isampler2D sampler, vec4 p, ivec2 offset, float bias          = 0);
コード例 #13
0
 protected extern ivec4 texelFetchOffset(isampler2D sampler, ivec2 p, int lod, ivec2 offset);
コード例 #14
0
 /// <summary>  Do an offset texture lookup with explicit LOD. See textureLod and textureOffset.</summary>
 protected static ivec4 textureLodOffset(isampler2D sampler, vec2 P, float lod, ivec2 offset)
 {
     throw _invalidAccess;
 }
コード例 #15
0
 protected extern ivec4 textureProjGradOffset(isampler2D sampler, vec4 p, vec2 dPdx, vec2 dPdy, ivec2 offset);
コード例 #16
0
ファイル: Access.cs プロジェクト: h3tch/ProtoFX
 public static ivec4 texture(Location location, isampler2D sampler, vec2 P, float bias = 0)
 {
     return(texturei(location, sampler.i, P.x, P.y, 0, 0, GetPName.TextureBinding2D));
 }
コード例 #17
0
 protected extern ivec4 texture(isampler2D sampler, vec2 p, float bias            = 0);
コード例 #18
0
 /// <summary>  Do a projective texture lookup as described in TextureProj offset by offset as described in TextureOffset. </summary>
 protected internal static ivec4 TextureProjOffset(isampler2D sampler, vec4 P, ivec2 offset)
 {
     throw _invalidAccess;
 }
コード例 #19
0
 protected extern ivec4 textureProj(isampler2D sampler, vec4 p, float bias       = 0);
コード例 #20
0
 protected internal static ivec2 TextureSize(isampler2D sampler, int lod)
 {
     throw _invalidAccess;
 }
コード例 #21
0
 protected extern ivec2 textureSize(isampler2D sampler, int lod);
コード例 #22
0
 /// <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 ivec4 textureProj(isampler2D sampler, vec4 P)
 {
     throw _invalidAccess;
 }
コード例 #23
0
 protected extern ivec4 textureLod(isampler2D sampler, vec2 p, float lod);
コード例 #24
0
 /// <summary>  Do a projective texture lookup as described in textureProj offset by offset as described in textureOffset. </summary>
 protected static ivec4 textureProjOffset(isampler2D sampler, vec4 P, ivec2 offset, float bias)
 {
     throw _invalidAccess;
 }
コード例 #25
0
 /// <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 ivec4 TextureProj(isampler2D sampler, vec4 P)
 {
     throw _invalidAccess;
 }
コード例 #26
0
 protected static ivec2 textureSize(isampler2D sampler, int lod)
 {
     throw _invalidAccess;
 }
コード例 #27
0
 /// <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 ivec4 TextureProjGrad(isampler2D sampler, vec4 P, vec2 dPdx, vec2 dPdy)
 {
     throw _invalidAccess;
 }
コード例 #28
0
 /// <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 = 0; ∂r/∂y = 0;</summary>
 protected static ivec4 textureGrad(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy)
 {
     throw _invalidAccess;
 }
コード例 #29
0
 /// <summary>Do a texture lookup projectively and with explicit gradient as described in TextureProjGrad,
 /// as well as with offset, as described in TextureOffset.</summary>
 protected internal static ivec4 TextureProjGradOffset(isampler2D sampler, vec3 P, vec2 dPdx, vec2 dPdy, ivec2 offset)
 {
     throw _invalidAccess;
 }
コード例 #30
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 static ivec4 textureLod(isampler2D sampler, vec2 P, float lod)
 {
     throw _invalidAccess;
 }
コード例 #31
0
 /// <summary>  Do an offset texture lookup with explicit LOD. See TextureLod and TextureOffset.</summary>
 protected internal static ivec4 TextureProjLod(isampler2D sampler, vec4 P, float lod)
 {
     throw _invalidAccess;
 }
コード例 #32
0
 /// <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 ivec4 texelFetch(isampler2D sampler, ivec2 P, int lod)
 {
     throw _invalidAccess;
 }
コード例 #33
0
 /// <summary>  Do an offset texture lookup with explicit LOD. See TextureLod and TextureOffset.</summary>
 protected internal static ivec4 TextureProjLodOffset(isampler2D sampler, vec3 P, float lod, ivec2 offset)
 {
     throw _invalidAccess;
 }
コード例 #34
0
ファイル: Access.cs プロジェクト: h3tch/ProtoFX
 public static ivec4 texelFetch(Location location, isampler2D sampler, ivec2 P, int lod)
 {
     return(Shader.TraceFunction(location, new ivec4(texelFetch <int>(location, sampler.i, P.x, P.y, 0, lod, GetPName.TextureBinding2D)), "texelFetch"));
 }
コード例 #35
0
 protected extern ivec4 texttextureOffsetureLod(isampler2D sampler, vec2 p, ivec2 offset, float bias = 0);