MCPcopy Create free account
hub / github.com/coronalabs/corona / PushTexture

Method PushTexture

librtt/Rtt_GPUStream.cpp:1062–1121  ·  view source on GitHub ↗

Pushes paint onto texture stack and prevents changes to the state of the current texture unit. Sets active texture unit to next available one. This function is smart enough to accept NULL. It also will push up to a texture stack limit which is defined by the GPU hardware (the max number of texture units). Assumptions: Precondition: Assumes you called paint->Begin() so that texture state is set f

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

WillDrawMethod · 0.45

Calls 2

glGetIntegervFunction · 0.85
glActiveTextureFunction · 0.85

Tested by

no test coverage detected