Exemplo n.º 1
0
		internal static extern void glGetTexParameteriv(TextureTarget target, GetTextureParameter pname, [OutAttribute] Int32* @params);
Exemplo n.º 2
0
 public void GetTexParameter(GetTextureParameterTarget target, GetTextureParameter pname, int[] parameters)
 {
     gl.glGetTexParameteriv((int)target, (int)pname, parameters);
     CheckException();
 }
Exemplo n.º 3
0
		internal static extern void glGetTexParameterfv(TextureTarget target, GetTextureParameter pname, [OutAttribute] Single* @params);
 public static extern void GetTexLevelParameterfv( TextureTarget target, int level, GetTextureParameter pname, [Out]float[] @params );
 public static extern void GetTexParameteriv( TextureTarget target, GetTextureParameter pname, [Out]int[] @params );
Exemplo n.º 6
0
		public static void GetTexParameter(TextureTarget target, GetTextureParameter pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetTexParameterfv != null, "pglGetTexParameterfv not implemented");
					Delegates.pglGetTexParameterfv((Int32)target, (Int32)pname, p_params);
					CallLog("glGetTexParameterfv({0}, {1}, {2})", target, pname, @params);
				}
			}
			DebugCheckErrors();
		}
Exemplo n.º 7
0
		public static void GetTexParameteriv(TextureTarget target, GetTextureParameter pname, int[] parameters)
		{
			glGetTexParameteriv deleg = BaseGraphicsContext.Current.Loader.Get<glGetTexParameteriv>();
			if (deleg != null)
				deleg(target, pname, parameters);
		}
		public static void GetTextureLevelParameterEXT(UInt32 texture, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32[] @params)
		{
			unsafe {
				fixed (Int32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetTextureLevelParameterivEXT != null, "pglGetTextureLevelParameterivEXT not implemented");
					Delegates.pglGetTextureLevelParameterivEXT(texture, (Int32)target, level, (Int32)pname, p_params);
					LogFunction("glGetTextureLevelParameterivEXT({0}, {1}, {2}, {3}, {4})", texture, target, level, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}
		public static void GetMultiTexParameterIEXT(Int32 texunit, TextureTarget target, GetTextureParameter pname, [Out] Int32[] @params)
		{
			unsafe {
				fixed (Int32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetMultiTexParameterIivEXT != null, "pglGetMultiTexParameterIivEXT not implemented");
					Delegates.pglGetMultiTexParameterIivEXT(texunit, (Int32)target, (Int32)pname, p_params);
					LogFunction("glGetMultiTexParameterIivEXT({0}, {1}, {2}, {3})", LogEnumName(texunit), target, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}
Exemplo n.º 10
0
		public static void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetTexLevelParameterfv != null, "pglGetTexLevelParameterfv not implemented");
					Delegates.pglGetTexLevelParameterfv((Int32)target, level, (Int32)pname, p_params);
					LogFunction("glGetTexLevelParameterfv({0}, {1}, {2}, {3})", target, level, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}
Exemplo n.º 11
0
		public static void GetTexParameterI(TextureTarget target, GetTextureParameter pname, [Out] UInt32[] @params)
		{
			unsafe {
				fixed (UInt32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetTexParameterIuiv != null, "pglGetTexParameterIuiv not implemented");
					Delegates.pglGetTexParameterIuiv((Int32)target, (Int32)pname, p_params);
					LogFunction("glGetTexParameterIuiv({0}, {1}, {2})", target, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}
 public unsafe partial void GetTexParameterI([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] GetTextureParameter pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] uint * @params);
 public partial void GetTexParameterI([Flow(FlowDirection.In)] TextureTarget target, [Flow(FlowDirection.In)] GetTextureParameter pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
Exemplo n.º 14
0
 public unsafe static void GetTexParameterI(TextureTarget target, GetTextureParameter parameterName, ref uint parameters)
 => glGetTexParameterIuiv(target, parameterName, ref parameters);
		public static void GetMultiTexLevelParameterEXT(Int32 texunit, TextureTarget target, Int32 level, GetTextureParameter pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetMultiTexLevelParameterfvEXT != null, "pglGetMultiTexLevelParameterfvEXT not implemented");
					Delegates.pglGetMultiTexLevelParameterfvEXT(texunit, (Int32)target, level, (Int32)pname, p_params);
					CallLog("glGetMultiTexLevelParameterfvEXT({0}, {1}, {2}, {3}, {4})", texunit, target, level, pname, @params);
				}
			}
			DebugCheckErrors();
		}
 public static void GetTexParameterIuivEXT( TextureTarget target, GetTextureParameter pname, [Out]uint[] @params )
 {
     if (_GetTexParameterIuivEXT == null) throw new Exception( "Extension method GetTexParameterIuivEXT not found" );
      _GetTexParameterIuivEXT( target, pname, @params );
 }
		public static void GetMultiTexParameterIEXT(Int32 texunit, TextureTarget target, GetTextureParameter pname, [Out] UInt32[] @params)
		{
			unsafe {
				fixed (UInt32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetMultiTexParameterIuivEXT != null, "pglGetMultiTexParameterIuivEXT not implemented");
					Delegates.pglGetMultiTexParameterIuivEXT(texunit, (Int32)target, (Int32)pname, p_params);
					CallLog("glGetMultiTexParameterIuivEXT({0}, {1}, {2}, {3})", texunit, target, pname, @params);
				}
			}
			DebugCheckErrors();
		}
Exemplo n.º 18
0
 public static void GetTexParameteriv(GetTextureParameterTarget target, GetTextureParameter pname, int[] parameters)
 {
     gl.glGetTexParameteriv((int)target, (int)pname, parameters);
 }
Exemplo n.º 19
0
		public static void GetTexLevelParameter(TextureTarget target, Int32 level, GetTextureParameter pname, [Out] Int32[] @params)
		{
			unsafe {
				fixed (Int32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetTexLevelParameteriv != null, "pglGetTexLevelParameteriv not implemented");
					Delegates.pglGetTexLevelParameteriv((Int32)target, level, (Int32)pname, p_params);
					CallLog("glGetTexLevelParameteriv({0}, {1}, {2}, {3})", target, level, pname, @params);
				}
			}
			DebugCheckErrors();
		}
Exemplo n.º 20
0
		public static void GetTexLevelParameterfv(TextureTarget target, int level, GetTextureParameter pname, float[] parameters)
		{
			glGetTexLevelParameterfv deleg = BaseGraphicsContext.Current.Loader.Get<glGetTexLevelParameterfv>();
			if (deleg != null)
				deleg(target, level, pname, parameters);
		}