MCPcopy Create free account
hub / github.com/baldurk/renderdoc / getTexture

Function getTexture

docs/python_api/examples/renderdoc/display_window.py:75–80  ·  view source on GitHub ↗
(texid)

Source from the content-addressed store, hash-verified

73
74# Function to look up the texture descriptor for a given resourceId
75def getTexture(texid):
76 global textures
77 for tex in textures:
78 if tex.resourceId == texid:
79 return tex
80 return None
81
82# Our paint function will be called ever 33ms, to display the output
83def paint():

Callers 1

advanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected