-------------------------------------------------------------------------------------------------- float array parameter
| 32 | // float array parameter |
| 33 | // |
| 34 | BLUE_CLASS( TriFloatArrayParameter ) : |
| 35 | public ITriEffectParameter, |
| 36 | public INotify, |
| 37 | public IInitialize |
| 38 | { |
| 39 | public: |
| 40 | EXPOSE_TO_BLUE(); |
| 41 | |
| 42 | TriFloatArrayParameter( IRoot* lockobj = NULL ); |
| 43 | ~TriFloatArrayParameter(); |
| 44 | |
| 45 | using ITriEffectParameter::Lock; |
| 46 | using ITriEffectParameter::Unlock; |
| 47 | |
| 48 | // data |
| 49 | PTriVector4Vector m_value; |
| 50 | BlueSharedString m_name; |
| 51 | |
| 52 | bool m_isUsedByEffect; |
| 53 | |
| 54 | ///////////////////////////////////////////////////////////////////////////////////// |
| 55 | // ITriEffectParameter |
| 56 | void CopyValueToEffect( Tr2RenderContextEnum::ShaderType inputType, |
| 57 | unsigned char* destHandle, |
| 58 | size_t size, |
| 59 | Tr2RenderContext& renderContext ) const; |
| 60 | const char* GetParameterName() const; |
| 61 | void RebuildEffectHandles( Tr2Shader * effectRes ); |
| 62 | unsigned GetHashValue( unsigned startingHash ) const; |
| 63 | |
| 64 | ///////////////////////////////////////////////////////////////////////////////////// |
| 65 | // INotify |
| 66 | bool OnModified( Be::Var * val ); |
| 67 | |
| 68 | ///////////////////////////////////////////////////////////////////////////////////// |
| 69 | // IInitialize |
| 70 | bool Initialize() |
| 71 | { |
| 72 | return true; |
| 73 | }; |
| 74 | // This is just here to prevent us from getting an "on modified" call while blue is still reading the member table |
| 75 | |
| 76 | private: |
nothing calls this directly
no test coverage detected