Exemplo n.º 1
0
        public unsafe GSEffectTechnique GetTechnique(string name)
        {
            IntPtr ptr = libobs.gs_effect_get_technique(instance, name);
            if (ptr == IntPtr.Zero)
                return null;

            GSEffectTechnique effect = new GSEffectTechnique(ptr);
            return effect;
        }
Exemplo n.º 2
0
        public unsafe GSEffectTechnique GetTechnique(string name)
        {
            IntPtr ptr = libobs.gs_effect_get_technique(instance, name);

            if (ptr == IntPtr.Zero)
            {
                return(null);
            }

            GSEffectTechnique effect = new GSEffectTechnique(ptr);

            return(effect);
        }
Exemplo n.º 3
0
 public static unsafe void TechniqueEndPass(GSEffectTechnique tech)
 {
     libobs.gs_technique_end_pass((IntPtr)tech.GetPointer());
 }
Exemplo n.º 4
0
 public static unsafe void TechniqueBeginPass(GSEffectTechnique tech, uint pass)
 {
     libobs.gs_technique_begin_pass((IntPtr)tech.GetPointer(), (UIntPtr)pass);
 }
Exemplo n.º 5
0
 public static unsafe void TechniqueBegin(GSEffectTechnique tech)
 {
     libobs.gs_technique_begin((IntPtr)tech.GetPointer());
 }
Exemplo n.º 6
0
 public static unsafe void TechniqueEndPass(GSEffectTechnique tech)
 {
     libobs.gs_technique_end_pass((IntPtr)tech.GetPointer());
 }
Exemplo n.º 7
0
 public static unsafe void TechniqueBeginPass(GSEffectTechnique tech, uint pass)
 {
     libobs.gs_technique_begin_pass((IntPtr)tech.GetPointer(), (UIntPtr)pass);
 }
Exemplo n.º 8
0
 public static unsafe void TechniqueBegin(GSEffectTechnique tech)
 {
     libobs.gs_technique_begin((IntPtr)tech.GetPointer());
 }