void CEditRenderPipeline::SetTexture( const STATIC_RS& RenderStyle ) { //m_pipeline->SetTexture( RenderStyle ); //return ; _SetTexture( 0, RenderStyle.m_Texture_S0 ); _SetTexture( 1, RenderStyle.m_Texture_S1 ); _SetTexture( 2, RenderStyle.m_Texture_S2 ); _SetTexture( 3, RenderStyle.m_Texture_S3 ); }
void MkShaderEffectAssignPack::SetShaderTexture2(MkBaseTexture* tex) { _SetTexture(MkShaderEffect::eS_ShaderTexture2, tex); }
void MkShaderEffectAssignPack::SetDiffuseTexture(MkBaseTexture* tex) { _SetTexture(MkShaderEffect::eS_DiffuseTexture, tex); }