Code Monkey home page Code Monkey logo

Comments (5)

delahee avatar delahee commented on September 26, 2024

I done the android one :

the sdl one is not templatable and requires a sample count reworking : https://github.com/haxenme/nme/blob/8a74c9cb2031b292f1b6a1fa41c05812ff25621c/project/src/sdl2/SDL2Stage.cpp
https://github.com/haxenme/nme/blob/0234b337df13a7aa9f209a6b6db490873ec1c2ba/project/src/sdl/SDLStage.cpp

Can you do it please ?

from nme.

jgranick avatar jgranick commented on September 26, 2024

There might be smarter ways to describe this, but currently "antialiasing=1" is no anti-aliasing. A value of "2" represents 2x2 anti-aliasing, and a value of "4" represents 4x4 anti-aliasing

from nme.

delahee avatar delahee commented on September 26, 2024

I understand...I don't want to do anti aliasing... 1x1 sample buffer is only useful to experts (but yeah alphatest is powerful...) but disjoining the semantics will just pain you for very small case, So I advise you just put up with antialiasing=1 being valid and generating one sample buffer :)

if you want to take the hard path, you can disjoint antialiasing and number of samples but really you'll just pain yourself for barely existent use cases :)

more easily maybe you should just expose all the configuration api to haxe user space or template user space :)

from nme.

hughsando avatar hughsando commented on September 26, 2024

Does the merge of you PR solve this for you?

from nme.

delahee avatar delahee commented on September 26, 2024

Yep thanks.

from nme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.