~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychOpenGL/MOGL/wrap/_glGetActiveAttrib.m

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
function [ length, size, type, name ] = glGetActiveAttrib( program, index, bufSize )
2
 
 
3
 
% glGetActiveAttrib  Interface to OpenGL function glGetActiveAttrib
4
 
%
5
 
% usage:  [ length, size, type, name ] = glGetActiveAttrib( program, index, bufSize )
6
 
%
7
 
% C function:  void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name)
8
 
 
9
 
% 25-Mar-2011 -- created (generated automatically from header files)
10
 
 
11
 
% ---allocate---
12
 
 
13
 
if nargin~=3,
14
 
    error('invalid number of arguments');
15
 
end
16
 
 
17
 
length = int32(0);
18
 
size = int32(0);
19
 
type = uint32(0);
20
 
name = uint8(0);
21
 
 
22
 
moglcore( 'glGetActiveAttrib', program, index, bufSize, length, size, type, name );
23
 
 
24
 
return