Pages Navigation Menu

SHOWFUN - Show & Fun & More!

New World instance builder

Posted on 01/03 13:16 in More | 0

Ended up using the Builder pattern to create an additional mutable object that held all the data the World needed, which implemented a "build" step that created your immutable World instance.The obtained World instance is immutable, ie, you cant add/remove observers, nor set the 'data' field, which brings me to.

Read More

Adding MSAA and stream output support -

Posted on 02/05 02:21 in More | 0

The StreamOutputConfig class is a wrapper around D3D12_STREAM_OUTPUT_DESC that adds validation when setting the various fields and computes the stride in bytes for each output stream.So the code for creating the resource is:Next the stream output buffer view needs to be created.

Read More