docs: Document sampler view entry points.
This commit is contained in:
@@ -39,10 +39,24 @@ buffers, surfaces) are bound to the driver.
|
|||||||
are mostly restricted to the first one right now).
|
are mostly restricted to the first one right now).
|
||||||
|
|
||||||
* ``set_framebuffer_state``
|
* ``set_framebuffer_state``
|
||||||
* ``set_fragment_sampler_views``
|
|
||||||
* ``set_vertex_sampler_views``
|
* ``set_fragment_sampler_views`` binds an array of sampler views to
|
||||||
* ``create_sampler_view``
|
fragment shader stage. Every binding point acquires a reference
|
||||||
* ``sampler_view_destroy``
|
to a respective sampler view and releases a reference to the previous
|
||||||
|
sampler view.
|
||||||
|
|
||||||
|
* ``set_vertex_sampler_views`` binds an array of sampler views to vertex
|
||||||
|
shader stage. Every binding point acquires a reference to a respective
|
||||||
|
sampler view and releases a reference to the previous sampler view.
|
||||||
|
|
||||||
|
* ``create_sampler_view`` creates a new sampler view. texture is associated
|
||||||
|
with the sampler view which results in sampler view holding a reference
|
||||||
|
to the texture. Format specified in template must be compatible
|
||||||
|
with texture format.
|
||||||
|
|
||||||
|
* ``sampler_view_destroy`` destroys a sampler view and releases its reference
|
||||||
|
to associated texture.
|
||||||
|
|
||||||
* ``set_vertex_buffers``
|
* ``set_vertex_buffers``
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user