CSharpGL.TextureHelper.ToSamplerValue C# (CSharp) Method

ToSamplerValue() public static method

get samplerValue from this texture.
public static ToSamplerValue ( this texture ) : samplerValue
texture this
return samplerValue
        public static samplerValue ToSamplerValue(this Texture texture)
        {
            return new samplerValue(
                texture.Target,
                texture.Id,
                texture.ActiveTextureIndex);
        }