MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / changeTexture

Method changeTexture

examples/ExampleBrowser/OpenGLGuiHelper.cpp:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void OpenGLGuiHelper::changeTexture(int textureUniqueId, const unsigned char* rgbTexels, int width, int height)
345{
346 bool flipPixelsY = true;
347 m_data->m_glApp->m_renderer->updateTexture(textureUniqueId, rgbTexels, flipPixelsY);
348}
349
350int OpenGLGuiHelper::registerGraphicsShape(const float* vertices, int numvertices, const int* indices, int numIndices, int primitiveType, int textureId)
351{

Callers 1

changeTexture.pyFile · 0.45

Calls 1

updateTextureMethod · 0.45

Tested by

no test coverage detected