45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
vkCreateSampler(3)
|
|
==================
|
|
|
|
Name
|
|
----
|
|
vkCreateSampler - Create a new sampler object
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
include::../protos/vkCreateSampler.txt[]
|
|
|
|
Parameters
|
|
----------
|
|
|
|
pname:device::
|
|
The device used to create the sampler object.
|
|
|
|
pname:pCreateInfo::
|
|
A pointer to a structure containing the parameters used to construct the sampler.
|
|
|
|
pname:pSampler::
|
|
A pointer to a variable which will receive the handle to the new sampler object.
|
|
|
|
Description
|
|
-----------
|
|
|
|
fname:vkCreateSampler creates a new sampler object using the device specified in
|
|
pname:device and places the resulting handle in the variable whose address is given
|
|
by pname:pSampler. pname:pCreateInfo is an instance of the slink:VkSamplerCreateInfo
|
|
structure whose definition is:
|
|
|
|
include::../structs/VkSamplerCreateInfo.txt[]
|
|
|
|
The resulting sampler object should be destroyed with a call to flink:vkDestroySampler.
|
|
|
|
include::../validity/protos/vkCreateSampler.txt[]
|
|
|
|
See Also
|
|
--------
|
|
|
|
flink:vkDestroySampler, flink:vkCreateImage
|
|
|
|
include::footer.txt[]
|