我写了一个EFFECT 
里面有个Texturetexture Texture_1 ;float4 MaterialColor = { 1.0f , 1.0f , 1.0f , 1.0f } ;sampler2D Sampler2D_1 = sampler_state
{
    .......
};现在在我的像素渲染器中PS_OUTPUT PS_GUI( VS_OUTPUT Input )
{
    PS_OUTPUT Output ;    if( Texture_1 不为空 )
    {
         Output.Color = tex2D( Sampler2D_1 , Input.TextureUV );
    }
    else
    {
        Output.Color = MaterialColor * tex2D( Sampler2D_1 , Input.TextureUV );
    }    return Output ;
}其中 Texture_1 不为空怎么判断?