1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
function [ length, source ] = glGetShaderSourceARB( obj, maxLength )
% glGetShaderSourceARB Interface to OpenGL function glGetShaderSourceARB
%
% usage: [ length, source ] = glGetShaderSourceARB( obj, maxLength )
%
% C function: void glGetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source)
% 30-Sep-2014 -- created (generated automatically from header files)
% ---allocate---
if nargin~=2,
error('invalid number of arguments');
end
length = int32(0);
source = uint8(0);
moglcore( 'glGetShaderSourceARB', obj, maxLength, length, source );
return
|