1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
function [ count, shaders ] = glGetAttachedShaders( program, maxCount )
% glGetAttachedShaders Interface to OpenGL function glGetAttachedShaders
%
% usage: [ count, shaders ] = glGetAttachedShaders( program, maxCount )
%
% C function: void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders)
% 25-Mar-2011 -- created (generated automatically from header files)
% ---allocate---
if nargin~=2,
error('invalid number of arguments');
end
count = int32(0);
shaders = uint32(0);
moglcore( 'glGetAttachedShaders', program, maxCount, count, shaders );
return
|