![]() |
VR-Forces Developer's Guide
|
GPU op that deletes a GL texture name. Captures the handle by value at construction so the originating wrapper may be destroyed before the op runs.

Public Member Functions | |
| DtGlDeleteOp (GLuint handle, DtDe &de) | |
| virtual void | execute () override |
Public Member Functions inherited from makVrv::DtGlTextureOp | |
| DtGlTextureOp (const std::string &name, DtDe &de) | |
| virtual | ~DtGlTextureOp () |
| virtual unsigned int | textureByteCount () const |
| virtual void | execute (DtGpuArenaUploadState &uploadState) override |
Public Member Functions inherited from makVrv::DtGpuOperation | |
| DtGpuOperation (const std::string &name, DtDe &de) | |
| virtual | ~DtGpuOperation () |
Private Attributes | |
| GLuint | myHandle |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtGpuOperation | |
| DtDe & | myDe |
| const std::string | myName |
Construct a delete op.
| handle | GL texture name to delete on execute(). |
| de | Engine context. |
|
overridevirtual |
Call glDeleteTextures on the captured handle (no-op if zero).
Implements makVrv::DtGpuOperation.
|
private |