Example #1
0
        public int GetUniformSize(int index)
        {
            int result;
            int uniformSize = PsmShaderProgram.GetUniformSize(this.handle, index, out result);

            if (uniformSize != 0)
            {
                Error.ThrowNativeException(uniformSize);
            }
            return(result);
        }