コード例 #1
0
 /** Unsafe version of {@link #glGetActiveUniformBlockName GetActiveUniformBlockName} */
 @JavadocExclude
 public static void nglGetActiveUniformBlockName(
     int program, int uniformBlockIndex, int bufSize, long length, long uniformBlockName) {
   long __functionAddress = getInstance().GetActiveUniformBlockName;
   GL31.nglGetActiveUniformBlockName(
       program, uniformBlockIndex, bufSize, length, uniformBlockName, __functionAddress);
 }
コード例 #2
0
 /** Unsafe version of {@link #glGetActiveUniformsiv GetActiveUniformsiv} */
 @JavadocExclude
 public static void nglGetActiveUniformsiv(
     int program, int uniformCount, long uniformIndices, int pname, long params) {
   long __functionAddress = getInstance().GetActiveUniformsiv;
   GL31.nglGetActiveUniformsiv(
       program, uniformCount, uniformIndices, pname, params, __functionAddress);
 }
コード例 #3
0
 /** Unsafe version of {@link #glGetUniformIndices GetUniformIndices} */
 @JavadocExclude
 public static void nglGetUniformIndices(
     int program, int uniformCount, long uniformNames, long uniformIndices) {
   long __functionAddress = getInstance().GetUniformIndices;
   GL31.nglGetUniformIndices(
       program, uniformCount, uniformNames, uniformIndices, __functionAddress);
 }
コード例 #4
0
 /**
  * Assigns a binding point to an active uniform block.
  *
  * @param program the name of a program object containing the active uniform block whose binding
  *     to assign
  * @param uniformBlockIndex the index of the active uniform block within {@code program} whose
  *     binding to assign
  * @param uniformBlockBinding the binding point to which to bind the uniform block with index
  *     {@code uniformBlockIndex} within {@code program}
  */
 public static void glUniformBlockBinding(
     int program, int uniformBlockIndex, int uniformBlockBinding) {
   long __functionAddress = getInstance().UniformBlockBinding;
   GL31.nglUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding, __functionAddress);
 }
コード例 #5
0
 /** Unsafe version of {@link #glGetActiveUniformBlockiv GetActiveUniformBlockiv} */
 @JavadocExclude
 public static void nglGetActiveUniformBlockiv(
     int program, int uniformBlockIndex, int pname, long params) {
   long __functionAddress = getInstance().GetActiveUniformBlockiv;
   GL31.nglGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params, __functionAddress);
 }
コード例 #6
0
 /** Unsafe version of {@link #glGetUniformBlockIndex GetUniformBlockIndex} */
 @JavadocExclude
 public static int nglGetUniformBlockIndex(int program, long uniformBlockName) {
   long __functionAddress = getInstance().GetUniformBlockIndex;
   return GL31.nglGetUniformBlockIndex(program, uniformBlockName, __functionAddress);
 }