const, results, attributes, uniform

18 views
Skip to first unread message

Peter Chen

unread,
Dec 1, 2012, 8:00:20 PM12/1/12
to uoft_csc...@googlegroups.com
when we have a variable as above how should it be printed? would type be const int, const float, result vecx something like that or just int, float, vecx?

Peter Goodman

unread,
Dec 1, 2012, 10:10:48 PM12/1/12
to uoft_csc...@googlegroups.com
As above??? Where is your example?

Best Regards,

Peter Goodman,
http://www.petergoodman.me
65 High Park Ave.,
Toronto, Ontario
M6P 2R7


On Sat, Dec 1, 2012 at 8:00 PM, Peter Chen <peter.fe...@gmail.com> wrote:
when we have a variable as above how should it be printed? would type be const int, const float, result vecx something like that or just int, float, vecx?

--
 
 

Peter Chen

unread,
Dec 1, 2012, 10:34:21 PM12/1/12
to uoft_csc...@googlegroups.com
const int a;  (Declaration a int) or (Declaration a const int)
vec4 b;
b = env1 + 5; (Assign vec4 b (BINARY vec4 + evn1 5)) or (Assign vec4 b (BINARY vec4 + uniform 5))

Peter Goodman

unread,
Dec 1, 2012, 10:36:04 PM12/1/12
to uoft_csc...@googlegroups.com
(DECLARATION a const int)
(ASSIGN vec4 b (BINARY vec4 + env1 5))

Best Regards,

Peter Goodman,
http://www.petergoodman.me
65 High Park Ave.,
Toronto, Ontario
M6P 2R7


--
 
 

Reply all
Reply to author
Forward
0 new messages