sokol-d ~master (2024-11-07T19:02:21.1867002)
Dub
Repo
GlBufferInfo
sokol
gfx
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (
C
)
struct
GlBufferInfo {
uint
[
2
]
buf
;
int
active_slot
;
}
Members
Variables
active_slot
int
active_slot
;
Undocumented in source.
buf
uint
[
2
]
buf
;
Undocumented in source.
Meta
Source
See Implementation
sokol
gfx
enums
Backend
BlendFactor
BlendOp
BorderColor
BufferType
ColorMask
CompareFunc
CubeFace
CullMode
FaceWinding
Filter
ImageSampleType
ImageType
IndexType
LoadAction
LogItem
PixelFormat
PrimitiveType
ResourceState
SamplerType
ShaderStage
StencilOp
StoreAction
UniformLayout
UniformType
Usage
VertexFormat
VertexStep
Wrap
functions
addCommitListener
appendBuffer
applyBindings
applyPipeline
applyScissorRect
applyScissorRectf
applyUniforms
applyViewport
applyViewportf
beginPass
commit
destroyAttachments
destroyBuffer
destroyImage
destroyPipeline
destroySampler
destroyShader
draw
endPass
installTraceHooks
isvalid
makeAttachments
makeBuffer
makeImage
makePipeline
makeSampler
makeShader
popDebugGroup
pushDebugGroup
queryAttachmentsDesc
queryAttachmentsInfo
queryAttachmentsState
queryBackend
queryBufferDefaults
queryBufferDesc
queryBufferInfo
queryBufferOverflow
queryBufferState
queryBufferWillOverflow
queryDesc
queryFeatures
queryImageDefaults
queryImageDesc
queryImageInfo
queryImageState
queryLimits
queryPipelineDefaults
queryPipelineDesc
queryPipelineInfo
queryPipelineState
queryPixelformat
queryRowPitch
querySamplerDefaults
querySamplerDesc
querySamplerInfo
querySamplerState
queryShaderDefaults
queryShaderDesc
queryShaderInfo
queryShaderState
querySurfacePitch
removeCommitListener
resetStateCache
setup
sg_add_commit_listener
sg_append_buffer
sg_apply_bindings
sg_apply_pipeline
sg_apply_scissor_rect
sg_apply_scissor_rectf
sg_apply_uniforms
sg_apply_viewport
sg_apply_viewportf
sg_begin_pass
sg_commit
sg_destroy_attachments
sg_destroy_buffer
sg_destroy_image
sg_destroy_pipeline
sg_destroy_sampler
sg_destroy_shader
sg_draw
sg_end_pass
sg_install_trace_hooks
sg_isvalid
sg_make_attachments
sg_make_buffer
sg_make_image
sg_make_pipeline
sg_make_sampler
sg_make_shader
sg_pop_debug_group
sg_push_debug_group
sg_query_attachments_defaults
sg_query_attachments_desc
sg_query_attachments_info
sg_query_attachments_state
sg_query_backend
sg_query_buffer_defaults
sg_query_buffer_desc
sg_query_buffer_info
sg_query_buffer_overflow
sg_query_buffer_state
sg_query_buffer_will_overflow
sg_query_desc
sg_query_features
sg_query_image_defaults
sg_query_image_desc
sg_query_image_info
sg_query_image_state
sg_query_limits
sg_query_pipeline_defaults
sg_query_pipeline_desc
sg_query_pipeline_info
sg_query_pipeline_state
sg_query_pixelformat
sg_query_row_pitch
sg_query_sampler_defaults
sg_query_sampler_desc
sg_query_sampler_info
sg_query_sampler_state
sg_query_shader_defaults
sg_query_shader_desc
sg_query_shader_info
sg_query_shader_state
sg_query_surface_pitch
sg_remove_commit_listener
sg_reset_state_cache
sg_setup
sg_shutdown
sg_update_buffer
sg_update_image
shutdown
updateBuffer
updateImage
manifest constants
invalid_id
max_color_attachments
max_image_bindslots
max_image_sampler_pairs
max_mipmaps
max_sampler_bindslots
max_storagebuffer_bindslots
max_texturearray_layers
max_uniformblock_bindslots
max_uniformblock_members
max_vertex_attributes
max_vertexbuffer_bindslots
num_inflight_frames
structs
Allocator
AttachmentDesc
Attachments
AttachmentsDesc
AttachmentsInfo
Bindings
BlendState
Buffer
BufferDesc
BufferInfo
Color
ColorAttachmentAction
ColorTargetState
CommitListener
D3d11Environment
D3d11Swapchain
DepthAttachmentAction
DepthState
Desc
Environment
EnvironmentDefaults
Features
FrameStats
FrameStatsD3d11
FrameStatsD3d11Bindings
FrameStatsD3d11Draw
FrameStatsD3d11Pass
FrameStatsD3d11Pipeline
FrameStatsD3d11Uniforms
FrameStatsGl
FrameStatsMetal
FrameStatsMetalBindings
FrameStatsMetalIdpool
FrameStatsMetalPipeline
FrameStatsMetalUniforms
FrameStatsWgpu
FrameStatsWgpuBindings
FrameStatsWgpuUniforms
GlSwapchain
GlslShaderUniform
Image
ImageData
ImageDesc
ImageInfo
Limits
Logger
MetalEnvironment
MetalSwapchain
Pass
PassAction
Pipeline
PipelineDesc
PipelineInfo
PixelformatInfo
Range
Sampler
SamplerDesc
SamplerInfo
Shader
ShaderDesc
ShaderFunction
ShaderImage
ShaderImageSamplerPair
ShaderInfo
ShaderSampler
ShaderStorageBuffer
ShaderUniformBlock
ShaderVertexAttr
SlotInfo
StencilAttachmentAction
StencilFaceState
StencilState
Swapchain
TraceHooks
VertexAttrState
VertexBufferLayoutState
VertexLayoutState
WgpuEnvironment
WgpuSwapchain