MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / GLES2NullTextureTarget

Method GLES2NullTextureTarget

RenderSystems/GLES2/src/OgreGLES2NullTexture.cpp:187–201  ·  view source on GitHub ↗

----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

185 //-----------------------------------------------------------------------------------
186 //-----------------------------------------------------------------------------------
187 GLES2NullTextureTarget::GLES2NullTextureTarget( GLES2NullTexture *ultimateTextureOwner,
188 const String &name,
189 v1::HardwarePixelBuffer *buffer,
190 uint32 zoffset ) :
191 RenderTexture( buffer, zoffset ),
192 mUltimateTextureOwner( ultimateTextureOwner )
193 {
194 mName = name;
195 mWidth = ultimateTextureOwner->getWidth();
196 mHeight = ultimateTextureOwner->getHeight();
197 mFormat = ultimateTextureOwner->getFormat();
198 mFSAA = ultimateTextureOwner->getFSAA();
199 mFSAAHint = ultimateTextureOwner->getFSAAHint();
200 mFsaaResolveDirty = true; //Should be permanent true.
201 }
202 //-----------------------------------------------------------------------------------
203 GLES2NullTextureTarget::~GLES2NullTextureTarget()
204 {

Callers

nothing calls this directly

Calls 4

getFSAAMethod · 0.80
getWidthMethod · 0.45
getHeightMethod · 0.45
getFormatMethod · 0.45

Tested by

no test coverage detected