package brr
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Render_pass.EncoderSource
Encoders.
Encoders
The type for GPURenderPassEncoder objects.
Setup commands
set_pipline e p sets the pipeline of e to p for subsequent commands.
Source
val set_viewport :
t ->
x:float ->
y:float ->
w:float ->
h:float ->
min_depth:float ->
max_depth:float ->
unitset_viewport sets the viewport.
set_scissor_rect sets the scissor rectangle.
set_blend_constant sets the blend color constant.
Source
val set_bind_group :
?dynamic_offsets:int list ->
?group:Bind_group.t ->
t ->
index:int ->
unitset_bind_group sets a bind group for subsequent commands.
Source
val set_bind_group' :
?group:Bind_group.t ->
t ->
index:int ->
dynamic_offsets:int array ->
offsets_start:int ->
offsets_length:int ->
unitSource
val set_index_buffer :
?offset:int ->
?size:int ->
t ->
Buffer.t ->
format:Index_format.t ->
unitset_index_buffer sets the index data for subsequent commands.
set_index_buffer sets sets the vertex data for subsequent commands.
Bundle and draw commands
execute_bundles e bs executes bundles bs on e.
Source
val draw :
?first_instance:int ->
?first_vertex:int ->
?instance_count:int ->
t ->
vertex_count:int ->
unitdraw draws primitives.
Source
val draw_indexed :
?first_instance:int ->
?base_vertex:int ->
?first_index:int ->
?instance_count:int ->
t ->
index_count:int ->
unitdraw_indexed draws indexed primitives.
draw_indexed_indirect draws indexed primitives.
Debug commands
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page