![]() ![]() Or may not appear depending if the drivers enforce some default value for gl_PointSize. If this value is not set in the shader the behavior is undefined. When enabled we can write to gl_PointSize in the vertex shader to specify the point size PROGRAM_POINT_SIZE = 16 #Įnables gl_PointSize in vertex or geometry shaders. ![]() RASTERIZER_DISCARD = 8 #Įnable/disable rasterization ntext. CULL_FACE = 4 #Įnable/disable face culling ntext. DEPTH_TEST = 2 #Įnable/disable depth testing ntext. BLEND = 1 #Įnable/disable blending ntext. Can be used with Context.enable_only() to disable all states. Some may be listed in their original sub-module,īut they are imported during initialization. Toggle table of contents sidebar moderngl # Attributes #Īttributes available in the root moderngl module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |