CSharpGL.TextureHelper.ToSamplerValue C# (CSharp) Метод

ToSamplerValue() публичный статический Метод

get samplerValue from this texture.
public static ToSamplerValue ( this texture ) : samplerValue
texture this
Результат samplerValue
        public static samplerValue ToSamplerValue(this Texture texture)
        {
            return new samplerValue(
                texture.Target,
                texture.Id,
                texture.ActiveTextureIndex);
        }