Vulkan-Docs/doc/specs/vulkan/man/vkCreateSampler.txt

59 lines
1.4 KiB
Plaintext

// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
vkCreateSampler(3)
==================
Name
----
vkCreateSampler - Create a new sampler object
C Specification
---------------
// refBegin vkCreateSampler Create a new sampler object
To create a sampler object, call:
include::../protos/vkCreateSampler.txt[]
Parameters
----------
* pname:device is the logical device that creates the sampler.
* pname:pCreateInfo is a pointer to an instance of the
slink:VkSamplerCreateInfo structure specifying the state of the sampler
object.
* pname:pAllocator controls host memory allocation as described in the
<<memory-allocation, Memory Allocation>> chapter.
* pname:pSampler points to a sname:VkSampler handle in which the resulting
sampler object is returned.
Description
-----------
include::../validity/protos/vkCreateSampler.txt[]
See Also
--------
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkSampler, slink:VkSamplerCreateInfo
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateSampler
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]