void NVprPathRendererState::stencilModeFill(GLenum stencil_fill_rule, GLuint stencil_write_mask, GLenum stencil_func, GLint stencil_ref, GLuint stencil_read_mask) { glPathStencilFuncNV(stencil_func, stencil_ref, stencil_read_mask); glStencilFillPathNV(path, stencil_fill_rule, stencil_write_mask); }
void NVprPathRendererState::stencilStroke(GLint replace_value, GLuint stencil_write_mask, GLenum stencil_func, GLint stencil_ref, GLuint read_mask) { glPathStencilFuncNV(stencil_func, stencil_ref, read_mask); glStencilStrokePathNV(path, replace_value, stencil_write_mask); }
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVPathRendering_nglPathStencilFuncNV(JNIEnv *env, jclass clazz, jint func, jint ref, jint mask, jlong function_pointer) { glPathStencilFuncNVPROC glPathStencilFuncNV = (glPathStencilFuncNVPROC)((intptr_t)function_pointer); glPathStencilFuncNV(func, ref, mask); }