MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / registerResourceWithDevice

Method registerResourceWithDevice

Engine/source/gfx/gfxResource.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void GFXResource::registerResourceWithDevice( GFXDevice *device )
53{
54 mOwningDevice = device;
55 mNextResource = device->mResourceListHead;
56 device->mResourceListHead = this;
57
58 if(mNextResource)
59 mNextResource->mPrevResource = this;
60}

Callers 15

createStateBlockMethod · 0.80
createShaderMethod · 0.80
allocPrimitiveBufferMethod · 0.80
allocVertexBufferMethod · 0.80
createFenceMethod · 0.80
createOcclusionQueryMethod · 0.80
createCubemapMethod · 0.80
_createTextureObjectMethod · 0.80
allocConstBufferMethod · 0.80
allocWindowTargetMethod · 0.80
allocConstBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected