We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDL2 has the following commands that allow texture->texture rendering:
I see some reference to Render Target Texture ("rtt") in render.pyx:
cdef rinfo_to_dict(SDL_RendererInfo *rinfo): # Ignore texture_formats for now. return { "name" : rinfo.name, "software" : rinfo.flags & SDL_RENDERER_SOFTWARE != 0, "accelerated" : rinfo.flags & SDL_RENDERER_ACCELERATED != 0, "vsync" : rinfo.flags & SDL_RENDERER_PRESENTVSYNC != 0, "rtt" : rinfo.flags & SDL_RENDERER_TARGETTEXTURE != 0, #<---- HERE --- "max_texture_width" : rinfo.max_texture_width, "max_texture_height" : rinfo.max_texture_height, }
But I am not clear if it has actually been implemented in the module. Is there a way to do texture->texture renders via pygame_sdl2.render?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SDL2 has the following commands that allow texture->texture rendering:
I see some reference to Render Target Texture ("rtt") in render.pyx:
cdef rinfo_to_dict(SDL_RendererInfo *rinfo):
# Ignore texture_formats for now.
return {
"name" : rinfo.name,
"software" : rinfo.flags & SDL_RENDERER_SOFTWARE != 0,
"accelerated" : rinfo.flags & SDL_RENDERER_ACCELERATED != 0,
"vsync" : rinfo.flags & SDL_RENDERER_PRESENTVSYNC != 0,
"rtt" : rinfo.flags & SDL_RENDERER_TARGETTEXTURE != 0, #<---- HERE ---
"max_texture_width" : rinfo.max_texture_width,
"max_texture_height" : rinfo.max_texture_height,
}
But I am not clear if it has actually been implemented in the module.
Is there a way to do texture->texture renders via pygame_sdl2.render?
Thanks!
The text was updated successfully, but these errors were encountered: