Copy the value to the effect using 'destHandle'. For basic types 'destHandle' is a memory address for the constant block being constructed for the effect. Size is passed down to potentially limit the number of bytes copied. For example, a TriTransformParameter holds a 4x4 matrix but the shader might use only a 2x2 portion of it. The fxc compiler is clever enough to only give 2 constants to the va
| 26 | // give 2 constants to the variable in that case. |
| 27 | // The size is in bytes. |
| 28 | virtual void CopyValueToEffect( |
| 29 | Tr2RenderContextEnum::ShaderType inputType, |
| 30 | unsigned char* destHandle, |
| 31 | size_t size, |
| 32 | Tr2RenderContext& renderContext ) const |
| 33 | { |
| 34 | } |
| 35 | |
| 36 | virtual bool CopyToResourceSet( |
| 37 | Tr2ResourceSetDescriptionAL & resourceDesc, |
no outgoing calls
no test coverage detected