mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 12:50:53 +00:00
Added some notes
This commit is contained in:
parent
1f68025931
commit
982bf804de
2 changed files with 9 additions and 2 deletions
|
@ -1038,7 +1038,7 @@ public:
|
|||
virtual bool activePixelProgram (CPixelProgram *program) =0;
|
||||
|
||||
/**
|
||||
* Setup vertex program constant values.
|
||||
* Setup vertex program constant (uniform) values.
|
||||
*/
|
||||
virtual void setConstant (uint index, float, float, float, float) =0;
|
||||
virtual void setConstant (uint index, double, double, double, double) =0;
|
||||
|
@ -1048,9 +1048,10 @@ public:
|
|||
virtual void setConstant (uint index, uint num, const float *src) =0;
|
||||
/// setup several 4 double csts taken from the given tab
|
||||
virtual void setConstant (uint index, uint num, const double *src) =0;
|
||||
// TODO: rename to setVertexProgramConstant
|
||||
|
||||
/**
|
||||
* Setup pixel program constant values.
|
||||
* Setup pixel program constant (uniform) values.
|
||||
*/
|
||||
virtual void setPixelProgramConstant (uint index, float, float, float, float) =0;
|
||||
virtual void setPixelProgramConstant (uint index, double, double, double, double) =0;
|
||||
|
@ -1060,6 +1061,7 @@ public:
|
|||
virtual void setPixelProgramConstant (uint index, uint num, const float *src) =0;
|
||||
/// setup several 4 double csts taken from the given tab
|
||||
virtual void setPixelProgramConstant (uint index, uint num, const double *src) =0;
|
||||
// TODO: uint32 and sint32 uniform types supported in opengl from gp4fp and gp5fp and sint32 in d3d
|
||||
|
||||
/**
|
||||
* Setup constants with a current matrix.
|
||||
|
|
|
@ -61,6 +61,11 @@ public:
|
|||
|
||||
enum TProfile
|
||||
{
|
||||
// TODO:
|
||||
// If it's more useful, change this to a flags bitfield and
|
||||
// change the d3d (and gl) code to generate the bitfield of
|
||||
// supported modes instead of doing a >= version check.
|
||||
|
||||
// direct3d - 0xD3D0,major,minor
|
||||
ps_1_1 = 0xD3D00101,
|
||||
ps_1_2 = 0xD3D00102,
|
||||
|
|
Loading…
Reference in a new issue