materialsystem/shaderapidx9/shaderapidx8.cpp
IDirect3DSurface* CShaderAPIDx8::GetDepthTextureSurface( ShaderAPITextureHandle_t textureHandle )
{
	AssertValidTextureHandle( textureHandle );
	if ( !TextureIsAllocated( textureHandle ) )
	{
		return NULL;
	}
	return GetTexture( textureHandle ).GetDepthStencilSurface();
}
//-----------------------------------------------------------------------------
// Gets the surface associated with a texture (refcount of surface is increased)
//-----------------------------------------------------------------------------
Gets the surface associated with a texture (refcount of surface is increased)
Gets the surface associated with a texture ( refcount of surface is increased )
IDirect3DSurface* CShaderAPIDx8::GetDepthTextureSurface( ShaderAPITextureHandle_t textureHandle )
{
	AssertValidTextureHandle( textureHandle );
	if ( !TextureIsAllocated( textureHandle ) )
	{
		return NULL;
	}
	return GetTexture( textureHandle ).GetDepthStencilSurface();
}
IDirect3DSurface * CShaderAPIDx8 :: GetDepthTextureSurface ( ShaderAPITextureHandle_t textureHandle ) { AssertValidTextureHandle ( textureHandle ) ; if ( ! TextureIsAllocated ( textureHandle ) ) { return NULL ; } return GetTexture ( textureHandle ) . GetDepthStencilSurface ( ) ; }
Gets the surface associated with a texture (refcount of surface is increased)
Gets the surface associated with a texture ( refcount of surface is increased )