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

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychOpenGL/MOGL/wrap/glGetSamplerParameterIuiv.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 params = glGetSamplerParameterIuiv( sampler, pname )
 
2
 
 
3
% glGetSamplerParameterIuiv  Interface to OpenGL function glGetSamplerParameterIuiv
 
4
%
 
5
% usage:  params = glGetSamplerParameterIuiv( sampler, pname )
 
6
%
 
7
% C function:  void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint* params)
 
8
 
 
9
% 30-Aug-2012 -- created (generated automatically from header files)
 
10
 
 
11
% ---allocate---
 
12
% ---protected---
 
13
 
 
14
if nargin~=2,
 
15
    error('invalid number of arguments');
 
16
end
 
17
 
 
18
params=uint32(repmat(intmax('uint32'), [ 16 1 ]));
 
19
moglcore( 'glGetSamplerParameterIuiv', sampler, pname, params );
 
20
params = params(find(params~=intmax('uint32')));
 
21
return