MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / TextureMapGetLine

Function TextureMapGetLine

Samples/NiViewer/Draw.cpp:217–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217inline unsigned char* TextureMapGetLine(XnTextureMap* pTex, unsigned int nLine)
218{
219 return &pTex->pMap[nLine * pTex->Size.X * pTex->nBytesPerPixel];
220}
221
222void TextureMapSetPixel(XnTextureMap* pTex, int x, int y, int red, int green, int blue)
223{

Callers 4

TextureMapSetPixelFunction · 0.85
drawInitFunction · 0.85
drawColorImageFunction · 0.85
drawDepthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected