Please login or register.

Login with username, password and session length
Pages: 1 2 [3] 4 5 ... 10
 on: May 20, 2017, 03:30:54 
Started by smokethepot - Last post by smokethepot
Hello! I was trying to learn how to display textures on the screen with the help of Slick-Utils library but I was consistently getting a NoSuchMethodException. I looked for an answer on the web as to why was this happening and got the answer that Slick-Utils is outdated and isn't compatible with LWJGL 3 anymore. Is it true?

Then I thought of making my own texture class. Can anyone give me any examples/pseudocode for this if possible?

 on: May 19, 2017, 07:18:55 
Started by bcbradle - Last post by spasi
First of all, vkCmdExecuteCommands is used to record secondary command buffers to execute as part of a primary command buffer. This is fairly advanced functionality, but if it's indeed what you want to do:

Code: [Select]
try (MemoryStack stack = stackPush()) {
    PointerBuffer secondaryCmdBuffers = stack.mallocPointer(count);

    // Fill secondaryCmdBuffers with command buffer handles.
    // You can simply use secondaryCmdBuffers.put(i, cmd_buffer_instance);

    vkCmdExecuteCommands(primaryCmdBuffer, secondaryCmdBuffers);

 on: May 19, 2017, 07:09:24 
Started by bcbradle - Last post by spasi
Also, a tip: The LWJGL javadoc is generated using jdk9, which adds search functionality. You can visit https://javadoc.lwjgl.org/ and use the search field to find the API you're looking for.

 on: May 19, 2017, 07:05:40 
Started by bcbradle - Last post by spasi
From the VkSamplerCreateInfo javadoc:

SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE indicates that the mirror clamp to edge wrap mode will be used. This is only valid if the VK_KHR_mirror_clamp_to_edge extension is enabled.

You will find VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE in KHRSamplerMirrorClampToEdge. You must explicitly enable the VK_KHR_sampler_mirror_clamp_to_edge extension to use it.

 on: May 19, 2017, 03:27:24 
Started by bcbradle - Last post by darkyellow
Have a look at the demo suite for some examples


 on: May 19, 2017, 02:35:09 
Started by bcbradle - Last post by bcbradle
Its a PointerBuffer, and yet the idiomatic way to use vulkan's VkCommandBuffer is with a VkCommandBuffer object. How do I derive a PointerBuffer from a collection of VkCommandBuffer objects?

 on: May 19, 2017, 01:02:51 
Started by bcbradle - Last post by bcbradle

I don't see it here


 on: May 18, 2017, 19:15:11 
Started by Zin - Last post by kappa
have a read of this thread which answers pretty much the same question.

 on: May 18, 2017, 19:10:03 
Started by Zin - Last post by Zin
Hi I have trouble finding out how to get the old Mouse.getDX(); and Mouse.getDY(); from lwjgl 2 in lwjgl 3
anyone who can help?

 on: May 17, 2017, 20:00:14 
Started by mudlee - Last post by mudlee
I can confirm, that the latest update solved the problem!

Pages: 1 2 [3] 4 5 ... 10