예제 #1
0
 /// <summary>
 /// bind a range within a buffer object to an indexed buffer target
 /// </summary>
 /// <param name="target">Specifies the target buffer object.</param>
 /// <param name="index">Specify the index of the binding point within the array specified by <paramref name="target"/></param>
 /// <param name="buffer">The name of a buffer object to bind to the specified binding point.</param>
 /// <param name="offset">The starting offset in basic machine units into the buffer object <paramref name="buffer"/>​.</param>
 /// <param name="size">The amount of data in machine units that can be read from the buffer object while used as an indexed target.</param>
 public static void BindBufferRange(TransformFeedbackBufferTarget target, uint index, uint buffer, int offset, int size)
 {
     BindBufferRange((uint)target, index, buffer, offset, size);
 }
예제 #2
0
 /// <summary>
 /// bind a range within a buffer object to an indexed buffer target
 /// </summary>
 /// <param name="target">Specifies the target buffer object.</param>
 /// <param name="index">Specify the index of the binding point within the array specified by <paramref name="target"/></param>
 /// <param name="buffer">The name of a buffer object to bind to the specified binding point.</param>
 /// <param name="offset">The starting offset in basic machine units into the buffer object <paramref name="buffer"/>​.</param>
 /// <param name="size">The amount of data in machine units that can be read from the buffer object while used as an indexed target.</param>
 public static void BindBufferRange(TransformFeedbackBufferTarget target, uint index, uint buffer, int offset, int size)
 {
     BindBufferRange((uint)target, index, buffer, offset, size);
 }
예제 #3
0
 /// <summary>
 /// 用于transform feedback。
 /// <para>bind a buffer object to an indexed buffer target.</para>
 /// </summary>
 /// <param name="target">Specifies the target buffer object.</param>
 /// <param name="index">Specify the index of the binding point within the array specified by <paramref name="target"/></param>
 /// <param name="buffer">The name of a buffer object to bind to the specified binding point.</param>
 public static void BindBufferBase(TransformFeedbackBufferTarget target, uint index, uint buffer)
 {
     BindBufferBase((uint)target, index, buffer);
 }
예제 #4
0
 /// <summary>
 /// 用于transform feedback。
 /// <para>bind a buffer object to an indexed buffer target.</para>
 /// </summary>
 /// <param name="target">Specifies the target buffer object.</param>
 /// <param name="index">Specify the index of the binding point within the array specified by <paramref name="target"/></param>
 /// <param name="buffer">The name of a buffer object to bind to the specified binding point.</param>
 public static void BindBufferBase(TransformFeedbackBufferTarget target, uint index, uint buffer)
 {
     BindBufferBase((uint)target, index, buffer);
 }