Example #1
0
 public BloomFilter(IntPtr storage, long storageSize, IEnumerable<IHasher> hashes)
 {
     //TODO force Int32 alignment for storage
     _storageSize = storageSize - 1; //last int is used to hold count of writes
     _hashes = hashes.ToArray();
     _storage = (Int32*) storage.ToPointer();
 }
Example #2
0
 internal static extern void glIndexiv(Int32 *c);
Example #3
0
 internal static extern void glGetTexGeniv(TextureCoordName coord, TextureGenParameter pname, [OutAttribute] Int32 * @params);
Example #4
0
 internal static extern void glGetMaterialiv(MaterialFace face, MaterialParameter pname, [OutAttribute] Int32 * @params);
Example #5
0
 internal static extern void glGetLightiv(LightName light, LightParameter pname, [OutAttribute] Int32 * @params);
Example #6
0
 internal static extern void glFogiv(FogParameter pname, Int32 * @params);
Example #7
0
 internal static extern void glVertex4iv(Int32 *v);
 internal extern static unsafe void glGetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, Int32 *length, String counterString);
 public override sealed Int32 SDL_GL_GetAttribute(SDL_GLattr attr, Int32 *value) => INTERNAL_SDL_GL_GetAttribute(attr, value);
 private static extern Int32 INTERNAL_SDL_GL_GetAttribute(SDL_GLattr attr, Int32 *value);
 public override sealed Boolean SDL_PixelFormatEnumToMasks(UInt32 format, Int32 *bpp, UInt32 *Rmask, UInt32 *Gmask, UInt32 *Bmask, UInt32 *Amask) => INTERNAL_SDL_PixelFormatEnumToMasks(format, bpp, Rmask, Gmask, Bmask, Amask);
 private static extern Boolean INTERNAL_SDL_PixelFormatEnumToMasks(UInt32 format, Int32 *bpp, UInt32 *Rmask, UInt32 *Gmask, UInt32 *Bmask, UInt32 *Amask);
Example #13
0
 internal extern static unsafe void glGetConvolutionParameterivEXT(Int32 target, Int32 pname, Int32 * @params);
Example #14
0
 internal extern static unsafe void glGetIntegeri_vEXT(Int32 target, UInt32 index, Int32 *data);
Example #15
0
 internal extern static unsafe void glDrawBuffersIndexedEXT(Int32 n, Int32 *location, Int32 *indices);
 internal extern static unsafe void glGetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, Int32 *length, String groupString);
 private static extern SDL_PowerState INTERNAL_SDL_GetPowerInfo(Int32 *secs, Int32 *pct);
 internal extern static unsafe void glGetPerfMonitorCounterDataAMD(UInt32 monitor, Int32 pname, Int32 dataSize, UInt32 *data, Int32 *bytesWritten);
 public override sealed SDL_PowerState SDL_GetPowerInfo(Int32 *secs, Int32 *pct) => INTERNAL_SDL_GetPowerInfo(secs, pct);
Example #20
0
 internal static extern void glColor4iv(Int32 *v);
Example #21
0
 internal extern static unsafe void glGetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, Int32 *length, String source);
Example #22
0
 internal static extern void glGetIntegerv(GetPName pname, [OutAttribute] Int32 * @params);
 internal extern static unsafe void glMultiModeDrawArraysIBM(Int32 *mode, Int32 *first, Int32 *count, Int32 primcount, Int32 modestride);
Example #24
0
 internal static extern void glGetMapiv(MapTarget target, GetMapQuery query, [OutAttribute] Int32 *v);
 internal extern static unsafe void glMultiModeDrawElementsIBM(Int32 *mode, Int32 *count, Int32 type, IntPtr *indices, Int32 primcount, Int32 modestride);
Example #26
0
 internal static extern void glGetTexEnviv(TextureEnvTarget target, TextureEnvParameter pname, [OutAttribute] Int32 * @params);
Example #27
0
 internal extern static unsafe void glGetObjectLabelEXT(Int32 type, UInt32 @object, Int32 bufSize, Int32 *length, String label);
Example #28
0
 internal static extern void glGetTexParameteriv(TextureTarget target, GetTextureParameter pname, [OutAttribute] Int32 * @params);
 internal extern static unsafe void glGetPerfMonitorGroupsAMD(Int32 *numGroups, Int32 groupsSize, UInt32 *groups);
Example #30
0
 internal static extern void glLightModeliv(LightModelParameter pname, Int32 * @params);
 internal extern static unsafe void glGetPerfMonitorCountersAMD(UInt32 group, Int32 *numCounters, Int32 *maxActiveCounters, Int32 counterSize, UInt32 *counters);