Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.
1
vote
2
answers
532
views
Updating children nodes in a game engine
I am writing my own small game engine (thin layer based on SDL2) in C++. My base class is Node (contains information on an entity's position, scale, rotation, etc.), And I've got two special subclasse …
0
votes
2
answers
978
views
Setting object-specific uniforms in a render queue
I am currently trying to write a (very simple) queued renderer using OpenGL. My current idea looks like this:
struct RenderCommand {
GLUint vao;
GLUint texture;
GLUint shader;
GLIn …
9
votes
Accepted
Rescale pixel art scenery before rendering in SDL2
In SDL 2, you must set the scaling interpolation algorithm for the whole renderer, using
SDL_SetHint (SDL_HINT_RENDER_SCALE_QUALITY, Value);
where Value should be, in your case (pixel art) 0. 1 mea …