I'm trying to integrate cef into UE3 and I found your project! This is really brilliant!
I'm new in rendering, so when I try to use the same function RHIUpdateTexture(actually not same), the game crashed.
RHIUpdateTexture in UE3 has 7 params while it in UE4 only has 5. I'm not sure how to set them. The function's description in UE3 is as follows:
/**
* Updates a region of a 2D texture from system memory
* @param Texture - the RHI texture resource to update
* @param MipIndex - mip level index to be modified
* @param n - number of rectangles to copy
* @param rects - rectangles to copy from source image data
* @param pitch - size in bytes of each line of source image
* @param sbpp - size in bytes of each pixel of source image (must match texture, passed in because some drivers do not maintain it in refs)
* @param psrc - source image data (in same pixel format as texture)
*/
UBOOL FD3D9DynamicRHI::UpdateTexture2D(FTexture2DRHIParamRef TextureRHI,UINT MipIndex,UINT n,const FUpdateTextureRegion2D* rects,UINT pitch,UINT sbpp,BYTE* psrc)
If any help I will appreciate it! Thank you! (And sorry for my poor rendering knowledge and english).
Hi,
I'm trying to integrate cef into UE3 and I found your project! This is really brilliant!
I'm new in rendering, so when I try to use the same function RHIUpdateTexture(actually not same), the game crashed.
RHIUpdateTexture in UE3 has 7 params while it in UE4 only has 5. I'm not sure how to set them. The function's description in UE3 is as follows:
If any help I will appreciate it! Thank you! (And sorry for my poor rendering knowledge and english).