All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdMeshMaterialTextureUnit::Tex Class Reference

#include <StdMeshMaterial.h>

Collaboration diagram for StdMeshMaterialTextureUnit::Tex:

Public Member Functions

 Tex (C4Surface *Surface)
 ~Tex ()

Public Attributes

unsigned int RefCount

Detailed Description

Definition at line 300 of file StdMeshMaterial.h.

Constructor & Destructor Documentation

StdMeshMaterialTextureUnit::Tex::Tex ( C4Surface Surface)

Definition at line 954 of file StdMeshMaterial.cpp.

955  : RefCount(1), Surf(Surface), Texture(*Surface->texture)
956 {
957 }
std::unique_ptr< C4TexRef > texture
Definition: C4Surface.h:78
StdMeshMaterialTextureUnit::Tex::~Tex ( )

Definition at line 959 of file StdMeshMaterial.cpp.

960 {
961  assert(RefCount == 0);
962  delete Surf;
963 }

Member Data Documentation

unsigned int StdMeshMaterialTextureUnit::Tex::RefCount
C4Surface* StdMeshMaterialTextureUnit::Tex::Surf

Definition at line 316 of file StdMeshMaterial.h.

C4TexRef& StdMeshMaterialTextureUnit::Tex::Texture

Definition at line 317 of file StdMeshMaterial.h.

The documentation for this class was generated from the following files: