Esempio n. 1
0
        public static void TexImage2DMultisample(TextureTargetMultisample target, int samples, PixelInternalFormat internalFormat, int width, int height, bool fixedSampleLocations)
        {
            GL.TexImage2DMultisample(target, samples, internalFormat, width, height, fixedSampleLocations);

            if (enableErrorCheck)
            {
                LogErrors();
            }
        }
Esempio n. 2
0
		public static void TexImage3DMultisample(TextureTargetMultisample target, int samples, int internalformat, int width, int height, int depth, bool fixedsamplelocations)
		{
			glTexImage3DMultisample deleg = BaseGraphicsContext.Current.Loader.Get<glTexImage3DMultisample>();
			if (deleg != null)
				deleg(target, samples, internalformat, width, height, depth, fixedsamplelocations);
		}