1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
function samplers = glGenSamplers( count )
% glGenSamplers Interface to OpenGL function glGenSamplers
%
% usage: samplers = glGenSamplers( count )
%
% C function: void glGenSamplers(GLsizei count, GLuint* samplers)
% 30-Aug-2012 -- created (generated automatically from header files)
% ---allocate---
% ---protected---
if nargin~=1,
error('invalid number of arguments');
end
samplers = uint32(zeros(1,count+1));
moglcore( 'glGenSamplers', count, samplers );
samplers = samplers(1:end-1);
return
|