void TransformFeedbackAttribsNV(sizei count, const int *attribs, enum bufferMode) This command specifies which attributes to record into one, or more, buffer objects. The value TRANSFORM_FEEDBACK_BUFFER_MODE_NV will be set to <bufferMode> and the value TRANSFORM_FEEDBACK_ATTRIBS_NV set to <count>. The array <attribs> contains an interleaved representation of the attributes desired to be fed back containing 3*count values. For attrib i, the value at 3*i+0 is the enum corresponding to the attrib, as given in table X.2. The value at 3*i+1 is the number of components of the provided attrib to be fed back and is between 1 and 4. The value at 3*i+2 is the index for attribute enumerants corresponding to more than one real attribute.
IntBuffer ib = BufferUtils.createIntBuffer(3);ib.put(0, GL11.GL_POSITION);ib.put(1, 4);ib.put(2, 0);NVTransformFeedback.glTransformFeedbackAttribsNV(ib, NVTransformFeedback.GL_SEPARATE_ATTRIBS_NV);
void glTransformFeedbackAttribsNV(@Constant("attribs.remaining() / 3") @GLsizei int count, @Check("3") @Const IntBuffer attribs, @GLenum int bufferMode);