// sampler
sampler Sampler = sampler_state
{
Texture = (Tex0);
MipFilter = LINEAR;
MinFilter = LINEAR;
MagFilter = LINEAR;
};
And I'm trying to set the texture into that? How would I do that?
V_RETURN( g_pEffect->SetTexture( "Sampler.Texture", g_pMeshTexture) );
Doesn't work.