Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
LoadFromPixels?
Print
Pages: [
1
]
Author
Topic: LoadFromPixels? (Read 1811 times)
0 Members and 1 Guest are viewing this topic.
WitchD0ctor
Full Member
Posts: 100
LoadFromPixels?
«
on:
August 11, 2011, 12:26:06 pm »
What happened to it? I can't seem to find it in the new sf::Texture and sf::Image Classes.
Am I missing something?
I am trying to upgrade my project to the newer sfml2 from the git and
My Theora Video loader heavily relies on that method
Logged
John Carmack can Divide by zer0.
Laurent
Administrator
Hero Member
Posts: 32498
LoadFromPixels?
«
Reply #1 on:
August 11, 2011, 12:56:19 pm »
In sf::Image it was renamed to Create(width, height, pixels).
In sf::Texture you don't need it anymore. Read the main documentation of the class, there is an example for streaming real-time data such as a video.[/code]
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
LoadFromPixels?
anything